This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-08-01 10:10:47

DeamonGEnius
New Scratcher
Registered: 2012-08-01
Posts: 2

need help for school project PAT

Hi I am in need for help my project say we must make the board game clude in to a pc verion.

I cant get it working when the dice rolls then lets say u are able to move 6 times
but 13 steps is one block. how can i make it so that if they roll 1 to 6 they can deside where to move on whitch blocks?

Offline

 

#2 2012-08-01 10:17:11

DeamonGEnius
New Scratcher
Registered: 2012-08-01
Posts: 2

Re: need help for school project PAT

HEr is my project so far if someone just can help me plz
http://scratch.mit.edu/projects/DeamonGEnius/2707910

Offline

 

#3 2012-08-01 12:18:58

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: need help for school project PAT

Here's what I think you want:

 
when [dice] clicked
set [roll v] to (pick random (1) to (6))
switch to costume (roll) //Dice sprite should have 6 costumes for each side
broadcast [move v]
And on the moving sprite:
 
when I receive [move v]
move ((roll) * (13)) steps
Hope that helps.  smile

600th post!!!!  big_smile  big_smile  big_smile


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

Board footer