smbx 1.4.5: Sprite bug(fixed path 20)
Posted: 26 Aug 2019, 7:39
The script(a loop that extracted) is about a variable v(isclimbing)=1 when the player has the image of "I am grabbing of the stairs" and zero if not, it works in all cases, except a 50% when you are pressing the up button and just grab from the "top" of the "stairs" it fails (a probability because it sometimes works/fails doing the same(that exception)).
"Stairs" can be plants(like npc-215), stairs and grid(bgos).
I have only put the minimum script enough(This script is extracted from one bigger but sufficient to detect the error), and in the gif image the fail(at the end), pay attention.
This detection I use in my rockman levels, and fails(bug sprites)(at the end of the gif image) as explained.
Rockman is a npc.
This is what is missing to solve this Rockman script so that it works well.
It is similar to this "bug" of sprites that you solved: https://wohlsoft.ru/forum/viewtopic.php?f=64&t=3223,
char(1).climbing
"Stairs" can be plants(like npc-215), stairs and grid(bgos).
I have only put the minimum script enough(This script is extracted from one bigger but sufficient to detect the error), and in the gif image the fail(at the end), pay attention.
- Spoiler

This detection I use in my rockman levels, and fails(bug sprites)(at the end of the gif image) as explained.
Rockman is a npc.
- Spoiler

This is what is missing to solve this Rockman script so that it works well.
It is similar to this "bug" of sprites that you solved: https://wohlsoft.ru/forum/viewtopic.php?f=64&t=3223,
char(1).climbing