Small app reproducing the cool SNES perspective effect
'x = x / z
'y = y / z
More an object is far, more it is small.
More an object is near, more it is big.
x = x * cos(angle) - y * sin(angle)
y = x * sin(angle) + y * cos(angle)
This equation apply a rotation on Y axe.
This is the same equation that 3D but adapted for the 2D vectors.
- Forward : W or Up
- Backward : S or Down
- Turn left : Left
- Turn right : Right
- Strafe left : A
- Strafe right : D
- Go up : Space
- Go down : CTRL
- Look up : E
- Look down : Q