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

#1 2013-02-08 06:40:02

antunesmaria
New Scratcher
Registered: 2013-02-02
Posts: 1

Generate random levels

Hi, I'm making a simple game of matching shapes... I want to randomize de shape and when the correct answer is provided generate a new shape.

- I created a variable random the number
- Broadcast a "shape" according to the random number provided
- The shape shows up correctly
- When the correct key is pressed shape say "that's right" when the wrong key is presses the shape says "try again"

- When the correct key is pressed the game should restant with the variable randomizer, but when I broadcast that event nothing happens... and if I keep pressing keys eventually the shape changes but a bug happens...

- Do you know a better way to generate random levels?
- Do you know what I'm doing wrong?


Thanks  smile

Offline

 

#2 2013-02-08 10:44:14

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: Generate random levels

upload your project then come back and post a link to it


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

Board footer