Doom (RPG Paper Maker version)
A downloadable project for Windows
This was created as a proof of concept for a more accurate FPS type game in RPG Paper Maker. Doom was used because everything should have a little Doom in it.
This a project you can open in RPG Paper Maker ver 2.0.11 and above. You can play the first few rooms of a level, view the code to learn, or even build your own game using this as a starting point. You don't need to credit me, but it would be nice to get a mention somewhere. Link to here maybe.
It's mostly complete. The one current limitation is that you can shoot through walls. It might be fixed in a future update, as right now it's not so easy to add.
It only has 1 enemy, 1 gun, etc. But you can copy the code and make adjustments to add new ones. Then how it's displayed and changed(swapping guns) is up to you to create.
If you need any help understanding or updating the code, you can join the Paper Maker discord.
Features:
Controller Support (buttons can be remapped on the title screen)
Display variables on screen for working HUD
HUD Face changes based on current HP
Armor system
Enemies shoot back (but you only hear it when in range)
Enemies drop ammo
Doors
Secret Doors
Gameover
-------------------------------------------------
The main idea is to change the camera turn amount to 1, and change a variable at the same time by the same amount. This creates 360 turning that is tracked by a variable. Currently an image of an arrow is drawn on the screen using this variable as it's rotation factor, showing you in real time your current angle. It's drawn in the center and also acts temporary crosshairs.
Divide that 360 by 4, and each 90 degree section corresponds to N E S W.
N= 0
E=90
S=180
W=270
4 Directions aren't very accurate. You could have the player hit anything in a 45 degree cone for each direction. But instead I divide that even further to get 15 sections for each direction. Each a little bit to the side of the last one. A variable tracks which section the camera is current looking at.
North
357-3 degrees = 0
4-9 degrees = +1
10-15 degrees = +2
and so on
Collisions in the database that consist of small boxes in a long line form the line of fire. 15 lines are created, each a little bit to the side all ranging from -7 to +7, to match the above variable. This is what lets you hit the object in the center of the camera, even though the main hero OBJ can only look in 1 of 4 cardinal directions.
Status | Prototype |
Platforms | Windows |
Author | KevinOfNine |
Genre | Shooter |
Tags | Doom, FPS, rpg-paper-maker |
Development log
- UpdateJun 04, 2024
Comments
Log in with itch.io to leave a comment.
For some reason the game does not open.
To see the true error you would need to click the console tab. I might not be able to solve it, but it can sometimes give a clue about the problem.
This was made in an older version of the engine. I'll have to look into it and try to update to the newer one and do a little more work. I stopped because it lags for me, but there was an improvement so it might work better now.
If you want this to work you can always reinstall Paper Maker and choose version 2.0.7. But it's pretty short and maybe not worth it yet.
Here is the Log.
Here are all the errors on what look like the "Browser".
Also, thx for the reply, i want to play the game to take notes since i am also making a game on the same engine!
I finally got around to opening this and I never had any errors when I converted it. I did more work on it and it's almost complete. I will be uploading the new version in a few days.