unknown Posted January 29, 2011 Author Share Posted January 29, 2011 I was bored so I made a simple HTML5 asteroids clone :P Arrow keys to move, space to shoot. I'm going to be adding levels, and highscores sometime.. Let me know what you think! If you want the uncompiled source send me a PM.[Click here to play!](http://www.raymondcox.net/asteroids.html)Does not work in IE < 9![](http://I.imgur.com/w3Zg3.png) Link to comment Share on other sites More sharing options...
shado360 Posted January 29, 2011 Share Posted January 29, 2011 Tis quite fun :P Link to comment Share on other sites More sharing options...
unknown Posted January 29, 2011 Author Share Posted January 29, 2011 Thank you very much!I forgot to mention.. The javascript is compiled (so it is faster) if you would like the uncompiled source code send me a PM and I will happily give it to you. Link to comment Share on other sites More sharing options...
shado360 Posted January 29, 2011 Share Posted January 29, 2011 will do Link to comment Share on other sites More sharing options...
Marsh Posted January 29, 2011 Share Posted January 29, 2011 Thats pretty awesome, html5 looks like some good stuff. Not sure if you care as this is probably just for practice but maybe lower the rate of fire. Link to comment Share on other sites More sharing options...
unknown Posted January 29, 2011 Author Share Posted January 29, 2011 Thanks! I think I'll do that.. Another thing I forgot to mention: If you want to increase difficulty, make your window size smaller lol Link to comment Share on other sites More sharing options...
mrmiguu Posted January 29, 2011 Share Posted January 29, 2011 230 = Highest score?Cool.Very fluid.**worked in IE9** Link to comment Share on other sites More sharing options...
unknown Posted January 29, 2011 Author Share Posted January 29, 2011 Thanks MrMinguu! It means a lot coming from you, you're one of the reasons I came to Eclipse (because of your awesome scrolling engine).230 is the highest score (for now).. Levels will be added eventually. It started off as a learning expierence but I feel like I can make the best HTML5 asteroids game and I want to.IE9 is the only IE it works in* Other IE's don't support Canvas but they can (via excanvas) I just don't really want to support it because it would be slow. Link to comment Share on other sites More sharing options...
mrmiguu Posted January 29, 2011 Share Posted January 29, 2011 I made the window fairly small (320x320) and managed to win **d_^^_b**HTML5… /impressed Link to comment Share on other sites More sharing options...
SawQuart Posted January 29, 2011 Share Posted January 29, 2011 I just spun around in circles shooting and I won the game.:/ Link to comment Share on other sites More sharing options...
aaaron Posted January 29, 2011 Share Posted January 29, 2011 The game is cool. HTML5 is pretty cool, and I read up that you can create a Isometric Game Engine using HTML5 Canvas and JavaScript. It sounded cool. Link to comment Share on other sites More sharing options...
JSchilli1 Posted January 29, 2011 Share Posted January 29, 2011 Awesome job! I love it! :D-JS1 Link to comment Share on other sites More sharing options...
mrmiguu Posted January 29, 2011 Share Posted January 29, 2011 @Jungletoe:> I just spun around in circles shooting and I won the game.> ://same Link to comment Share on other sites More sharing options...
aaaron Posted January 29, 2011 Share Posted January 29, 2011 Haha, I made the screen size really, really small and I failed every time it would reload the plane. Fail. Link to comment Share on other sites More sharing options...
unknown Posted January 29, 2011 Author Share Posted January 29, 2011 Thanks for the feedback, I really appreciate it.For now you can just spin around in a circle and win it lol.. In the near future (when I add levels, slow down the gun, and speed up asteroids) that won't be the case.I'll also update it so it's the same difficulty regardless of your window size lol. Link to comment Share on other sites More sharing options...
aaaron Posted January 29, 2011 Share Posted January 29, 2011 LOL. Cool, can't wait for it. Link to comment Share on other sites More sharing options...
chuchoide Posted January 30, 2011 Share Posted January 30, 2011 Entertaining, nice game! Link to comment Share on other sites More sharing options...
McCull96 Posted January 30, 2011 Share Posted January 30, 2011 hmm it looks like the left and right keys don't work while moving straight and firing Link to comment Share on other sites More sharing options...
unknown Posted January 30, 2011 Author Share Posted January 30, 2011 Most keyboards are cheap and typically don't implement the up/down/right/left keys in correctly.Try using WASD. If that doesn't work then please tell me what browser you're using. Link to comment Share on other sites More sharing options...
McCull96 Posted January 30, 2011 Share Posted January 30, 2011 its going on with both wasd and the arrow keys on chrome I'm firing then moving forward then try to turn Link to comment Share on other sites More sharing options...
unknown Posted January 30, 2011 Author Share Posted January 30, 2011 I've had an issue on a keyboard where something similar happened except it was only the left arrow key while firing.. I googled the issue and realized it was my (and most) keyboards fault. I suspect something similar is happening here.Thanks for posting, I'll look deeper into it. Link to comment Share on other sites More sharing options...
Dark Crusade Posted February 4, 2011 Share Posted February 4, 2011 Hmm intriguing. Hearing lots recently about html5 Link to comment Share on other sites More sharing options...
unknown Posted February 4, 2011 Author Share Posted February 4, 2011 HTML5 is a very cool technology, and what I believe to be the future of rich content on the web (which is a major reason why I'm developing in it).For anyone that cares, I have still been working on Asteroids a bit in my free time.. I've done the following since posting it- Made shooting more accurate and graphically pleasing- Better rock splitting calculation- Actual FPS calculation- Major refactoring; the ability to easily add color the different elements and customize difficulty- Huge speed & memory enhancementsRight now I'm working on- Different shaped asteroids- Slowing down the ship firing speed to a reasonable rate- Making the game difficulty consistent regardless of window size- Adding levels or maybe spawning more rocks as time goes on- High scoresIt's a fun little project, so I'll continue to work on it when I have time Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now