the mean idea is making
1)auto-running drawing game :
the player is running he will fall or get hurt without ur help(drawing lines)
2)flying drawing game :
replacing the blocks with your drawing lines then it will go to the left side of the screen and the coins and the powerups
EXAPLE but this is an hard game
the drawing line is auto i dont want this
it will be amazing ideas for new types of games
and its good idea for touch screens
but when i draw a line it Separates and go into pieces..
plz help me to make this ideas and when i finish it i will make a tutorial for this type of game
similar ideas but different
thanx for ur efforts
Change the set lastx to touch.x in the is in touch, to set lastx to touch.x-6
You are not taking into account the bullet behaviour of your slash.
It would be even better to spawn the next slash at the right side of the old slash.
Develop games in your browser. Powerful, performant & highly capable.
or edit my one cuz i dont get touch.x-6 part