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

#1 2013-03-23 14:25:12

Lei95
New Scratcher
Registered: 2013-03-23
Posts: 1

How do i make enemies gradually go faster?

I have a game where balls fall from the sky and you have to shoot them but I want the balls to fall faster and faster. How will I execute this?

Here are my workings...

http://imgur.com/q6o5Csc

Offline

 

#2 2013-03-23 16:27:18

Harald
New Scratcher
Registered: 2013-03-05
Posts: 34

Re: How do i make enemies gradually go faster?

When I receive [Start Game v]
reset timer
forever
set [Falling Speed v] to (((Timer) / [100]) + [2])
You can use your own numbers get the speed you want. Here it gets faster the longer you play. You can switch out the Timer with your Score variable to let that determine the speed.

Offline

 

#3 2013-03-24 09:47:34

kieran1000
Scratcher
Registered: 2013-02-06
Posts: 43

Re: How do i make enemies gradually go faster?

[scratchblocks]
when gf clicked
forever
    wait (1) secs
    change [falling speed v] by 1
end

Offline

 

#4 2013-03-24 09:49:35

kieran1000
Scratcher
Registered: 2013-02-06
Posts: 43

Re: How do i make enemies gradually go faster?

when gf clicked
forever
    wait (1) secs
    change [falling speed v] by 1
end

Offline

 

Board footer