88 comments

[ 4.1 ms ] story [ 94.4 ms ] thread
some time ago i wanted to learn how to create a canvas games, so i started with http://www.html5rocks.com/en/tutorials/canvas/notearsgame/ and took it from there. now it's a little bit osmosis and asteroids, and it's unfinished and MIT. so please take it, fork it or just read the source. hope it's useful (and/or fun) for someone.
Thanks for providing your "source" -- when I wanted to write a boardgame in Python, I followed much the same method, adapting a tic-tac-toe game demo.
Just one comment, from what I've noticed(haven't checked the code to make sure), the size of spawned bubbles is a random function biased by your current size. While I think that's a good idea in general I think they should be overall smaller.

Right now, when you get to a certain size it just spawns 4~5 giant bubbles that fill almost all the screen and make it impossible to move without dying.

Like a simple, HTML5 Osmos. Not sure how Asteroids comes in. When you pass a certain threshold, the bubbles get suddenly & aggressively larger; is it actually possible to win?
[space] spawns a small yellow killer bubble. yes, it's possible, but very very hard.
Ah, that helps a lot. So instead of using your own mass as momentum a la Osmos, you use it as... space-mines =)

I see why you say it's a little bit of Asteroids, now. That sure puzzled me before.

It appears that the yellow killer bubble circumference is proportional to your size, its takeoff vector is the same as your own, and its velocity is a slight multiple of your own.
Osmos also has a lot of different and interesting mechanics. For one thing, propelling yourself requires you to eject mass in the opposite direct, which also makes you smaller. There's also antimatter bubbles that you don't want to absorb, a gravity (orbit) mechanic, green "living" bubbles which compete with you for resources, etc.
Took a while to figure out you could "eat" smaller bubbles to grow larger, was a lot more fun after that :)
I spent the first minute clicking around with the mouse until the attempt upon the arrow keys and finaly after the spacebar the asteriod aspect kicked in and a sence ahaaaa.

I shall play some more later, though the blobing of the asteroids/blobs could perhaps also merge colour palletes as well and in that also provide some subliminal education. Maybe even volumetricaly factor in the colour merging.

I might also add that it can be more fun to learn how to play the game than just reading a manual, so in that I like it even more.

Oh and the source, that there is how I'll learn coffeescript, thank you.

Yes, it could be a lot more obvious.

In Osmos (a similar game) the coloring of the bubbles makes it much easier to distinguish which bubbles are edible and which are dangerous. I think the this rendition could be improved by getting new colors, and maybe saving red for dangerous things, and not the player :)

The ones with blue border you can eat :)
On a height of 600px the cursor up and down keys scroll the window.
this and the fact that it's very very very hard to win is where the "unfinished" part (and the forking) comes in.
Great concept, very frustrating!
This game is rigged... all of a sudden this huge monstrosity comes out of nowhere from the left of the screen! It was pretty fun though.
Rather than wrapping around it might be fun to bounce off the edges of the game area.
I don't see the value of this submission. An Osmos clone in HTML 5. Great.
It's a game. It's fun. That's the value.
Also, as mentioned above, it has code that we can read. Thanks!
Looks like the trick is to use the yellow killer bubbles to control the aggressive bubbles before they eat everything & get too big to navigate around.
Really cool concept, but I don't like how when you get really big, bubbles the size of half the field appear, making the game unfinishable.
Awesome game..shared with my friends ..we all loved it
I understand why this appeals to the HN crowd: it's a metaphor - the goal of the game is not to be the biggest around, but to survive the longest. Sometimes that means cutting loose and starting again - and just waiting for the biggest of the big to fall!
Nice, needs a bit more complexity and slightly less frustration :-)
If you hold down left and right it gets very odd. It is reproducible.
To improve the endgame, I would introduce power-ups, like a pill that when 'swallowed' temporarily turns player's balloon into a triangle that could puncture large balloons into many small ones. Multiplayer with larger field and obstacles could be fun too.
Hi, I don't know but I think the page is not loading. Is it down?
That's pretty cool! Good job.
Very nice! Do you plan to add some scores somehow? I imagine just on time would be boring, so growing and shrinking should grant you credits somehow.
The game is fun but is there any way to change the "units" of the change direction keys? Right now they seem to add up, i.e. two up strokes means speed increases by two points, but a more conventional manner would be better IMO. i.e. one up arrow moves ball in up direction. Like driving cars in games.
Something needs to be done about the end game. Currently skill doesn't make a difference. It relies on the perfect storm of you absorbing a chain of increasingly large bubbles. In 6 attempts this didn't happen as I was surrounded by huge bubbles. 4 times I was reduced to like 4 pixels and had to work my way back up again.

Perhaps a bigger playing area. Make it full screen? Then have more bubbles of varying sizes. This would make it more difficult to get bigger and make the game longer as a result.

It would also be cool if a specific color bounced bubbles off it and couldn't be absorbed. The faster you go into it the faster you bounce off. This would make it a bit more difficult to navigate.

You can shoot the bigger bubbles with the spacebar key.

Not that there's any affordance for it, so something still has to be done with the game. But the title says "unfinished", so I think we're good :)

I won by holding down the right arrow key and shooting until my bubble became four blinking dots.
I agree with full screen! Maybe rounds?
franze, this is one of the best games I've ever played. It's strangely satisfying.
if you don't mind I am going to port it to phyzixlabs.com :)
I think the ball needs a speed limit. I couldn't tell if there was one. I just held the up and left arrows at the same time and just kept holding. It felt like it would've went on forever had I not x'd out.