Xanmia Posted March 6, 2014 Share Posted March 6, 2014 Hey folks, I started working with Babylon.js about a month ago, moving from Three.js. I am extremely happy with Babylon.js and I have learned a ton in that time mainly from the documentation and this forum. I just wanted to share my work/game so that folks on this forum can hopefully benefit from it like I did from other's posts on here. And if you don't find it helpful hopefully you enjoy playing it! Enjoy! - http://xanmia.github.io/Light-Speed-Ready/game.html Code - https://github.com/Xanmia/Light-Speed-Ready Please excuse my code messiness I am moving to version 2 rewrite so I can group my code a bit better and do a lot more with in the game. Samuel Girardin, Dad72, gryff and 1 other 4 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 6, 2014 Share Posted March 6, 2014 I LOVE that kind of feedback:) Xanmia 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 6, 2014 Share Posted March 6, 2014 Waoou Love the game too. Do you mind if I showcase it on babylon.js site? Xanmia 1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 6, 2014 Share Posted March 6, 2014 I'm not player game in space, but very good job. Xanmia 1 Quote Link to comment Share on other sites More sharing options...
Xanmia Posted March 7, 2014 Author Share Posted March 7, 2014 @deltakosh absolutely, glad you like it! Quote Link to comment Share on other sites More sharing options...
gryff Posted March 7, 2014 Share Posted March 7, 2014 Like dad72. I'm not a big fan of space shooters - but this is excellent. I'm glad you included the code - will be a useful learning resource. cheers, gryff Xanmia 1 Quote Link to comment Share on other sites More sharing options...
Xanmia Posted March 7, 2014 Author Share Posted March 7, 2014 @deltakosh I just realized my absolutely response doesn't make sense I would be happy to see it up on the site. Is there anything you need from me? Quote Link to comment Share on other sites More sharing options...
gryff Posted March 7, 2014 Share Posted March 7, 2014 @ Xanmia: I was looking through your code - the code for level loading and this little piece of code got me wondering:if(engine != null){engine.dispose()}if(scene != null){scene.dispose();} Why do have to delete both the scene and the engine? Could you not just dispose of the scene then usescene = new BABYLON.Scene(engine);to create a new scene for the same engine? Sorry if I am being dumb - but I am trying to learn ;-) As I said above, I am using your code as a learning resource. cheers, gryff Quote Link to comment Share on other sites More sharing options...
Xanmia Posted March 7, 2014 Author Share Posted March 7, 2014 You are absolutely correct, I really only need to call scene.dispose(). The engine.dispose() isn't needed. I left it there more so as a check if it did exist somehow, I don't want it too...Initially, I was disposing the scene on every new level. I decided that was a too "heavy" / time consuming. That code is somewhat remnants of that. Happy to help any way I can! Quote Link to comment Share on other sites More sharing options...
prtksxna Posted March 7, 2014 Share Posted March 7, 2014 I am unable to play the game on Chrome 33. I press New Game but nothing happens. Quote Link to comment Share on other sites More sharing options...
Xanmia Posted March 7, 2014 Author Share Posted March 7, 2014 Give it a try now. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 8, 2014 Share Posted March 8, 2014 @Xanmia: Please send me a 400x250 screenshot and the text you want for your tile on the homepage Quote Link to comment Share on other sites More sharing options...
Xanmia Posted March 10, 2014 Author Share Posted March 10, 2014 @deltakosh: sent you a forum message, let me know if that works Quote Link to comment Share on other sites More sharing options...
Ariel Yust Posted March 11, 2014 Share Posted March 11, 2014 The game isn't hard when you understand how to beat it. But I screamed when I was attacked by Invisible Enemies with Very low damage shots (Screenshot included) Quote Link to comment Share on other sites More sharing options...
Xanmia Posted March 11, 2014 Author Share Posted March 11, 2014 HEHE , thanks Ariel. It's due to the enemy ships re-spawning and aren't suppose to be... Easy fix, thanks for letting me know! Ariel Yust 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.