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

#1 2013-04-24 16:06:57

lehernan
New Scratcher
Registered: 2013-04-21
Posts: 7

Help with math game

Hello Everyone,
   I was wondering if you could all help me with a project I am working on. Many of the games follow the concept of being underwater and the gamer being a fish that is catching shells. I want to take it a step further and make the game mathematical where they will be searching for the appropriate shell that is the answer to the math equation. I need help developing the script. Something along the lines of this game is what I am working on, but i need assistance on making it math base
Thanks
http://scratch.mit.edu/projects/lisi97/1954043

Offline

 

#2 2013-04-24 19:11:52

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: Help with math game

Alright, but what do you mean by selecting the appropriate shell according to the math equation; is the player supposed to catch a certain color or a certain number of the shells?

Offline

 

#3 2013-04-25 18:04:12

cauzality
New Scratcher
Registered: 2013-03-19
Posts: 44

Re: Help with math game

there are many different ways to do something like that - i'm not entirely sure what you're looking for/if i can help, but...
if the shell has the number on it, you wont have to do any math with scratch. you'll just know which shell is the right one and which are wrong. if it's correct, then use something like (for the shell's script)

when gf clicked
forever
if <touching [fish v]?>
   broadcast [correct v]
end
otherwise,
when gf clicked
forever
if <touching [fish v]?>
   broadcast [incorrect v]
   hide
end

Offline

 

#4 2013-04-25 19:42:55

ethwok
Scratcher
Registered: 2012-09-10
Posts: 100+

Re: Help with math game

Further from what cauzality said, then have a script saying- When I receive "incorrect", lose life(or something). When I receive "correct", (do whatever would happen next)


http://displaypicks.com/wp-content/uploads/2013/01/Animals-12.jpg
I AM ETHWOK

Offline

 

Board footer