Last weekend I did some coding. I wanted to develop an initial version of avatar control and movement: walking, jumping, falling. And a basic collision detection with the walls.
First I made a prototype in C# using only byte and word types only. When this algorythm functioned well, I converted to assembly code.
Current features of this control system:
- builtin interia system: when player start to walk left, it starts at low speed and gets faster and faster, etc.
- jumping at variable height.
I took a short videoclip about this feature: