First Person Shooter test

Start a work log and update it occasionally with your projects progress
Post Reply
ps80
Curious PSXDEV User
Curious PSXDEV User
Posts: 13
Joined: Sep 06, 2019

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
MAIN_V2.EXE
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.

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

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
Curious PSXDEV User
Curious PSXDEV User
Posts: 13
Joined: Sep 06, 2019

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
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: Aug 24, 2020
Discord: Elvarg#5843

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

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

ps80
Curious PSXDEV User
Curious PSXDEV User
Posts: 13
Joined: Sep 06, 2019

Post by ps80 » January 10th, 2021, 7:10 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests