ikemen-engine / Ikemen-GO

An open-source fighting game engine that supports MUGEN resources.
https://ikemen-engine.github.io
Other
717 stars 125 forks source link

The position of the appearance is incorrect when the Postype of the Projectile is at a certain value. #1881

Open Kuroteba opened 3 months ago

Kuroteba commented 3 months ago

Describe the bug

When facing right, the display position of the Projectile with Postype Left or Right is different from MUGEN. If the Postype of the projectile is P2, the display position is different from MUGEN regardless of the orientation.

To Reproduce

1.Download Fire-Shuzo. 2.Fire-Shuzo's lv.2, しじみ 強. (Command is 236 + Y, Statedef is 1010. To get to Lv.2, use the move that comes out with 22 + C once or choose from 7P to 11P colors) 3.The firing position of the flying props is different from MUGEN.

Expected behavior

No response

Screenshots / Video

https://github.com/ikemen-engine/Ikemen-GO/assets/99640380/0b612c05-f6e0-46ac-91b6-58e967f886a9

Engine Version (or source code date)

v0.99.0 and nightly

Operating system

Windows

Extra context or search terms

No response

Wftk commented 3 months ago

Just tested, its not postype issue but vel param one, seems like in ikemen it got inversed while in mugen its not. If you just inverse this two projectile vel values issue getting solved.

Kuroteba commented 3 months ago

This problem only occurs when the X coordinate of the projectile's offset is non-zero. vel param is irrelevant.

Wftk commented 3 months ago

This problem only occurs when the X coordinate of the projectile's offset is non-zero. vel param is irrelevant.

idk what u talk about, heres example after then i inversed this two projectiles x vel value:

https://github.com/ikemen-engine/Ikemen-GO/assets/132805988/a6a27e28-3345-4fb5-8bc9-93dea24d6045

Kuroteba commented 3 months ago

I will put out a video of the results of changing the Postype of Fire-Shuzo's Statedef 4200's Projectile to P2. The command for Statedef 4200 is 236+z.

The version of MUGEN is WinMUGEN.

https://github.com/ikemen-engine/Ikemen-GO/assets/99640380/a6830626-028d-4cd4-a6c0-25bff4b2be6b