alekmaul/pvsneslib

setMode7Rot: Unexpected behavior when angle > 200

malayli opened this issue · 7 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

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 Ok nice!

Can you elaborate on "unexpected?"

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

A screenshot here wouldn't be good enough?

@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.