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.
First Person Shooter test
First Person Shooter test
You do not have the required permissions to view the files attached to this post.
Last edited by ps80 on January 10th, 2021, 7:11 am, edited 1 time in total.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Not bad at all! Playable, but needs work 

Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
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.
Just need to tidy up the level a bit.
You do not have the required permissions to view the files attached to this post.
Cool demo you got there pal!
Keep up the good work and spirit
Keep up the good work and spirit
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
Controls are
D-Pad for movement
L1 R1 to sidestep
L2 R2 to look up or down (not really needed)
Triangle to fire
Who is online
Users browsing this forum: No registered users and 6 guests