pull down to refresh

I wasn't sure whether to post this in 'gaming' or in 'bitcoin'. To be honest I wasn't even sure whether to post it at all as I have no idea what the reaction might be! Anyway, here it is...
It's basically just a bit of a twist on the classic Asteroids, with something of a Bitcoin theme. It takes a few levels of play for the 'twists' to become apparent but don't expect too much 😁.
It's playable in the browser, but it's not designed for mobile (requires keys to play).
Very fun!! Consider gamifying it.
reply
Thank you! I'm not sure what you mean about 'gamifying' it?
reply
31 sats \ 3 replies \ @ek 17 Dec
Wow, this is really good! It has a nice story that makes sense, the graphics are really well done and the gameplay is easy to understand.
Some unsolicited feedback: I think you can integrate the story more into the gameplay. I was expecting to protect a planet but it looked like I was just floating in space and destroying random innocent asteroids. Maybe that would make the game too difficult, but an additional lose condition could be a planet that get hits too many times?
A fun idea might be to integrate gravitational slingshots in some way but maybe that wouldn't be very approachable for most players.
reply
Great feedback thanks. I spent a while having the same thoughts about the planet (we're protecting a planet, so where is the planet!?). It still bothers me, and I'm not surprised you picked up on that. One thing I considered was a 'Missile Command' (remember that?) bonus level every now and then.
reply
Same era. Missile Command. Yes, I remember. Maybe there is a black hole that asteroids enter if you they are on the path. As the count builds up and gets critical, you have to enter it which brings you to a new gameplay mode that shows you the asteroids raining down on the planet that you defend much closer to home (missile command). So the story line is, intercept the asteroids in deep space, but if they get too close, defend the planet as the last resort. Clear the asteroids and re-enter the portal to go back into deep space to defend from further away.
reply
I love this idea for weaving it in to the existing game/story. I'm going to give this some real thought - maybe it can be implemented just as you described, or maybe it's an excuse for a whole new game!
reply
Brought back memories. Well done.
reply
Thanks, and thanks for playing!
reply
31 sats \ 3 replies \ @OT 17 Dec
I'll have a go later. I usually use SN on mobile.
reply
I'd love to have made this mobile compatible. It actually runs really nicely on my phone except that there is no keyboard to control it with!
reply
21 sats \ 1 reply \ @OT 17 Dec
I like it!
One thing that happens sometimes is that I lose my ship out of screen. Not sure if that's on purpose and there's a skill in controlling that.
The red ships are pretty good at destroying me. I haven't played a video game for years.
reply
I'm flattered that you'd break your multiple year abstinence with my silly game!
Assuming your screen resolution is high enough that the entire play area is visible, then if your ship leaves the play area on one side, it should immediately 'wrap' to the opposite side of the screen, same as the asteroids and the enemy craft. Maybe I've misunderstood you though.
reply
RAD!
reply
thanks!
reply
Thanks for sharing! I’m on mobile right now but can’t wait to check it out!
reply
Great, would love to hear your thoughts!
reply
Super fun! I made it to level 3 and got just over a million (fake) sats. haha
reply
excellent! Thanks for sharing. I wish it were possible to withdraw your sats from the game πŸ˜” Merry Christmas anyway
reply
You could actually do this with the Zebedee developer dashboard.
...just might want to lower the amount of sats...like by a lot. haha
Here's one I did using that.
reply
ohhh ok. I was aware of Zebedee but didn't realise that there was an API. I'm going to look into this. I have no idea how the economics would work
reply
21 sats \ 1 reply \ @jasonb 17 Dec
I was just saying as an idea. It’s a great game no matter what you do with it!
reply
well the whole time I was making it I was thinking how much better it would be if we were dealing with real sats (sadly not in the millions though). I will look into it, either for this or for something in the future
31 sats \ 1 reply \ @Skipper 17 Dec
Reached level 9. Those red enemys are too strong. πŸ₯²
reply
wow thanks for persevering past the first couple of levels 😁 Interesting you say that about the red enemies. They were originally a lot tougher - they moved a tiny bit faster, and were a little bit better at homing on your ship and were a little more accurate with their shots. I actually wondered whether they represented enough of a challenge, so it's interesting to hear you say they're too strong. Definitely something for me to think about :)
reply
Pretty fun.
reply
Thanks!
reply
42 sats \ 1 reply \ @notTim 23h
Great Job!!
reply
thank you!
reply
21 sats \ 3 replies \ @nout 17 Dec
Is it just me, or is the screen accidentally bouncing because of wrong sizing of the canvas (in Chrome on Mac)? Since <spacebar> also scrolls the page down this means that the screen keeps bouncing up and down during the gameplay.
Try
:root { overscroll-behavior: none; overflow-x: hidden; }
and removing the table on the bottom (or accounting for it in the canvas height).
reply
Thanks for letting me know about this. I haven't been able to reproduce this (I don't own a mac) but wondered if you'd mind trying this link please, to see if it fixes it for you?
reply
21 sats \ 1 reply \ @nout 17 Dec
Thank you! Yes, that solves the problem
reply
Excellent, thanks for letting me know about it. I'll update the live code with your fix.
reply
Very nicely done! A bit awkward for my window size, somehow, since the game canvas just barely exceeded the size of the page, but great sound design and the shooting and movement felt fluid.
reply
Thanks! Sorry to hear about the canvas size. I thought that would fit most resolutions and that if anything people would only want to expand it (hence the F for full screen option). I just tried using the browser zoom control to reduce the size of the canvas and it worked great!
reply
Yeah, I probably could have zoomed the page out to 90%, and it would have been fine. In my case, playing it at 100% in Brave (with bookmark bar enabled) was just enough to be too big for the browser pane on a 1920x1080 monitor in Windows.
reply
21 sats \ 1 reply \ @Roll 17 Dec
back to the old days xcellent
all the best :)
reply
thanks for playing!
reply
21 sats \ 1 reply \ @rblb 17 Dec
Cool! I like your code: no framework, no library, just a gameloop and a canvas 21/12 🫑.
reply
thanks!
reply
Will give it a spin
reply
thanks. Good luck!
reply
Good work man!
reply
thanks for playing!
reply
21 sats \ 1 reply \ @rikbona 17 Dec
so cool!
reply
Thank you!
reply
Cool game! How do I send my 0.1Bitcoin off the website?
reply
Haha now that would be neat! I would so love to be able to offer real sats as a reward but there are a few limitations...
  1. I don't know how.
  2. I'm not rich.
reply
reply
I love a good game of asteroids but sadly it was unplayable on my computer due to low framerate.
reply
Thanks for trying anyway. That's something I wondered about while developing it. There are tons of particles being shifted around at any one time and I guess some computers are going to struggle more than others. My last little project wasn't a game but it was heavily reliant on vectors and particles, and I managed to come up with a 'lite' mode. Maybe I could try a similar thing here
reply
[Show SN]
reply
kind of blew my mind a bit this morning to wake up to find that all you guys had had a quick look at my game. Some of you even seemed to enjoy it! Thanks so much 🧑
reply