Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

A game like temple run but in 2d?

Discussion in '2D' started by sthhere11, Dec 20, 2015.

  1. sthhere11

    sthhere11

    Joined:
    Jun 28, 2013
    Posts:
    29
    I need to make a game like temple run but in 2d can any one suggest?
     
  2. Kurius

    Kurius

    Joined:
    Sep 29, 2013
    Posts:
    412
    Successful jump means player swiped up at the right time and so now you temporarily disable the collider of the obstacle so the player doesn't hit it. You use a sprite animation to give the illusion of the player jumping. But really its just a 2D player object passing THROUGH the 2D obstacle object.
    Same idea for ducking/diving. Player swipes down at the right time and so now you temporarily disable the collider of the obstacle. Again the 2D player object passes through the 2D obstacle object.
     
  3. tedthebug

    tedthebug

    Joined:
    May 6, 2015
    Posts:
    2,570
    is it a side scroller or will you be doing fake 3d where the player is running "into" the screen?
     
  4. akshay2001

    akshay2001

    Joined:
    Dec 22, 2015
    Posts:
    7
    Just search danger dash on google it may give you an idea on what to create
     
  5. tedthebug

    tedthebug

    Joined:
    May 6, 2015
    Posts:
    2,570
    sthhere11 was last seen:
    Sunday at 6:03 PM