This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » New Scratchers
  •  » plz im still pretty new to scratch can anyone help me? ..^^.. (URGENT)

#1 2011-09-21 05:13:00

jebis
New Scratcher
Registered: 2011-08-09
Posts: 9

plz im still pretty new to scratch can anyone help me? ..^^.. (URGENT)

Background information if you are wondering what this is about...
I have to make a game for my assignment at school and im not sure on how to go about this because im new to this.

I would like to make a game for my little cousin to help him with his school work, called build the castle. He wants it to be about building a castle to the very top e.g. 6 square blocks stacked to make a pyramid trangle shaped castle.

however there are number equations inside the blocks e.g. (10 divided by 2).

Questions
******How do I make scratch  bring up a text box to type the answer in and if the answer is right add a point to varible +1 to :*(Score) I made?******

******Also if it isn't too much trouble how do you make it if the answer is wrong (i.e. number other than the set answer) restart the entire game?

I would be very happy and it would make my day if anyone can offer some solutions to this problem i have.
Thanks Jebis

ill post more questions later about the game development, but for now I just need to solve this

Offline

 

#2 2011-09-21 16:17:02

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

Re: plz im still pretty new to scratch can anyone help me? ..^^.. (URGENT)

ask (What is the answer?) and wait
If < ((answer)) = (//This is where you would put the correct answer\\) >
  change variable [score] by (1)
Else
  Stop All
{End of If Else}

Hopefully that was understandable.

Also, this should go in All About Scratch

Last edited by laptop97 (2011-09-21 16:17:22)

Offline

 

#3 2011-09-22 04:26:37

jebis
New Scratcher
Registered: 2011-08-09
Posts: 9

Re: plz im still pretty new to scratch can anyone help me? ..^^.. (URGENT)

omg thanks heaps ill try it now.

Offline

 

#4 2011-09-23 18:37:41

Daroach1
Scratcher
Registered: 2011-09-11
Posts: 1000+

Re: plz im still pretty new to scratch can anyone help me? ..^^.. (URGENT)

use this: (the following link has been removed do to laziness so please click username to find it) I added music and a perfectly working base


http://i47.tinypic.com/v83mhl.png

Offline

 

#5 2011-09-23 19:51:09

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: plz im still pretty new to scratch can anyone help me? ..^^.. (URGENT)

Did it work? If not, I can help you.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&amp;link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&amp;link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#6 2011-09-23 20:17:55

12321a2
Scratcher
Registered: 2011-07-15
Posts: 100+

Re: plz im still pretty new to scratch can anyone help me? ..^^.. (URGENT)

Replace every Flag block with a broadcast block so when you do the wrong thing everything restarts.


"How hard is it for a muppet to get a latte around here?"
http://dhpfwxad8l74j.cloudfront.net/wp-content/uploads/2011/11/animalmuppet.jpg

Offline

 
  • Index
  •  » New Scratchers
  •  » plz im still pretty new to scratch can anyone help me? ..^^.. (URGENT)

Board footer