TRocket wrote:
Lucy19333 wrote:
Hi former scratchers...
I am making a game and I need some programming to help me calculate the score of how many mice the elephant eats...
PLEASE REPLY...
LUCY19333i think this belongs in all about scratch...
Or 'New Scratchers' even...
Offline
jji7skyline wrote:
TRocket wrote:
Lucy19333 wrote:
Hi former scratchers...
I am making a game and I need some programming to help me calculate the score of how many mice the elephant eats...
PLEASE REPLY...
LUCY19333i think this belongs in all about scratch...
Or 'New Scratchers' even...
Could be either, but let's try in "All About Scratch" first as that's the universal place for scripting help.
Offline
You could use a script such as
<when green flag clicked>
<forever>
<if><touching[ elephant ]>
<change{ score }by( 1 )>
<hide>
<end>
<end>
as the script for the mouse
Last edited by RUMCHEERYPOOPOO (2011-07-27 05:40:04)
Offline
So, like this?
Create a varible called score.
Mice
[blocks]
When flag clicked
forever if <touching elephant>[
hide
increase score by 1
]
[/blocks]
So if the mice is touching the elephant, it hides, then increases your score by one.
Last edited by Stickman704 (2011-07-27 05:43:40)
Offline
you've explained your better I live in the advanced topics section...
err and now you've deleted yours
Last edited by RUMCHEERYPOOPOO (2011-07-27 05:41:43)
Offline
Well, yeah, your way is easier.
(60 snd rule...)
Offline
Lucy19333 wrote:
Hi former scratchers...
I am making a game and I need some programming to help me calculate the score of how many mice the elephant eats...
PLEASE REPLY...
LUCY19333
Former? How are you going to contact former Scratchers?
Offline