Discuss Scratch

33mulvihillhj
Scratcher
4 posts

speeding up overtime

I am making a game where it gets harder over time but I don't no how to do it because I am new so can you help me ples
Scratchybear22
Scratcher
100+ posts

speeding up overtime

This is the “New scratchers” forum, not the “help with scripts forum”.

I am going to report your post to be moved to that forum, have a nice day!
33mulvihillhj
Scratcher
4 posts

speeding up overtime

sorry
can you just help
happywaffle0
Scratcher
100+ posts

speeding up overtime

Could you give more info and possibly share the project and put it here so we know what we're working with?
ClarkeGhost
Scratcher
100+ posts

speeding up overtime

I'm not sure what your project is like, but let's assume it's an endless dodging game. Use this script.

when green flag clicked
forever
change [Enemy Speed v] by (0.001) // Change this to a very important variable in your game if you have one.
end

I can help you out more if you share the project info/link.
33mulvihillhj
Scratcher
4 posts

speeding up overtime

thanks
33mulvihillhj
Scratcher
4 posts

speeding up overtime

i will share it its called Dog
happywaffle0
Scratcher
100+ posts

speeding up overtime

33mulvihillhj wrote:

i will share it its called Dog
nice

you could add a variable called
(speed)

and use it like this:
when green flag clicked
set [speed v] to (5)
forever // removed the wait 0.5 seconds
next costume
wait (0.05) seconds
move (speed) steps
point towards (mouse pointer v)
if <touching [mouse pointer v] ?> then
stop [all v]
end
set [speed v] to ((speed) * (1.002))
end

to make it more difficult to outrun the dog over time.

Powered by DjangoBB