Hi everyone!
I’m working on an endless racer game for android that would be similar to the game ‘Race the Sun’, where the player can move from left to right freely across long distances and not restricted to lanes like Temple Run.
Since the player moves at a high speed in the game, I just want to know how the world / obstacles are generated in a game like this? What would be the best approach to tackle this? Unfortunately there aren’t any tutorials for endless runners like this and only for endless runners like Temple Run.
Any help greatly appreciated 
I don’t see a great deal of difference. If you aren’t comfortable with taking a Temple Run style tutorial and slightly adapting the player controller to turn (as opposed to shifting) left and right, then maybe start with some more straight forward tutorials?
For example, these ones would be a great starting point. Have you tried any of those?
Hi,
I’m also finding a way to make this kind of game, where ship travels at very highspeed.
Take a look here:
I want to know how ship goes left-right with out restrictions, like temple run where player have some restrictions on x co-ordinate of vector - transform.position (minX to maxX)
Other problem will be detecting collision of ship with collider which is responsible to generate next chunk of path (ie. platform) at very high speed. Sometimes, physics system of unity failed to detect collision with high speed moving object.
How optimization will work on such game?
bcoz there are many objects are visible on the screens, and some of them are falling on the ground, some are windmills
which rotates. how drawcalls & triangles optimized.
Also, real time lights also increases tris of game, how they manage lighting of this kind of game.
If drawcalls and tris are high in visible scene view of camera then game will obviously lag on smartphones also.
Any one having solution to this kind of problems and specificly on path generation horizontally.
i can give you guys the controller script for this game i made a while ago: https://play.google.com/store/apps/details?id=com.dragonblood.spaceshotnew
it’s similar, let me know if it’d be of any help… don’t wanna share unnecessarily