Show HN: Bubbles, a vanilla JavaScript web game
201 points| ehmorris | 11 months ago |ehmorris.com
If you like it, you can build your own levels with my builder tool: https://ehmorris.com/bubbles/builder/ and share the levels here or via Github.
201 points| ehmorris | 11 months ago |ehmorris.com
If you like it, you can build your own levels with my builder tool: https://ehmorris.com/bubbles/builder/ and share the levels here or via Github.
SamBam|11 months ago
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 wasn't particularly noticeable to me. I just kind of figured there were only N levels, until I finally realized that dropping bubbles was making me lose lives.
Edit: Oh, and you can multi-touch and set off multiple slingshots at once! Secrets secrets...
a1r|11 months ago
megadata|11 months ago
stevage|11 months ago
BUT
Jeepers, it starts off so hard compared to the tutorial.
1. I was not expecting bubbles to move (since they are all static in the tutorial).
2. I wasn't expecting a golf/par scoring thing.
3. I didn't realise you could (and should) start powering up during the countdown at the start.
4. Took me a long time to realise you can just click quickly to create bubbles, without having to do the aim-and-shoot thing.
5. Straight away I felt like I was being insulted by having my score described as "Disaster" etc.
6. There's no way to get back to the tutorial.
So overall, I'd say:
- there are fun mechanics here
- it's good there is a tutorial
- but the tutorial did not prepare me for the game
- the game felt too hard too quickly and mean
BizarroLand|11 months ago
megadata|11 months ago
t0k0l0sh|11 months ago
Easing into the difficulty slower sounds like a good plan!
mjburgess|11 months ago
Some rougelike mechanics would also make it possible to naturally level the gameplay -- ie., the more failures a person has the more metaprogression they get, so worse players unlock a natural easy mode.
flanbiscuit|11 months ago
Doesn't work for me at all on both Firefox and Chrome (latest versions for both) on MacOS using the touch pad. I can't get past that screen on my laptop. Had to open it up on my phone to see what comes after.
Otherwise it's a fun challenging game
dylan604|11 months ago
I was playing with a magic touch mouse, and have decided it was not designed for that interaction. Assuming designed for mobile and us desktop users are just square pegging a round hole.
ehmorris|11 months ago
putzdown|11 months ago
ricardobeat|11 months ago
blinding-streak|11 months ago
simpaticoder|11 months ago
One neat thing you can do is embed an SVG favicon in your html page, which will be properly rendered at all resolutions on all major browsers - plus it saves another sub-resource request. Here is the favicon at https://simpatico.io/svg
This can help you make your already clean source even cleaner and delete some subresources. Cheers!herczegzsolt|11 months ago
IshKebab|11 months ago
zakki|11 months ago
ehmorris|11 months ago
simbas|11 months ago
thih9|11 months ago
Feedback: the concept of “lives” spoils the fun for me; I’d like to retry a level without having to replay earlier ones.
TZubiri|11 months ago
I wonder how you would fix this, I think you could "capture" the cursor, and use esc to return it, not sure if that works in the browser.
RomanPushkin|11 months ago
fyrn_|11 months ago
neogodless|11 months ago
ehmorris|11 months ago
90s_dev|11 months ago
[1] https://github.com/ehmorris/bubbles/
ehmorris|11 months ago
redbell|11 months ago
Another fun game from the same author: https://news.ycombinator.com/item?id=35032506
Minor49er|11 months ago
boutell|11 months ago
ehmorris|11 months ago
PonyoSunshine|11 months ago
colecut|11 months ago
EspadaV9|11 months ago
I beat Bubbles! 1951 over par overall
https://ehmorris.com/bubbles
Tapped 90 times: 0 hits, 90 misses Launched 2202 slingshots Detonated 1 blast
gjohnhazel|11 months ago
hakaneskici|11 months ago
sysashi|11 months ago
EstanislaoStan|11 months ago
https://ehmorris.com/bubbles
Tapped 8 times: 2 hits, 6 misses Launched 444 slingshots Detonated 55 blasts
ehmorris|11 months ago
nightpool|11 months ago
daniel_iversen|11 months ago
ehmorris|11 months ago
gjohnhazel|11 months ago
ehmorris|11 months ago
https://ehmorris.com/bubbles/builder/
owebmaster|11 months ago
Edit: yay, beat all levels after learning I can use slingshot multiple times
unknown|11 months ago
[deleted]
latexr|11 months ago
jsherwani|11 months ago
wkirby|11 months ago
ehmorris|11 months ago
tobyhinloopen|11 months ago
bosky101|11 months ago
bhavik_dand|11 months ago
vivzkestrel|11 months ago
ehmorris|11 months ago
https://github.com/ehmorris/bubbles/blob/de0c6c8b40328df9fcf...
https://github.com/ehmorris/bubbles/blob/main/scoreDisplay.j...
anentropic|11 months ago
and when trying to do a slingshot it's easy for the mouse to go outside the app and then the shot gets stuck without firing
jeffd|11 months ago
bryzaguy|11 months ago
hyperfuturism|11 months ago
touchscreen users have huge edge over desktop for sure.
higgins|11 months ago
jrks11o|11 months ago
ehmorris|11 months ago
hooli89|11 months ago
[deleted]