A small demo (experiment) of a movement code which combines Superku's gravity code and simple horizontal movement code (I used two different bbox models, one for horizontal movement and another one for vertical). Plus it has some simply animations and 3rd person camera that has collisions. There is an auto-jump thing I was inspired from old school type of games like Zelda on Nintendo 64. To make it work in your games with this code, you have to make sure that the surface from which you want to perform auto-jumping should have FLAG6 set in WED (look into the level setup of this demo via WED). There are a lot of things to tweak actually, so play with the code if you want to. Anyway, I hope someone might find this useful. I want to thank Superku for his awesome gravity code, and MasterQ32 for giving me some math tips tongue

Quote:
CONTROLS:
WASD - movement
SPACE - jump
SHIFT - run
MOUSE RIGHT + MOUSE MOVEMENT - rotate camera
MOUSE WHEEL - zoom


Here it is:
Download link

Useless screen (it looks promissing, I know):


Edit: I've uploaded new version, with a small bug fixes and smoothed Z movement up on stairs (could be tweaked as well).
Edit2: UPDATED! Even more fixes...

Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung