Unity Tutorial 05

Here again with yet another Unity Tutorial and what I have been doing for the past couple hours was making a character jump over obstacles with a moving background in Unity. 

Jumping

Doing all of this I now know more folder and script making, and I am getting the hang of the Prefabs making. The newer things were learning like tags, background repeats, trigger and bools and so on.

    Doing all the tutorials was an overall 3 hours. The things I had to do were:

    • I created a new project and importing the starter files. Then choose a background and a character for the player to control, then made that character to jump by pressing the spacebar. I also choose tweaked the jump force and gravity, prevented double jumping and created a spawn obstacle at timed intervals.
    • Unity 
      I created a script to repeat the background layout. The player jumps over the coming obstacles. Then also the game needed to stop when the player crashes with an
      obstacle, that was the new game trigger. With stopping the background and obstacles from spawning. Then destroy any obstacles that get past the player.
    • I looked through the players animations and made it run and jump. Set up a falling animation then kept the player from unconscious jumping. Also tweaked the speed of these animations, timing them so they looked good in the game.


    Overall this Tutorial again was a problem because my Unity workspace just likes to play hide and seek with me. 💀But I guess this is how it is going to be from now on.

    Well thats that, Goodbye 👋
    - Tochi

    Comments

    Popular Posts