Laser Coin Planets by mortehu

[raw]
made by mortehu for LD23 (COMPO)
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.

Ratings

Coolness 62% 3
Overall 3.36 211
Audio 2.19 548
Fun 3.11 265
Graphics 3.11 319
Humor 1.42 778
Innovation 3.06 376
Mood 2.41 601
Theme 3.31 277

Feedback

True Valhalla
23. Apr 2012 · 13:49 UTC
Pretty good! A little laggy in Firefox (latest v) but definitely playable...nice effects, good physics, and enough lasers to keep it exciting :)
Danvil
23. Apr 2012 · 21:21 UTC
Nice little game. Like the planet hopping.
samoojamies
23. Apr 2012 · 21:21 UTC
Very slick game. Great controls and fun to play.
Mach60KAS
23. Apr 2012 · 21:23 UTC
Very fun, I must admit. Simple concept, well executed!
JustinMullin
23. Apr 2012 · 21:25 UTC
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
23. Apr 2012 · 21:26 UTC
Nice, played it to the end.
No lag in FF on Ubuntu (that I noticed).
Fits well with the theme.
ccscanf
24. Apr 2012 · 15:47 UTC
Nice game.
rvmook
24. Apr 2012 · 18:32 UTC
Nice game, quite addicting
mildmojo
24. Apr 2012 · 22:42 UTC
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
🎤 mortehu
25. Apr 2012 · 08:10 UTC
@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.
havchr
25. Apr 2012 · 10:20 UTC
The game was quite fun. good execution on the core elements. With some polish/music, would be a sure winner.
daredevildave
25. Apr 2012 · 13:24 UTC
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
25. Apr 2012 · 17:16 UTC
Nice little concept.
But art realy ..
gnx
25. Apr 2012 · 21:24 UTC
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.
🎤 mortehu
25. Apr 2012 · 21:31 UTC
@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
25. Apr 2012 · 22:06 UTC
Pretty cool game. I finished it and enjoyed it, but it was a bit easy.
vilya
26. Apr 2012 · 00:07 UTC
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!
mildmojo
26. Apr 2012 · 22:06 UTC
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.
mildmojo
26. Apr 2012 · 22:07 UTC
Your code looks a lot cleaner than mine, too. =)
🎤 mortehu
26. Apr 2012 · 22:28 UTC
@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.
mneubrand
27. Apr 2012 · 02:50 UTC
Fun little game. A proper HUD with health, etc. would be nice. Enjoyed playing it.
leafo
27. Apr 2012 · 06:59 UTC
It was nice. Played for a while and didn't see an end. Could use some music. The laser effect is neat.
devince
27. Apr 2012 · 11:42 UTC
Very good game, the reason: I wanted to finish it!
derrickdool
28. Apr 2012 · 16:29 UTC
I feel like the name doesn't describe the game well (kidding)
Great entry, lots of fun to play.
Moth
29. Apr 2012 · 11:13 UTC
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
30. Apr 2012 · 23:07 UTC
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
30. Apr 2012 · 23:15 UTC
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?
davidwparker
08. May 2012 · 13:57 UTC
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
13. May 2012 · 04:19 UTC
Pretty good game! In fact, this is pretty much what I wanted to accomplish, save I ran out of time. :)