Based on the previous tip of the week, we will see how to write a very simple AABB gravity trace
var c_aabb2d(ENTITY* ent);
that takes level blocks into account:

http://www.opserver.de/wiki/index.php/C_aabb2d

All tips can be found here:

http://www.opserver.de/wiki/index.php/Tip_of_the_Week






"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends