Increase the speed in endless runner game

Get help using Construct 2

Post » Fri Sep 16, 2016 9:27 am

"http://
gamedev.tutsplus.com/tutorials/from-scratch/build-a-canabalt-style-infinite-runner-from-scratch/"

I'm doing this tutorial, and i have managed to get everything to work by doing some tweaks in the events, but now when i try to make the level go faster, it stop spawning platforms. it spawns again when the speed goes to 8. so everything works on 4, 8, 16, 32 and so on. why does it stop in between?

"https://www.dropbox.com/s/7yacvlm3llkhdvx/Endless%20Runner.capx?dl=0"

if you answer try to make it easy to understand this is my first :)
B
5
Posts: 3
Reputation: 233

Post » Fri Sep 16, 2016 12:46 pm

The calculation in events 8 and 9 where the comparison value must = 0 seems to imply that run speed has to be a multiple of 32 or 32/runspeed isn't ever going to hit 0 if for example runspeed is 7 so 32/7 it's not going to be possible to =0 since Ticker is always a whole number.
B
47
S
18
G
84
Posts: 2,261
Reputation: 49,776

Post » Mon Sep 26, 2016 9:35 am

sorry for late answer, have had alot of work and other stuff and not enough time.

ok, i think i get it, but how do i work around it? cause the reason the runspeed is there is to keep the platforms spawning at the correct time. Atleast that is what i got from the tutorial, as i said im new to this and just started to learn :)
B
5
Posts: 3
Reputation: 233


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests