Starting I have simple movements for now, which is just moving, jumping. > Goal is to implement wall jumping mechanic. I think it might take a while
Just "jumping" is easier than I thought.Make a variable for our jumpingPower, and use it to control our jump heights.We're adding force to our rigidbo
Movement Fixes If you follwed the last tile map tutorial, our tilemap already should have tilemap collider 2D. If you start moving, you'll see our player gameObject moving up and down randomly. > - ...
Moving the gameObject by adding force is little bit different from changing the velocity of the gameObject.AddForce is a method that can apply force t
Final part for moving the gameObject by changing it's velocity.
Get the gameObject's Rigidbody2D componenet and set name for it. For this case it's rigid, but you can call it however you want like rb or body2D.In t
RigidBody 2D adds 2D physics(falling for example) to the gameObject.Select AddComponent and type RigidBody 2DAdding RigidBody 2D will enable the gameO
Tilemap is a tool used for storing tile assets and build level designs.To make a tilemap, right click on the hierarchy, go to 2D object -> Tilemap ->
1\. I customized my unity starting screen, so I can see the game view and scene window at the same time. 2\. For the Bottom half I put my hierarchy, p
void Awake()Initializes variables and set up game states before starting the game.void OnEnable()Executes when the gameObject is enabled.void start()H