well i would like to make a war game where u take turns and its on a grid, so u move however many squares in the grid. I just wanna see if anyone has an idea about randomizing the map. like each little grid get randmized where some might have grass some water some trees etc. i had an idea where a variable goes to a random number and goes down until 0 (like -1 every 0.05 seconds) and somehow each little grid sprite reads that and randomizes. Any ideas? if you can even understand me....
Offline
Just make each have a costume, and when whatever clicked switch to costume random
[blocks]<when green flag clicked>[/blocks]
[blocks]<switch to costume[ <pick random( whatever )to( whatever[/blocks]
Offline
yeah i guess that'll work! thanks!!!
Offline
Bluestribute wrote:
Just make each have a costume, and when whatever clicked switch to costume random
That would take a lot of sprites, depending on how fine the grid is. Another approach would be to use one sprite with a number of costumes and then move the sprite to each square in the grid, pick a random costume and stamp it.
Offline
Have a look at axu's project:
http://scratch.mit.edu/projects/axu/28142
Offline