playMaker

Author Topic: Endless runner with zigzag roads  (Read 1258 times)

EsterionDev

  • Playmaker Newbie
  • *
  • Posts: 5
Endless runner with zigzag roads
« on: March 04, 2018, 03:44:53 PM »
Hello, i'm trying to make a endless runner with zigzag roads like Ketchapp's Zigzag game. Does anyone have an idea on how to do it? if so, please help me! thanks!

MattyWS

  • Junior Playmaker
  • **
  • Posts: 90
Re: Endless runner with zigzag roads
« Reply #1 on: March 04, 2018, 04:22:17 PM »
I actually made one myself using playmaker

https://play.google.com/store/apps/details?id=com.EarlyGames.SuperCube&hl=en

The way I went about it was, I made a straight segment, a left turn segment and a right turn segment, then I dynamically spawned them at random on the end of each other the closer the player got (they spawn off screen). I also put a spawn point on the straight segments in the middle that had a random chance of spawning a cube that you would collect for points.

as for the player controllers, I simply had the player in one of two states, going left or going right. tapping the screen swapped between the two
« Last Edit: March 04, 2018, 04:23:49 PM by MattyWS »