ikemen-engine / Ikemen-GO

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

Stage compatibility issues with parallax and animations #1529

Open nomucoke opened 11 months ago

nomucoke commented 11 months ago

Describe the bug

It seems that the processing is different between MUGEN and IkemenGO. It's difficult to explain, so please watch the video.

To Reproduce

  1. Open "Mountainside Temple" stage def file.

  2. Add the following to the last line: [bg] type=p actionno=1 start=,120 width=300,300 scalestart=.5,.1 layerno=1 [begin action 1] 0,0,0,0,1800 interpolate angle 0,0,0,0,0,,,1,1,-360

  3. Check the processing results with the engine.

Expected behavior

No response

Screenshots / Video

https://github.com/ikemen-engine/Ikemen-GO/assets/128201675/a7b3db7b-c751-4d53-bac9-7ae33a0948c7

MUGEN 1.1b

https://github.com/ikemen-engine/Ikemen-GO/assets/128201675/56291b1d-50be-4c16-b604-165eabf6d9fd

IkemenGO

Engine Version (or source code date)

0.99.0

Operating system

Windows

Extra context or search terms

No response

TRRESTGHGYTCFTGBCXSZD commented 2 months ago

I think this has to be order of scaling and rotation. In MUGEN, the rotation is done first, then scaling is done. In IKEMEN, the scaling is done first, then rotation is done. This is ordering issue and it's easy to fix. (if the rendering engine allows to change the order of translation)