News for hackers. Stuff that matters.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by bobsy on Friday September 28, 2012 @08:19AM (#4585122)
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.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by maggit on Friday September 28, 2012 @08:47AM (#4585196)
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 :)

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by username3 on Friday September 28, 2012 @10:16AM (#4585600)
I won by holding down the right arrow key and shooting until my bubble became four blinking dots.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by volts on Friday September 28, 2012 @09:29AM (#4585357)
I agree with full screen! Maybe rounds?
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Wingman4l7 on Friday September 28, 2012 @07:00AM (#4584947)
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?
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by baddox on Friday September 28, 2012 @06:38PM (#4588140)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by franze on Friday September 28, 2012 @07:02AM (#4584957)
[space] spawns a small yellow killer bubble. yes, it's possible, but very very hard.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Wingman4l7 on Friday September 28, 2012 @07:06AM (#4584970)
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.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Wingman4l7 on Friday September 28, 2012 @07:11AM (#4584985)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by peteforde on Friday September 28, 2012 @08:17PM (#4588400)
I think that this game is awesome. I just played about 100 games, compulsively. I think this could be a hit if it was properly polished.

1. I'd love to play this on an iPad using accelerometer controls.

2. For me, the jury is out on shooting the bubbles. I was having a blast before I even know that I could shoot, and I'm not sure that it added to the experience.

3. I found the game made me think in a vaguely philosophic way, like... what is this? Am I a cancer cell? Is it fair that I can think but everyone else is on a predetermined path? Am I just playing against myself? Is this a metaphor for expansion of corporate power? :)

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by ecubed on Friday September 28, 2012 @09:03PM (#4588496)
+1 for this being amazing on the iPad with accelerometer. Very addicting game, well done
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by levesque on Sunday September 30, 2012 @01:07PM (#4593344)
I agree about the philosophic ideas. Everyone will probably figure out something different ;)

I don't think playing this game with accelerometers would be as fun, they are so imprecise it would end up frustating (to me at least).

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by donpark on Friday September 28, 2012 @07:26AM (#4585012)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by franze on Friday September 28, 2012 @06:33AM (#4584913)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by entropy_ on Friday September 28, 2012 @07:05PM (#4588232)
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.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Wingman4l7 on Friday September 28, 2012 @07:02AM (#4584956)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by hardik988 on Friday September 28, 2012 @04:01PM (#4587515)
I know the game is unfinished, but it needs to be more "winnable" and less frustrating.

Even when I work my way up to the size of half-the-screen, I end up colliding with a bigger bubble outside the screen I never knew existed! So, it depends too much on luck for my taste, and it's incredibly frustrating to be sucked in by a bubble I can't even see.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by ollysb on Friday September 28, 2012 @07:01AM (#4584949)
Took a while to figure out you could "eat" smaller bubbles to grow larger, was a lot more fun after that :)
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Zenst on Friday September 28, 2012 @07:16AM (#4584991)
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.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by maggit on Friday September 28, 2012 @08:24AM (#4585136)
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 :)

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by ilija139 on Friday September 28, 2012 @08:27AM (#4585143)
The ones with blue border you can eat :)
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by mrspeaker on Friday September 28, 2012 @07:20AM (#4584997)
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!
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Axsuul on Friday September 28, 2012 @07:04AM (#4584967)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by travisglines on Friday September 28, 2012 @08:56AM (#4585234)
This is a really great metaphor for starting companies in winner take all markets.

It

    Takes a combination of luck and skill

    Speed through quick iteration to out maneuver and eventually devour the big guys

    Frequent failures due to bad starting conditions

    Partnering with the right people early on is vital

    Later on you need your acquisitions to be large enough to move the needle

    Sometimes there is really no way to oust the established player in a mature market from a small players perspective
I think maybe some signs of aging or negatory effects of size would be cool to add in.

Cool concept!

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by in0v8r on Friday September 28, 2012 @09:16AM (#4585309)
Not to mention, letting go of some early partnerships that aren't keeping up, of which may even be detrimental to a competitor.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by yjukaku on Friday September 28, 2012 @12:44PM (#4586435)
I added

this.x_velocity * = .98;

this.y_velocity * = .98;

in the player update function. (right after line 346 of bubbles.js)

Controls become a lot easier, but that's my personal preference. You can add the lines in the chrome source inspector, then ctrl+s to save. No need to refresh :)

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by hanibash on Saturday September 29, 2012 @08:07AM (#4589331)
Wow, does anyone else see the startup metaphor here?

You're a little guy, running around and grabbing all of the opportunity you can, making sure you don't run head first into the big guys.

Sometimes it's advantageous to shrink yourself. You're more agile and able to navigate between the big guys more deftly.

But in the end, the best strategy is to grow quickly, because as you grow, the amount of surface area and the amount of opportunity you have grows, creating a feedback loop of success.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by ctz on Friday September 28, 2012 @09:08AM (#4585282)
This sorely needs some instructions. Tapping around the page produces no obvious results.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by fchollet on Friday September 28, 2012 @10:52PM (#4588698)
Great concept. But very difficult and frustrating in its current version.

I think a good improvement would be for the player to be controlling speed rather than acceleration.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by sopooneo on Saturday September 29, 2012 @01:19AM (#4588898)
Or maybe direction and acceleration, ala asteroids?
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by dmak on Saturday September 29, 2012 @09:08AM (#4589433)
You cannot possibly win. It's hard to move around with so much momentum. If you try to maneuver the sides to try to get the little circles, then you have a higher chance of hitting a big one because they absorb everything and anything. As you get bigger, the circles that spawn are bigger and just are absorbed by the huge pieces and increase exponentially before I can get any pieces.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Aardwolf on Friday September 28, 2012 @07:16AM (#4584992)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Achshar on Friday September 28, 2012 @08:15AM (#4585108)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by lathamcity on Saturday September 29, 2012 @12:10AM (#4588804)
I didn't know it had a point at all besides surviving for as long as possible. I made my little 4 pixel bubble survive for almost ten minutes purely out of curiosity, to see just how massive this one bubble would get. Then I accidentally hit a blue one and, surprise, it makes me bigger.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by mercuryrising on Friday September 28, 2012 @01:31PM (#4586729)
Nice work, reminds me of that arcade game where you eat different types of fish. There's always that anticipation that what you're trying to eat will actually eat you.

I really like how you don't have to press anything to play again. It makes me keep playing.

Bubbles of the same size should bounce off each other.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Wingman4l7 on Friday September 28, 2012 @07:03PM (#4588225)
What arcade game is that? I can only think of Odell Down Under, but that was an old PC/Mac game...
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Kroem3r on Saturday September 29, 2012 @02:06AM (#4588946)
How about conservation of momentum?

Or, introduce levels of difficulty - perhaps as something slightly subtle like ratio of the space-bar missile?

The invisible zones as you wrap around to the other side are way too big.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by nviarnes on Saturday September 29, 2012 @12:10AM (#4588803)
Not gonna read all the comments to see if this has been said but you need to set a max velocity for the player.

Hold down up and right from the start of the game and watch as you break the game :)

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by nviarnes on Saturday September 29, 2012 @12:13AM (#4588807)
Also if you shoot before you move you shrink yourself. Intended?
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by jcampbell1 on Friday September 28, 2012 @09:50AM (#4585466)
This is an amazing combination of osmos with a bit of asteroids. The game play is excellent. I really hope this gets turned into a full game with levels.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Casseres on Friday September 28, 2012 @12:12PM (#4586243)
Great game!

It needs a way to keep score or timer on how long you last.

It took about 10 games before I became good at it, and I had to read the comments here to figure out the space bar.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by SeanDav on Friday September 28, 2012 @04:41PM (#4587692)
Got some good potential. I think a much bigger playing field would be a good idea, or smaller relative bubbles. Homing bubbles etc could be fun.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by crazypyro on Friday September 28, 2012 @01:03PM (#4586538)
Fire a few bullets, hold right or left arrow, never die. Left it on while I went to class for an hour just to test. Still alive.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by jtms on Friday September 28, 2012 @10:37AM (#4585713)
Are you using a framework?
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by franze on Friday September 28, 2012 @10:58AM (#4585836)
canvas (well, it is a framework, a native in-browser pretty low-level framework, but it's a framework. other than that? no, i just followed the instructions in this tutorial http://www.html5rocks.com/en/tutorials/canvas/notearsgame/ and took it form there)
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by adito on Friday September 28, 2012 @10:42PM (#4588677)
Moral of the game: When you grow big, you will have big enemy. If you keep yourself small, you will just face small enemy.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by serverhorror on Friday September 28, 2012 @05:37PM (#4587912)
I hate you!

Just spent an hour with your game :)

(In case it's not clear, I think it's great and somewhat addictive, a few rough edges but really great)

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by bbarrows on Friday September 28, 2012 @07:30PM (#4588294)
If you get going fast enough it looks like the collision detection skips over bubbles.. Pretty fun game tho
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by kbkb on Friday September 28, 2012 @12:59PM (#4586523)
I woke up early and then proceed to kill 30 minutes on this instead of getting to work on time :-/
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by georgeecollins on Friday September 28, 2012 @06:22PM (#4588082)
This is really cool, I started playing immediately and wanted to keep going. Good job.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by highace on Friday September 28, 2012 @07:04AM (#4584965)
Great concept, very frustrating!
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by ollysb on Friday September 28, 2012 @07:06AM (#4584973)
Rather than wrapping around it might be fun to bounce off the edges of the game area.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by saurabh on Friday September 28, 2012 @08:35AM (#4585164)
franze, this is one of the best games I've ever played. It's strangely satisfying.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by wreckimnaked on Friday September 28, 2012 @04:03PM (#4587524)
Nice idea. Maybe a zoom-in / zoom-out control would be interesting for gameplay.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by oal on Friday September 28, 2012 @07:45AM (#4585051)
I made something similar with the Khan Academy CS tools a while back: http://www.khanacademy.org/cs/subpixel-survival/996062559
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by jps359 on Friday September 28, 2012 @08:45AM (#4585189)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by nicklovescode on Friday September 28, 2012 @12:57PM (#4586515)
Reminds me of a super simple game I wrote a few years ago to try out processing.js - http://nickcammarata.com/processing/
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by notJim on Friday September 28, 2012 @05:58PM (#4587997)
Whoa, this game is awesome. I especially like how you can figure out ways to get the flying things trapped in the center by orbiting them carefully.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by kbkb on Friday September 28, 2012 @01:03PM (#4586536)
Pro-tip: turn flying things into a murmuration :-)
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by truebecomefalse on Friday September 28, 2012 @07:23AM (#4585008)
If you hold down left and right it gets very odd. It is reproducible.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by neilbowers on Friday September 28, 2012 @07:20AM (#4585000)
Nice, needs a bit more complexity and slightly less frustration :-)
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by aw3c2 on Friday September 28, 2012 @07:01AM (#4584953)
On a height of 600px the cursor up and down keys scroll the window.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by franze on Friday September 28, 2012 @07:04AM (#4584966)
this and the fact that it's very very very hard to win is where the "unfinished" part (and the forking) comes in.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by brandoncarl on Friday September 28, 2012 @10:41AM (#4585725)
Fun! Now all you need to do is put some pigs and birds in it :)
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by k2xl on Friday September 28, 2012 @10:51AM (#4585795)
this is pretty cool, i actually built a similar game in flash a while back, the problem with the version i made (which you address here) is that it always ended up with my dot and one big ass dot. hence allowing me to win or lose very easily. with your version you not only spawn circles based on your size, but you also include shooting. nice work!

i think if you modify the shooting mechanic to work with the mouse, it would make the game a bit easier to control.

Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Wingman4l7 on Friday September 28, 2012 @07:15AM (#4584989)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Roelven on Friday September 28, 2012 @08:00AM (#4585077)
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.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by iamkhush on Friday September 28, 2012 @07:20AM (#4584996)
Awesome game..shared with my friends ..we all loved it
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by dlsym on Friday September 28, 2012 @02:15PM (#4586975)
Very... absorbent. You really get... sucked in.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by chrisu_de on Sunday September 30, 2012 @03:39PM (#4593863)
It does not matter how much karate you know, someone else will allways know more. - there are allways bigger bubbles.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by arcatek on Friday September 28, 2012 @11:54AM (#4586142)
These balls are too damn big !
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Floopsy on Friday September 28, 2012 @07:40AM (#4585041)
That's pretty cool! Good job.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by donkeylipstick on Friday September 28, 2012 @10:03AM (#4585543)
Reminds me of Osmos. Nice work but you should include instructions.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by MojoJolo on Friday September 28, 2012 @07:29AM (#4585018)
Hi, I don't know but I think the page is not loading. Is it down?
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by Edmond on Friday September 28, 2012 @08:43AM (#4585184)
if you don't mind I am going to port it to phyzixlabs.com :)
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by ryangallen on Friday September 28, 2012 @03:09PM (#4587252)
Can you make it work on mobile with controls on the page?
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by exolab on Friday September 28, 2012 @09:04AM (#4585271)
a) Far too difficult b) Addictive c) Ouch, my fingers.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by craig552uk on Sunday September 30, 2012 @11:41AM (#4593107)
Cool. Needs full screen, a timer and a leader board.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by orolo on Friday September 28, 2012 @04:04PM (#4587529)
Fun game. Good Job.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by gurpreet42 on Friday September 28, 2012 @07:00AM (#4584948)
I like this game.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by geuis on Friday September 28, 2012 @03:46PM (#4587445)
Support for touch events on mobile perhaps?
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by vld on Friday September 28, 2012 @08:50AM (#4585208)
This needs gravity-like behavior!
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by fmugs on Friday September 28, 2012 @11:07AM (#4585904)
looks like a Flash game from 1999
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by DelvarWorld on Friday September 28, 2012 @04:09PM (#4587549)
I like how you punish people for playing the game with the worst controls ever created
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by sebastianmarr on Friday September 28, 2012 @07:08AM (#4584976)
I don't see the value of this submission. An Osmos clone in HTML 5. Great.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by tsahyt on Friday September 28, 2012 @07:21AM (#4585004)
It's a game. It's fun. That's the value.
Re:Show HN: Bubbles - my unfinished HTML5 Particle Game by gknoy on Friday September 28, 2012 @01:57PM (#4586896)
Also, as mentioned above, it has code that we can read. Thanks!