Oh hai thar, brendon here.
move mouse – look
ESC – quit
FPS Test was an experiment to see if it was possible to create the illusion of being in a “3d” space with 2d slides.
I don’t have mnuch to say, it’s extremely simple code wise and involves locking the mouse to the game window and then making any adjustments to your direction by checking each step for any changes that the mouse made.
really it’s just…
xLook += mouse_x * global.sensitivity
If it didn’t have mouse lock, the view would keep spinning and only stop if you brought the mouse to the very left of the screen.
It was cool to see if the idea would have worked or not, it does, though to make sprites for this would be much easier if you made a scene in 3D and pre-rendered them out.
Though certainly this can be done with hand drawn imagery.