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

#1 2011-07-27 02:05:32

Lucy19333
New Scratcher
Registered: 2011-07-27
Posts: 1

Hi...

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

Offline

 

#2 2011-07-27 02:13:40

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Hi...

i don't think this post belongs in advanced topics


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#3 2011-07-27 02:15:37

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Hi...

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

i think this belongs in all about scratch...


http://i.imgur.com/1QqnHxQ.png

Offline

 

#4 2011-07-27 02:55:05

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Hi...

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...
LUCY19333

i think this belongs in all about scratch...

Or 'New Scratchers' even...  tongue


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#5 2011-07-27 03:10:03

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Hi...

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...
LUCY19333

i think this belongs in all about scratch...

Or 'New Scratchers' even...  tongue

Could be either, but let's try in "All About Scratch" first as that's the universal place for scripting help.  smile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#6 2011-07-27 05:39:00

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: Hi...

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)


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#7 2011-07-27 05:39:35

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: Hi...

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)


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#8 2011-07-27 05:41:11

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: Hi...

you've explained your better  smile  I live in the advanced topics section...

err and now you've deleted yours

Last edited by RUMCHEERYPOOPOO (2011-07-27 05:41:43)


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#9 2011-07-27 05:42:40

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: Hi...

Well, yeah, your way is easier.  big_smile

(60 snd rule...)


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#10 2011-07-27 09:09:30

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Hi...

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?


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

Board footer