is tag not playing & trigger once
Develop games in your browser. Powerful, performant & highly capable.
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
compare your Sprite.X with Touch.X
if Touch.X < Sprite.X == move left
if Touch.X > Sprite.X == move right
^yup
it needs to be preloaded first.
It will take some times, won't show instantly.
just the usual, i think.
if object.Y < 450 then destroy.
this action only occurs for those objects which matched this condition.