Hey guys! I've made a scratch game
http://scratch.mit.edu/projects/Pitazzix/867330
but as you can see there is only one set difficulty, I know i'm going to need a variable to make 3 different difficulties (easy, normal, hard) but i just cant work out how to do it. Please can you help me because i've been at it for hours now!
Thanks!
Offline
Make sure that the variable is like,
When "Difficulty_hard" clicked:
set difficulty to 3
When "Difficulty_med" clicked:
set difficulty to 2
When "difficulty_easy" clicked:
set difficulty to 1
And change the speed of stuff to like,
set speed to difficulty * base_speed
or something like that..
Offline
This is how I would do it:
[blocks] <when green flag clicked>
<if> <( <{ difficulty }> <=> 3 )>
<broadcast[ Really Hard]
<stop script> [/blocks]
[blocks] <when I receive[ Really Hard]
<switch to costume[ Hard ]<stop script> [/blocks]
I would have set it so if the player touches red, they get hurt. And the different costumes would have different amounts of red.
Offline