Starting a WW2 3D game

Monkey Archive Forums/Monkey Projects/Starting a WW2 3D game

JaviCervera(Posted 2015) [#1]
During last week, I wrote a simple 3D engine for MonkeyX, using OpenGL ES 2. In the past 3 days, I have started a simple 3D game using the engine, with 3D models taken from the DarkMATTER pack and some sprites I grabbed from the Internet.

It's on its early stages, there's no AI yet, and it's missing lots of stuff, but you can walk around using the arrow keys and shoot with space key. Barrels can be destroyed if you shoot them long enough. The map has been made with Tiled, and tiles are replaced with 3D meshes when loading.

Demo is playable through the web browser here (takes a while to load!):

https://dl.dropboxusercontent.com/u/502828/ww2/index.html

EDIT: Uploaded version with some very simple AI.


tiresius(Posted 2015) [#2]
Wow that is impressive, writing your own 3D engine... Very cool.


JaviCervera(Posted 2015) [#3]
Thanks, Tiresius. The engine is very simple, it's not that hard to do actually :)


MikeHart(Posted 2015) [#4]
Awesome! Is that the standard HTML5 template which ships with MonkeyX?


JaviCervera(Posted 2015) [#5]
Yes, I only modified the default html page to render the canvas full-screen.


DruggedBunny(Posted 2015) [#6]
Nice work!


nullterm(Posted 2015) [#7]
Well done! Can't wait to see it develop.


JaviCervera(Posted 2015) [#8]
I have uploaded the game with health bars for all characters and breakable objects, and virtual joystick support, so you can open the link on a touch device and play. It works on iOS (tested on iPhone 6 and iPad mini 2), but I couldn't make it work on my Android device (BQ Aquaris E4.5 with KitKat), although Chrome is supposed to support WebGL.