is tag not playing & trigger once
you're welcome.
goodluck with your game!
try using function to call that loop event, so it will trigger once per call.
- For "blocks" from 1 to to 10 > create object
he slides off slowly and sometimes it seems like he can't get his footing.
open your autorunner template, line 9 and 10 will fix that
try this :
how about using a booelan,
then if that object Is on screen, set it's value to true.
then when it is not on screen, and that boolean is true, destroy it.
good luck with your game
i think you can use this :
width : ViewportLeft()+ ViewportRight()
height : ViewportBottom() + ViewportTop()
try this
https://www.scirra.com/tutorials/1032/g ... creen-play
every tick > set size > Self.Width-X, Self.Height-X
Develop games in your browser. Powerful, performant & highly capable.
compare your Sprite.X with Touch.X
if Touch.X < Sprite.X == move left
if Touch.X > Sprite.X == move right
^yup
Member since 21 Dec, 2013