Jump to content

BlockSnot: sort of an asteroids-like game made with coquette.js


sethvincent
 Share

Recommended Posts

post-4700-0-83325000-1376263566.png

 

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.

 

post-4700-0-74319400-1376263479.png

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

 

 

I have no Idea what to do to be honest  :D 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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...