top of page

The Start

The first unity project I have ever made, around this time I had to learn both Unity and Blender at the same time. Here is where I also came up with the character BL0B, who has been practically been my mascot for the past couple of years now. I plan on using "it" in the future with an updated model, I think a slime-like character would be an excellent fit for a platformer and I hope to push this idea further into the future. 

Movement

What I wanted to learn the most from this project was coding movement.
I am a very big fan of "Easy to learn, Hard to Master" game mechanics and a good movement system delivers that tenfold. After trying to figure out what sort of move-set I can give the character, it became clear abundantly clear how hard it is to even make the basic run and jump feel good. Who knew that coyote time could make such a small yet huge difference...

Currently, BL0B can only run and jump, I also wanted to let it sprint with the Shift Key but I decided against. I mainly focused on BL0B's jump while coding the movement. 

On the left, you can see the code I wrote for jumping, on the right, you can see the all of the Serialized Fields I used. The "Jump Button Grace Period" was essentially the coyote time, if I increased the number in the serialized field, then that would be time the player would have from jumping off "air". Too little and jumps wouldn't be responsive, too much and you're basically walking on air.

(You can see the full code over on my game's github page)

  • GitHub
bottom of page