Save-Point
8-Directional Movement with Sprite Support - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: 8-Directional Movement with Sprite Support (/thread-2411.html)



8-Directional Movement with Sprite Support - Kylock - 03-07-2008

Requested by Arrow-1(rmxp.org) and produced by me, the amazingly new but old 8-way movement script! The part that makes it new is that this one is for VX!!!

Now you can enjoy walking diagonally through your blocky VX maps! (wooo!)

This script supports 8-directional movement along with diagonally oriented sprites so you can actually see them walking diagonally, it doesn't look like some weird line-dancing half diagonal strafe thing! YAY!

Please be advised that this script has only included methods for the hero/party to move diagonally and eventas are at this time unsupported. I can update it, but that would take more time and there might be an update later on if people need it.

Updates: 1.1
* Fixed compatibility with Anaryu's Anti-Lag script
* Fixed option that disables the use of custom diagonal sprites

THE CODE

Also need to create a custom sprite sheet for your heroes and import it into the Characters section/folder. It should look something like what I have sampled below.

SAMPLE SPRITE SHEET

Oh yeah, almost forgot. To use this script, be sure the character sprite sheet is named as <character name>.png or whatever.