sethvincent Posted August 11, 2013 Share Posted August 11, 2013 Here's a game I made recently with coquette.js called BlockSnot: Demo: http://sethvincent.github.io/BlockSnot/ Source: https://github.com/sethvincent/BlockSnot coquette.js is a really enjoyable, simple library: https://github.com/maryrosecook/coquette It's still a work in progress. I'd like to add a points system and a few other tweaks. It could be refactored to use less code, too. I'd love to hear about what in the game works / doesn't work. Quote Link to comment Share on other sites More sharing options...
powerfear Posted August 12, 2013 Share Posted August 12, 2013 I tried it, I clicked on the screen a couple of times and a tons of cube appeared, a lots of them stacked at the bottom of the screen and the browser stopped responding. Edit: I tried on Chrome and Internet Explorer works fine there. This only happen in firefox. sethvincent 1 Quote Link to comment Share on other sites More sharing options...
sethvincent Posted August 12, 2013 Author Share Posted August 12, 2013 Oh crap! That's crazy. Which browser is that? I should have said: I've only tested it in latest Chrome / Firefox / Opera. Chrome works best. Quote Link to comment Share on other sites More sharing options...
Evan Burchard Posted August 12, 2013 Share Posted August 12, 2013 Tried on firefox. Bright full-screen flashing colors. Am not epileptic, so it was ok. Fan kicked on. Hard to close tab. Not sure what's expensive here. There aren't THAT many entities, so I would guess the collision detection maybe. Not sure how it's implemented in coquette. If the implementation is naive then it will check for collisions when they're nowhere close to something they could collide with. Using quadtrees is one way to make collision detection with a ton of entities possible (bullet hell games). Tried on chrome. Had a better time. I like that that the twitchy protagonist means that I get strafing for free when I aim straight on. That was a fun discovery. sethvincent 1 Quote Link to comment Share on other sites More sharing options...
sethvincent Posted August 12, 2013 Author Share Posted August 12, 2013 Thanks, fight_magic_run. Yeah, I'm surprised that firefox has such a hard time of it. That makes sense about collision detection. That would be worth experimenting with. Quote Link to comment Share on other sites More sharing options...
RadicalDude Posted August 12, 2013 Share Posted August 12, 2013 I have no Idea what to do to be honest I just move around a click and hit cubes and then I'm Game Over for no reason :/ Quote Link to comment Share on other sites More sharing options...
sethvincent Posted August 13, 2013 Author Share Posted August 13, 2013 I have no Idea what to do to be honest I just move around a click and hit cubes and then I'm Game Over for no reason :/ Fair. Gameplay is basically this: Run into or shoot the squares, your character increases in size. Once you run into a few squares, the circles will show up. Run into circles and your character decreases in size. Every time you shoot, the character decreases in size a little. The character can disappear if all you do is shoot or run into circles. That's the 'game over' scenario. You win the game by shooting all the circles. I should make add a help page to the game with some of this. 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.