Hudell / scripts

Rpg Maker Vx Ace Scripts
5 stars 3 forks source link

[Demo included] orange_movement : some bugs #4

Open Zer0xxxxx opened 6 years ago

Zer0xxxxx commented 6 years ago

Hello! This script is really nice and smooth, but a really sad bug happens when we use floats numbers to teleport the player : the events' hitbox are not correctly disposed. Then, it is impossible to use Orange Movement to perfectly make a Zelda Link's Awakening like... So sad!

Also, transparent and not passable events with the trigger "Contact with the hero" do not work properly. :(

You'll find a demo right here (requires RPG Maker VX Ace) : Hudell2.zip

...

strange

strange2

I also have this strange glitch when I do not walk straight. I just copy/pasted the script as it is on Github.

Kind regards.

Zer0xxxxx commented 6 years ago

Okay... The teleport bug was caused by an invalid value : y = 7.4

Since Tile_Sections is equal to 4, a value like 7.4 is incorrect.

Not like

Which are correct.

But I still don't understand the sliding effect bug. :(

Hudell commented 6 years ago

Sorry I missed the notification for your issues. The sliding bug is caused by the "auto avoid" system. The character is trying to avoid the object in one direction and then on the next step they are trying to avoid on the other direction.