playMaker

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

EsterionDev

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Endless runner with zigzag roads
« on: March 04, 2018, 01: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: 76
    • View Profile
Re: Endless runner with zigzag roads
« Reply #1 on: March 04, 2018, 02: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, 02:23:49 PM by MattyWS »