Laser Coin Planets

by mortehu
Overall★★★★★★★★★★3.36
Fun★★★★★★★★★★3.11
Innovation★★★★★★★★★★3.06
Theme★★★★★★★★★★3.31
Graphics★★★★★★★★★★3.11
Audio★★★★★★★★★★2.19
Humor★★★★★★★★★★1.42
Mood★★★★★★★★★★2.41
Coolness★★★★★★★★★★62%
Collect all coins to win. Avoid the black screen of death.

The "bugfix" version plays exactly the same, but fixes keyboard handling and WebGL buffer allocations.

Based on HTML5, WebGL and JavaScript. Almost certainly works in Chrome if your graphics card drivers can support WebGL.

Controls:

A - Move left
D - Move right
W - Use teleport
Space - Jump, double-jump
Mouse - Aim and shoot laser
F - Shoot laser

Just to be clear: Avoid the exploding things that make your screen go dark.

screenshot

Comments29

True Valhalla
True Valhalla23 Apr 2012, 13:54
Pretty good! A little laggy in Firefox (latest v) but definitely playable...nice effects, good physics, and enough lasers to keep it exciting :)
samoojamies23 Apr 2012, 21:26
Very slick game. Great controls and fun to play.
Danvil23 Apr 2012, 21:26
Nice little game. Like the planet hopping.
Mach60KAS
Mach60KAS23 Apr 2012, 21:28
Very fun, I must admit. Simple concept, well executed!
JustinMullin23 Apr 2012, 21:30
Yeah, LASERS! I have a soft spot in my heart for any game that has a good, solid, old fashioned laser in it.

The rest of the game was good too. ;) I especially like the teleportation effect. Nice work!
Tumaini
Tumaini23 Apr 2012, 21:31
Nice, played it to the end.
No lag in FF on Ubuntu (that I noticed).
Fits well with the theme.
ccscanf24 Apr 2012, 15:52
Nice game.
rvmook
rvmook24 Apr 2012, 18:37
Nice game, quite addicting
mildmojo24 Apr 2012, 22:47
It looks nice, but you need to prevent keypress events from bubbling up to the browser so you don't trigger typeahead find. In FF with typeahead find enabled, pressing letters opens the find box instead of controlling the game, so it's unplayable.

Fortunately, the fix is easy. jQuery example on pastebin:

http://pastebin.com/tvzQqWxv
mortehuauthor25 Apr 2012, 08:15
@mildmojo: Thanks. I've created a version with the proposed fix.

I've also rearranged some WebGL code in the hope of improving the frame rate on some computers. Note that my computer from 2006 runs this game at 60 fps flat in Chromium.
havchr25 Apr 2012, 10:25
The game was quite fun. good execution on the core elements. With some polish/music, would be a sure winner.
daredevildave25 Apr 2012, 13:29
I had a great time playing this, smooth, fun and well-balanced. With some polished graphics and audio this would be a great little game. Add some additional enemies, weapons and layouts and it would be a awesome game.
jim3wg
jim3wg25 Apr 2012, 17:21
Nice little concept.
But art realy ..
gnx25 Apr 2012, 21:29
Nice planet mechanics. Didn't like the darkening screen too much. Everytime it went darker it made me think it will fade into a game over screen or something.
mortehuauthor25 Apr 2012, 21:36
@gnx: The darkening means you are taking hits (losing health). It does indeed fade into a game over screen if you take too many hits.
Milo
Milo25 Apr 2012, 22:11
Pretty cool game. I finished it and enjoyed it, but it was a bit easy.
vilya
vilya26 Apr 2012, 00:12
That's really good! Nice graphics, nice sound effects, simple but effective gameplay concept... I wish there were more levels so I could keep on playing!
mildmojo26 Apr 2012, 22:11
Pretty nice. It doesn't look like the typeahead find fix is in the bugfix version, but I played through the original in Chrome. It plays well. The mouse aim is pretty tough on a trackpad. =)

I noticed that you were resetting the gravity source on each teleport; bullets would follow you from one planet to the next. Having worked on a planet-hopping game before, I completely understand the decision. Still, you might have bullets keep orbiting their original planet until they crash.

I got a little lost after a while; a minimap or an arrow pointing to more coins would be helpful in clearing the level.
mildmojo26 Apr 2012, 22:12
Your code looks a lot cleaner than mine, too. =)
mortehuauthor26 Apr 2012, 22:33
@mildmojo: I accidentally deleted the fix when I struggled with some CloudFlare caching issue.

The bullets are actually gravitating towards the player, not a planet. Hard to notice, I know. :) Also, their velocities are clamped, so that they are more likely to converge and not end up in an infinite orbit. Consider them heat-seeking missiles, if you like.
mneubrand27 Apr 2012, 02:55
Fun little game. A proper HUD with health, etc. would be nice. Enjoyed playing it.
leafo
leafo27 Apr 2012, 07:04
It was nice. Played for a while and didn't see an end. Could use some music. The laser effect is neat.
devince
devince27 Apr 2012, 11:47
Very good game, the reason: I wanted to finish it!
derrickdool
derrickdool28 Apr 2012, 16:34
I feel like the name doesn't describe the game well (kidding)
Great entry, lots of fun to play.
Moth29 Apr 2012, 11:18
Really nice graphical effects! At first I thought the luminosity telegraphing your health was questionable but as I learned how easy it was to keep up (just grabbing coins) I appreciated it as a neat concept. The sound effects felt appropriate and quite spacey in how they were a bit dampened and drowned out.

I managed to beat it! I really like the tech on display here and think you did a great job.
McFunkypants
McFunkypants30 Apr 2012, 23:12
Incredible! Silky smooth 60 fps, great controls, nice speedy action. I really like the "jump pads" concept. Keep up the fantastic work! I loved it.
Krisjet
Krisjet30 Apr 2012, 23:20
Very good entry! I liked that the enemies didn't kill me and force me to start over, maybe it would be just as fun as an explorational game without enemies?
davidwparker8 May 2012, 14:02
Nice game. Physics were pretty cool, and it worked well. Hard to shoot the bad guys with a trackpad and no mouse. Also wished you offered arrow keys and not just wasd. Good sound effects too.
ChainedLupine
ChainedLupine13 May 2012, 04:24
Pretty good game! In fact, this is pretty much what I wanted to accomplish, save I ran out of time. :)

Other games by @mortehu

Found a bug?
Tell us on Discord