First Person Shooter test

Start a log and update it occasionally with your projects progress
Post Reply
ps80
Interested PSXDEV User
Interested PSXDEV User
Posts: 8
Joined: September 6th, 2019, 7:49 am

First Person Shooter test

Post by ps80 » July 23rd, 2020, 1:13 am

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
You do not have the required permissions to view the files attached to this post.

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2438
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: First Person Shooter test

Post by Shadow » July 28th, 2020, 4:14 am

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.

ps80
Interested PSXDEV User
Interested PSXDEV User
Posts: 8
Joined: September 6th, 2019, 7:49 am

Re: First Person Shooter test

Post by ps80 » November 17th, 2020, 5:54 am

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
You do not have the required permissions to view the files attached to this post.

User avatar
Elvarg
What is PSXDEV?
What is PSXDEV?
Posts: 2
Joined: August 24th, 2020, 3:21 am
I am a: Programmer, Gamer, Student

Re: First Person Shooter test

Post by Elvarg » November 21st, 2020, 2:29 am

Cool demo you got there pal!
Keep up the good work and spirit 👍

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests