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

#1 2013-04-20 12:51:12

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Please Help Making A Coin Counting Game

Hi,
I have a project to do at the moment. I am new to Scratch

For it I am trying to make a game to help little children practice coin values.

I am finding it very hard!!

What I need help with is to know if it is possible to....

1) If the Piggy Bank is one sprite and the coin is another. How can the coin recognise is is been put inside the piggy bank?

I'm trying to set my project so that there will be a challenge at each scene. e.g: put 3 cent in the piggy bank and player has to pick the right coin.

2) Put a counter on top that gives them a point every time they get a coin in the bank.

Please help I'm lost!!

Offline

 

#2 2013-04-20 13:21:30

Tohmis
Scratcher
Registered: 2013-02-18
Posts: 58

Re: Please Help Making A Coin Counting Game

1) Yes if you use the touch block
2)you need variables to count

Could you upload your project you have now? This would help me, to help you because I would know what you know and what you have yet.
I like the Idea so I realy want to help  smile


Check out my new game
http://scratch.mit.edu/static/projects/Tohmis/3300878_sm.png

Offline

 

#3 2013-04-20 13:29:56

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Please Help Making A Coin Counting Game

Thanks so much Tohmis, I am really clueless at this stage. Your help would be much appreciated.

I just have the idea.

All I really have at the moment is rough sprites and I was trying to make sure I could definitely use them. (A piggy bank and cent coin!)

I will just try and put introduction and a bit of background to the project on it and then upload it tonight or tomorrow morning so you can have a look at it.

I will message you then.

Again, I really appreciate your help.

Offline

 

#4 2013-04-20 13:34:09

Tohmis
Scratcher
Registered: 2013-02-18
Posts: 58

Re: Please Help Making A Coin Counting Game

Ok.


Check out my new game
http://scratch.mit.edu/static/projects/Tohmis/3300878_sm.png

Offline

 

#5 2013-04-20 13:35:26

Tohmis
Scratcher
Registered: 2013-02-18
Posts: 58

Re: Please Help Making A Coin Counting Game

Do you have eany scripts now?

Last edited by Tohmis (2013-04-20 13:35:48)


Check out my new game
http://scratch.mit.edu/static/projects/Tohmis/3300878_sm.png

Offline

 

#6 2013-04-20 13:50:55

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Please Help Making A Coin Counting Game

Yeah I just have a coin and a piggy bank.

Should I upload it now? (Even though it's not much to look at!)

Offline

 

#7 2013-04-20 13:53:22

Tohmis
Scratcher
Registered: 2013-02-18
Posts: 58

Re: Please Help Making A Coin Counting Game

Yea please

I'll look at it in about 30 minutes

Last edited by Tohmis (2013-04-20 13:54:00)


Check out my new game
http://scratch.mit.edu/static/projects/Tohmis/3300878_sm.png

Offline

 

#8 2013-04-20 14:04:17

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Please Help Making A Coin Counting Game

Thanks.

Here is the link: http://scratch.mit.edu/projects/jevks/3278607

As you can see it is in very early stages

Offline

 

#9 2013-04-20 15:42:05

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Please Help Making A Coin Counting Game

Hi I have been trying to use the touching block to get the variables working. I am having no luck. Do you see anything wrong in my code?

Offline

 

#10 2013-04-20 17:36:01

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Please Help Making A Coin Counting Game

Sorry everyone,  lots of questions today!! I am just starting out with Scratch.

http://scratch.mit.edu/projects/jevks/3278607

Does anyone know can I make my sprites movable?? As in move the coins to put them in the piggy bank.

Offline

 

#11 2013-04-20 17:41:14

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Please Help Making A Coin Counting Game

Thanks for all your help Tohmis.

Sorry for the bunch of questions!

Offline

 

#12 2013-04-20 17:43:16

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Please Help Making A Coin Counting Game

jevks wrote:

Hi I have been trying to use the touching block to get the variables working. I am having no luck. Do you see anything wrong in my code?

Yes, I do. You're using the right idea, except you're going to keep on adding points, and more points, after you get that first coin in. Before I move on and fix it, do you want points counted for incorrect coins?

As for the bunch of questions, it's okay. It just shows that you're curious, which is always something nice.

With regards,

ErnieParke


http://i46.tinypic.com/35ismmc.png

Offline

 

#13 2013-04-20 17:44:52

Tohmis
Scratcher
Registered: 2013-02-18
Posts: 58

Re: Please Help Making A Coin Counting Game

Like this?

When gf clicked
glide (1) secs to x:(0) y:(40)

Last edited by Tohmis (2013-04-20 17:45:41)


Check out my new game
http://scratch.mit.edu/static/projects/Tohmis/3300878_sm.png

Offline

 

#14 2013-04-20 17:48:37

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Please Help Making A Coin Counting Game

Thanks to both of you.

No I don't want the points counted for the wrong answer, just that it pops back into it's previous place. So one point for getting it right. I hope then to make more questions for the next scene

Offline

 

#15 2013-04-20 17:56:32

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Please Help Making A Coin Counting Game

jevks wrote:

Thanks to both of you.

No I don't want the points counted for the wrong answer, just that it pops back into it's previous place. So one point for getting it right. I hope then to make more questions for the next scene

Okay, so my original guess was correct. Well, I've decided to edit your project a tiny bit and fix some issues. If you ever want to look, it's here:

http://scratch.mit.edu/projects/ErnieParke/3279052

With regards,

ErnieParke


http://i46.tinypic.com/35ismmc.png

Offline

 

#16 2013-04-20 17:59:05

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Please Help Making A Coin Counting Game

Thanks. Thats great. I'm going to try make a few more scenes tomorrow so them scripts will come in useful  smile

Offline

 

Board footer