Show HN: Breakout with a roguelite/vampire survivor twist (opens in a new tab)breakout.lecaro.me
412 pointsMy girlfriend and I played a lot of the excellent LBreakoutHD, an open source breakout game that follows the traditional formula of having multiple lives, scoring points by breaking bricks and catching the good upgrades that spawn randomly and fall down, while avoiding bad upgrades.
She liked this game because it is non-violent, and doesn't make her sick like the first person 3D games. There are some issues though, it gets boring to break the last bricks, it's a bit unfair or slow sometimes, and the run length is too long with 30 something levels to clear for a high score.
I wanted to make a clone that would be fix those issues. I first tried to introduce more strategy by making the upgrades visible from the start, instead of them appearing randomly. You'd then strategize what to break first to earn more points. That first version is playable (https://breakout-v1.lecaro.me/) but a bit too complex.
I then wanted to simplify the gameplay, but make the game multiplayer in split screen (https://breakout-v2.lecaro.me/). Instead of bonus and malus, each brick drops some coins, and you need to catch them with the puck. This worked pretty well. You can play with the keyboard (A/D and LEFT/RIGHT keys) or mouse or both. The bomb explosions will blow coins around, including the coins of other players, and if you lose your ball, then a gap opens between your screen and the guy next to you, to give him a chance to lend you his ball. You can play using your phone as a controller by scanning the QR code, but make sure everyone is on the same Wi-Fi and that the the firewalls are down.
For my last version (https://breakout.lecaro.me/) is focused on the game feel and juice. It is about breaking bricks and catching coins, like the v2, but you can now pick upgrades at the end of each level. Your score unlocks more upgrades and levels that are added to the pool for the next runs. There are currently 31 upgrades and 91 levels to unlock.
Please have a try and tell me what you think. The game should run well on Firefox, safari and chrome on mobile and pc. It is available in F-Droid and on the play store, The source code is on GitLab. All links are in the game menu.
Comments (189) 55 threads
Earlier commentsIf you want some ideas for multiplayer, see if you can dig up “BattleTris” - it was a brown university cs student game that allowed networked Tetris play in the 1990s. I could be wrong but I think Bryan Cantrill was one of the people who made it. Anyway, my memory is that it had a lot of fun ways to mess with the opposing player, and you might find some good ideas in it.
https://en.wikipedia.org/wiki/TetriNET
[0] https://www.youtube.com/watch?v=VbLz79trgz8#t=14m12s
A quick note that I think I found a way to cheat that you may (or may not) want to patch (though I’ve still enjoyed my plays while “cheating”).
I’m on iPhone, and can simply lift my finger to pause the game. Putting my finger back down immediately transports the puck to where my finger lands.
So if you just keep tapping slowly where you want the puck to hit a ball or catch coins, you can easily catch most coins and still hit the ball(s), and play the game in slow motion.
I was pretty quickly able to clear a run while collecting most coins, and it became very easy to make it through without missing a ball.
I guess one fix would be to not immediately transport, and have the puck still animate towards where your finger lands.
But still, I imagine it’d still be easy to never miss a ball, because of being able to simulate slow motion. So you may need to drop the “pause on lift” altogether, and just leave the puck where it is but keep the ball(s) and coins moving.
Anyway, what a refreshing twist on an old fav. of mine. I dont even know what the console was called, but my cousin had this on an Atari cartridge thingy. Years later I wrote my own in a 4GL that no one will ever have heard of, but I never captured the feel of the original. I think this exceeds the original, well done!
I had one level completed that showed 0 out of 0 and 0 in 0, or something like that. Also an occasion where I got to pick 3 upgrades after a single level, felt like god mode or something hehe.
On my old FF(esr) it fails at ctx.fillStyle = currentLevelInfo()?.color || 'black' (game.js 148) expected expression, got '.' which is what most sites these days seem to use to crash my grumpy old browsing.
I'll give the last brick another run, thanks.
Continue this thread — 5 replies
All comments shown.
Couldn't load more comments. Check your connection and try again.