Blog Home

Xibalba – A WebGL First Person Shooter

More than a year ago I started to work on a project that was supposed to be released for 7DFPS – a game dev competition about making a First Person Shooter in 7 Days. I didn't meet the deadline, but the game I started back then is now finally finished.

Please Enjoy:

Xibalba Xibalba – A WebGL First Person Shooter

Xibalba is also available in the iOS AppStore

The game was build on top of my HTML5 Game Engine Impact and is entirely written in JavaScript. While Impact is intended for 2D games, this first person shooter fit very naturally with the engine.

Xibalba, at its heart, is just a 2D game with a 3D viewport. So all the necessary elements for the gameplay were already provided by the game engine: collision detection and response, entity management, sound playback a versatile level editor and much more. The only thing missing was a 3D view.

I created a 10 minute Making Of screencast that explains the ideas and the design behind the game a bit closer.

The Making Of Xibalba on Youtube

The iPhone and iPad version of the game was made with Ejecta. The game also runs just fine in Mobile Safari on the current iOS 8 beta, but the browser's UI, especially in landscape mode, unfortunately hinder the gameplay quite a bit. It's much more playable in Chrome for Android.

I also published the 3D Viewport part of Xibalba, along with another tiny demo game, under the name TwoPointFive – a tribute to the excellent ThreeJS library.

The TwoPointFive Plugin is available on Github:

Monday, July 28th 2014
— Dominic Szablewski, @phoboslab


#1TerryDiF – Tuesday, July 29th 2014, 03:44

Awesome work! Great artwork and atmosphere. Sound design was top-notch for such a simple game, and the boss fight was really creative.

#2Wolkenschauer – Tuesday, July 29th 2014, 09:31

awesome and quite inspiring :) btw you could reduce the size of your level jsons by using bitmasks and merge your the data layers ;) @see

#3 – Lonestarcarper – Monday, August 4th 2014, 03:13

I really enjoyed it, thank you for your effort.

#4Gort – Thursday, August 7th 2014, 16:52

Awesome! I have actually been deterred from making 3D games because of ThreeJS, and now that ImpactJS can do it, I am so exited!

#5 – Andrew – Monday, August 11th 2014, 21:53

I enjoyed this game so much, thank you!

#6 – Givizub – Tuesday, August 12th 2014, 19:11

Awesome work, thank you! c:

#7 – EmJay – Thursday, August 14th 2014, 03:36

I was too stupid to figure out what to do with the end? boss, the two-fisted stone guy. Great game actually, I rarely enjoy indie/small games and this was one of those. Good atmosphere with little means.

#8 – Jet – Sunday, August 17th 2014, 05:07

Amazing game. Played it on iPad and loved it. The dense atmosphere, the smooth gameplay, the immersive soundtrack makes this game a must play. Thanks for taking your time and effort into making this happen. It's sad that you didn't make it to the contest's deadline, but you still made a ridiculously excellent job. Definitely worth playing it. Congratulations. I expect more in the future. Keep up the excellent work!


#9 – pilt – Wednesday, September 3rd 2014, 23:09

Improve iOS version controls please! Especially aiming. When I shoot and move my finger across the screen sight should move and stop but not continue moving. And make the static stick for the moving please. Give players a choice: add some controls settings, left-handers support. Thanks a lot! Forgive me my horrible English) And may the Force be with you.

#10 – jake – Wednesday, September 24th 2014, 14:53

awsome make more

#11 – sam – Friday, October 31st 2014, 02:14

i came here to check out impactJS and stayed for the whole game. very fun and just the right length. thansk!

#12 – Brandon – Friday, November 7th 2014, 00:05

I played it and I thought it was very interesting, man, I wish it were longer, I would play it all day.

#13 – Corey – Friday, November 14th 2014, 00:24

This game is awesome

#14 – Gabe – Tuesday, November 18th 2014, 17:51

like the soundtrack the game was great!

#15 – leon – Wednesday, November 26th 2014, 00:32

I am stunned ! Insane atmosphere for such a simple game, music and sounds are AWESOME!! and overall great work !

#16 – travis – Friday, December 12th 2014, 21:52

Just thought id drop a compliment on quite possibly the most solid small game ive played in ages.

Very satisfying game.


#17SANTO – Tuesday, March 3rd 2015, 22:53

Hello I'm santo I really love this game you rock!

#18 – #girlgamer – Thursday, March 19th 2015, 09:09

Meet your doom
#lovin it loads. 3-8

#19 – Hasta la vista baby – Thursday, March 19th 2015, 18:22

Gun to that mayan heart

#20 – Dudeladude – Thursday, March 19th 2015, 18:25

The boss is awesome dude, I am looking for mor like it

#21 – Jackson – Saturday, April 11th 2015, 00:14

This game is cool! My friend (emiliono) is dying to play this awesom game!

#22 – Bill – Wednesday, January 20th 2016, 16:34

Soooooo cool beat in like a day

#23 – Max – Thursday, February 4th 2016, 05:48

Thank you, man.
I'm really in love with this little gem.

#24 – markosos – Sunday, February 7th 2016, 21:37

this game is the best 2-d game i ever played.

#25 – David – Thursday, May 26th 2016, 23:02

I LOVE this game, I've already beaten it four times. PLEASE make another one, like a sequel, that would be dope

#26 – David – Thursday, May 26th 2016, 23:05

And I agree with all the other comments... AMAZING game. love it.

#27 – Rhys – Monday, October 24th 2016, 20:01

I love Xibalba!

Post a Comment:

Comment: (Required)

(use <code> tags for preformatted text; URLs are recognized automatically)

Name: (Required)

Please type phoboslab into the following input field or enable Javascript. This is an anti-spam measure. Sorry for the inconvenience.