RPG Maker Forums

Hi! I'm having a weird problem with some scripts I've modified, and am looking for any insights as to what the problem could be.

Scripts I'm using:

Moghunter's 8-Way Movement, modified to show diagonal charasets.

Yanfly's Slippery Tiles script, modified for 8-way movement.

The problem:

When sliding diagonally from a non-slippery ground tile, the code works fine, as long as you don't hit any walls or corners before you stop sliding. But,

1. If you're sliding towards up-right, or down-left and you hit a wall, the player will continue sliding in that general direction until they run up against a corner. This is fine.

2. If you're sliding towards up-left or down-right, and you hit a wall, the player changes from moving up-left to up-right, or from moving down-right to down-left. This isn't suppose to happen, but I can't find where in the code the problem is occuring.

I've replicated the error in a blank project, which is attached below. Any help on this issue would be appreciated!

Edit: Updated version of Slide Test

!Slide Test.rar

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top