Monday, 27 January 2014

Endless Runner (Part1):

Ok so lets start with runner game as mentioned in last post. Here is the basic intro for such kind of game.


  • You need to decide camera view.
  • You need an algo to create path dynamically 
  • You need to decide obstacles.
  • You need to decide animations/actions of player e.g run,jump,slide down etc.
For character animations download the max character from unity asset store it is free (https://www.assetstore.unity3d.com/#/content/3012)

The most interesting part would be creating path dynamically. Roughly it would be like you will show specific number of cells/bridges/steps on screen let suppose the number is 10. Now you will track the index of cell on which the player is present. If it is more than 5 you create next 10 cells on screen and delete the 5 cells that are behind the player. In this way you will keep on creating endless path.

I will start posting the code and screenshots from the next post.I hope readers have the  basic understanding of Unity and scripting in C# and JS.
Meanwhile you can update me regarding your queries.

Thank you.

No comments:

Post a Comment