ethr Posted November 2, 2013 Share Posted November 2, 2013 Hi guys, I had a little play around with bablyon.js a few weeks ago just to see what I could do. Here's a VERY basic 'game' that I created. http://www.ethr.biz/bablyonjs/jetrider/ Basic controls are: - move ship with cursor keys - shoot with space bar Objective: - shoot the spheres The code covers some basic collision detection, particle effects, model loading, scene management and basic animation.I used howler.js library for managing the audio and there's a basic slider for controlling the volume. Source code here: https://github.com/ethr/jetrider I'll try to tidy up the source code some time so its a little easier to read - this was just a project for me to play around with BabylonJS I love the simplicity of loading 3d models, only a problem I found though was the availability of free 3d models that worked with the exporter. Some just didn't seem to load in the game atall, others game in with messed up coordinate systems and many objects were actually multiple meshes. I wanted to had a missile mesh but settled for a simple sphere as the projectile in the end. Anyway hope someone finds the example code useful, I need to find some time to get on with another game.... Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.