Page 1 of 1

First Person Shooter test

Posted: July 23rd, 2020, 1:13 am
by ps80
This is my first attempt at a 3D FPS I thought I'd share it so people could have a play.

Thanks to LameGuy64, Shadow, Orion and Avanaboy for their source code samples that helped me write my code.

I also found javidx9 on youtube has a great video on writing a tile base platformer in C, that I found was easily converted to work on the Playstation and is helpful for collision detection.

Sprites are from spriters-resource.com and were ripped by Hoover1979, LOGAN McCLOUD, DOLPHMAN and ULTIMECIA.

Hopefully the MAIN.EXE is attached below.
MAIN.EXE
MAIN_V2.EXE

Re: First Person Shooter test

Posted: July 28th, 2020, 4:14 am
by Shadow
Not bad at all! Playable, but needs work :)

Re: First Person Shooter test

Posted: November 17th, 2020, 5:54 am
by ps80
Been working to improve this over the last few months, so now there is more than one enemy at a time. These can fire a projectile at the player (currently a mini Cacodemon) and react based on the distance from the player. Took me a little while to work out how to get each enemy to always face the player even if the player is not facing them. I originally had the enemy rotate the opposite way to the player, so when you faced them they faced you but as you turned away they turned too. This meant if you were not facing them their projectile shot off in the wrong direction. That's all fixed now.
Just need to tidy up the level a bit.
PSXDisc-201116-171306.png

Re: First Person Shooter test

Posted: November 21st, 2020, 2:29 am
by Elvarg
Cool demo you got there pal!
Keep up the good work and spirit 👍

Re: First Person Shooter test

Posted: January 10th, 2021, 7:10 am
by ps80
Added version 2 to the first post. You can shoot the creates and walking into the switches activates them now, you don't have to push circle like in the first demo. Just walk into the portal at the end to finish the level.

Controls are
D-Pad for movement
L1 R1 to sidestep
L2 R2 to look up or down (not really needed)
Triangle to fire