Page 1 of 1

FPS Bomberman (small demo and questions)

Posted: Wed Oct 14, 2015 8:29 pm
by not-jay
Hello! :awesome:

I've been working on a first person bomberman for a bit. Its far from complete but so far it has:
  • Raycasted 2.5D Map (Heavily references jasoco's Wolfen3D raycaster)
  • Sprites (Player + Bomb)
  • Soft Walls (Also has a crumble effect, although it looks a bit bad)
Here it is in action:
it_all_returns_to_nothing_it_all_comes_tumbling_down.webm
Wall "crumble"
(1.11 MiB) Downloaded 447 times
I'm having trouble with the "floorcasting" jasoco had in his Wolfen3D. (I think it might be more of mode 7?)
For 90 FOV, in some parts the floor is scaled wrong, and creates gaps
Image
60 FOV however is fine
Image

But taking the walls down, going to a corner and staring into the opposite corner:
The wrong scaling strikes again, but this time as a bulge instead of a gap (60 FOV)
Image
Interestingly, the bulge affects 90 FOV less
Image

Controls:
WASD - movement
Left, Right arrow keys - look
k - suicide
l - change players
hold spacebar - activate bomb ghost/placement guide
release spacebar - place bomb

Re: FPS Bomberman (small demo and questions)

Posted: Wed Oct 14, 2015 8:40 pm
by bobbyjones
Pretty cool. I did get stuck in the corner though and there is no notification of death of it pretty cool lol.

Re: FPS Bomberman (small demo and questions)

Posted: Thu Oct 15, 2015 5:44 am
by not-jay
Thanks :ultraglee:
I haven't added a death screen yet, although it is odd that you got stuck in the corner.
Can you replicate it?

Re: FPS Bomberman (small demo and questions)

Posted: Sat Oct 17, 2015 6:33 am
by Davidobot
Ah, another fellow coding a raycaster! You are always welcome here - the more the merrier.
If you want to use another raycaster for reference, you can check mine out: viewtopic.php?f=5&t=78608
It is slightly based off Jasoco's version, but only in theory.

Re: FPS Bomberman (small demo and questions)

Posted: Sat Oct 17, 2015 9:13 am
by not-jay
Ah, its an updated one! :o
I have found your older raycasting project before
I will take a look at this, thanks you! :awesome:

Re: FPS Bomberman (small demo and questions)

Posted: Sat Oct 17, 2015 5:53 pm
by Davidobot
not-jay wrote:Ah, its an updated one! :o
I have found your older raycasting project before
I will take a look at this, thanks you! :awesome:
No problem man! Sharing is caring, plus you'll make more use of the code than I could ever. :awesome: