You must be logged in to rate this game
I used the new(ish) script command "move slice with wallchecking" along with a couple others to make a pixel-based walking system in the OHR which is remarkably simple compared to pixel-based systems I've seen in the past. It is a little bit conflated to make up for some weird bugs, but that's why I'm releasing this here: so you don't have to do the work!

This is just a tech demo made for the purpose of giving the scripts to whoever wants them. No credit necessary.

If you're not on Windows, you can download the most recent stable version of the OHR. This demo was made using dwimmercrafty.

UPDATE Nov. 13, 2017:
+ 8-directional animation
+ Player acceleration
+ Better wall friction
+ Customizable player hitbox
* Cleaned a lot of code
* Changed constants to allow for easier customization and script flexibility

UPDATE Dec. 8, 2017:
+ NPC movement: wander and standstill
* Mostly cleanup: scripts are now split between three files, which should make finding things easier. Utility scripts are all in one file, so you don't have to look at them if you don't want to.

UPDATE Dec. 16, 2017:
+ NPC collisions
+ Finnicky NPC interaction (technically does nothing, but the scripts are there)
* Fixed an animation bug where "walk in place" NPCs only animated when the player was moving
* Obligatory code cleanup
PostPosted: Sat Sep 02, 2017 9:58 pm

Last edited by kylekrack on Sun Dec 17, 2017 5:56 am; edited 3 times in total
Download (2.07 MB; downloaded 178 times)
Windows Version