You must be logged in to rate this game
I rehashed the scripts I used for Pixel-Walker and turned them into a platformer tech demo. I added in gravity and acceleration/friction. There's one known bug where the player may pass through a wall when coming at a corner from a diagonal. Other than that it works pretty smoothly, and changing speeds is fairly simple (often as easy as changing the value of a constant at the top of the scripts).

Let me know if you have any trouble understanding the scripts or implementing them into another system. I plan on adding a few more things, namely an animation handler to define better player animations and NPCs as well. Right now all of the scripts only provide physics to the main player sprite.

Uses OHRRPGCE version dwimmercrafty

UPDATE 09/10/17 : Added some graphics and polished some of the issues with collisions. Cleaned up the scripts on animation. They should be easier to follow now, but maybe not perfect.
PostPosted: Thu Sep 07, 2017 9:37 am

Last edited by kylekrack on Mon Sep 11, 2017 5:39 am; edited 2 times in total
Download (1.35 MB; downloaded 19 times)

Powered by phpBB © 2001, 2005 phpBB Group