Old Coding Game Tests – FPS Test

Oh hai thar, brendon here.

FPS Test

Download

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.

-Brandon

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s