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

#1 2011-08-09 04:49:57

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

Scratch game design problem

my variable called points increses tooo quickly, when one sprite touches the other.....

Offline

 

#2 2011-08-09 05:02:05

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

Re: Scratch game design problem

how do i make it so that the variable called points, still increases when 2 sprites touch but more slowly. so the game doesnt end quickly

Offline

 

#3 2011-08-09 07:11:05

phnhatquang
Scratcher
Registered: 2010-04-05
Posts: 21

Re: Scratch game design problem

When I'm doing my project and then the numbers and letters disappear but the character still

Offline

 

#4 2011-08-09 07:17:38

EdnaC
Scratcher
Registered: 2007-08-28
Posts: 100+

Re: Scratch game design problem

You'll need to describe how you are increasing the variable, or post the project (upload it) to get help.

Offline

 

#5 2011-08-09 10:14:30

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

Re: Scratch game design problem

jebis wrote:

how do i make it so that the variable called points, still increases when 2 sprites touch but more slowly. so the game doesnt end quickly

Sprite 1 Script

Start
Forever If <Toughing[Sprite2]>
  Repeat Until <Not<Touching[Sprite2]>
   Change [points] By (1)
    Wait .5 Seconds

Last edited by laptop97 (2011-08-09 10:14:52)

Offline

 

#6 2011-08-09 13:02:40

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Scratch game design problem

If you want the points to increase only once, use:

[blocks]
<when green flag clicked>
<forever if><touching[ Sprite2
<change{ points  }by( 1
<wait until><not> <touching[ Sprite2  >>
<end>
[/blocks]


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#7 2011-08-11 17:35:11

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

Re: Scratch game design problem

Thanks sooo much this solved the problem ^.^- sorry l8 response

Offline

 

Board footer