I am new to unity and I m planning to make a game an endless runner with a character running down vertically from top tobottom of the screen. Please can anyone help me with the character script. And anything which I should keep in mind. how do I move him nd make him jump on the sides of the wall vertical projection. Just like in ninjump for android or radical Rapeling.
Plan out the whole game & make notes so you don’t forget. I’d suggest using post it notes or mind maps so you can move ideas around, make sure they all link together well etc. things like are you having power ups? What is the player trying to do? What are the obstacles? Do they move or are they static? How does the player move (left, right, up, down, jump up, jump left, jump right, drop faster etc?)
If you want to make it yourself I’d suggest starting here:
https://unity3d.com/learn/tutorials
If you want other people to work on it with you by doing the coding, art etc then try the collaboration forum threads.
Good luck.
Can you please tell me how to move the player along y-axis in 2D as in vertically moving tgethe character not horizontal for example like in ninjump.
Vertically or Horizontally, doesnt matter. The principle for both is the same. Here is the endless shooter, finish this tutorial:
To move character vertically, you have to have an animation for that… The code will be the same almost like in this link which I gave…
You can move them without animating, it just looks different.
If you want to move the character, follow the tutorials. If you want to restrict the axis alter the code so the input is what you want & the move direction is only on the y-axis
Thanks I will surely look into this.
Can you please help me out with out animating the object I am unable to move a character with rigid body 2D?
Please suggest a tutorial it would be very helpful.
Thank you
Check the link I posted previously, scroll down the page & there is the topic for 2d games. There’s a few different ways to move the Sprite so you will need to decide what suits your game.