pvsneslib icon indicating copy to clipboard operation
pvsneslib copied to clipboard

setMode7Rot: Unexpected behavior when angle > 200

Open malayli opened this issue 2 years ago • 6 comments

Description

When angle > 200, the rotation becomes unexpected.

You can test this issue by testing this example here on develop branch: https://github.com/alekmaul/pvsneslib/tree/develop/snes-examples/graphics/Backgrounds/Mode7

malayli avatar Apr 26 '23 14:04 malayli

ok, I think the problem is the use of byte instead of words for matrix registers i will test it soon (i'm added a new function for mode7 scaling too)

alekmaul avatar May 02 '23 04:05 alekmaul

@alekmaul Ok nice!

malayli avatar May 09 '23 10:05 malayli

Can you elaborate on "unexpected?"

jeffythedragonslayer avatar Jun 06 '23 06:06 jeffythedragonslayer

@jeffythedragonslayer Difficult to explain it with words. I can share a video capture on PVSnesLib Discord.

malayli avatar Aug 11 '23 09:08 malayli

A screenshot here wouldn't be good enough?

jeffythedragonslayer avatar Aug 11 '23 09:08 jeffythedragonslayer

@jeffythedragonslayer No. Because when angle > 200, the rotation value is completely different for each frame. I let you imagine how it looks like when you run it in a rom.

malayli avatar Aug 11 '23 10:08 malayli