Live data from Hacker News

Show HN: Bubbles, a vanilla JavaScript web game

ehmorris.com

61–70 of 78 posts

Re: Show HN: Bubbles, a vanilla JavaScript web game

#61

Wow, incredible work! It seems quite novel to me and was super fast to learn and instantly fun to play! Did you consider wrapping it in a mobile mobile app to try and make a few bucks?

This is my “finally try to make something real with AI” project that I have yet to do. I have no native experience. Both for this and ehmorris.com/lander.

Oh don't misunderstand me, the game is really amazing and I don't think it has to be actually native at all - just pondering whether you might want to get it in the hands of more people and get some economic benefits from the great work you've done is all! :)

Re: Show HN: Bubbles, a vanilla JavaScript web game

#66

so what are those bubbles? divs with a border-radius of 50% that transform X and Y with random values? how is this implemented?

Everything is drawn directly to canvas including the score view:

https://github.com/ehmorris/bubbles/blob/de0c6c8b40328df9fcf...

https://github.com/ehmorris/bubbles/blob/main/scoreDisplay.j...

Re: Show HN: Bubbles, a vanilla JavaScript web game

#67
post #17

Nice. It took me a few times to realize that I could do bombs or slingshots by clicking in empty space. The tutorial makes it look like you have to click on a bubble. Maybe the black circle in the tutorial should be removed? I also got a little confused in the beginning about par vs lives. At first it seemed like par was the only important thing, since that's what pops up after the level. The lives icon at the bottom…

This. The 'black circle' in the tutorial is no good, maybe a dotted circle instead to make it clear you're supposed to be tapping empty space and not a black bubble.
Post reply on HN