412 points · by lecarore · 1y ago · 189 comments
My 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.
At first I didn't know that the coins were coins, it just looked like brick particles for visual effect. Maybe having a current coin counter or visual difference would've helped.
Speaking of coins, there's a couple times when the ball and coins were too similar in color, making it hard to find the ball amid a mass of falling coins. Maybe this is by design, but some contrast between coin color and the ball would help.
FWIW it also took me a couple of levels to even realize how I was getting coins. A yellow glow around the coins or some shiny effect + clinky sounds would go a long way. The -2 +2 etc. callout numbers could also last longer on the page and just grow in size as they fade out? They were also quite hard to spot
As a huge fan of incremental games, I liked it. I just don't like brickout, haha!
Consider: (a) locking mouse (b) hiding cursor (c) fullscreen mode
Here's an example if you don't want to search docs: https://mdn.github.io/dom-examples/pointer-lock/
As other mentioned UI needs a few more iterations, but it's ok. I don't think you need to track coins during the run as you don't spend them to buy upgrades - which is not obvious and may require a change in how you communicate things - but on the other hand it's yet another thing tickle your lizard brain and generate additional dopamine boost. A life counter is a must.
Take a look at Electron or Tauri.
This is enough to put it on Steam. In current state it's a very solid freebie, and with some additional work you could charge an entry tier indie fee.
Mouse lock is a must on desktop, but you have to communicate it the user somehow so they don't get confused.
I understand your point about the game being 100kb, but once you decide to publish it on Steam the overhead doesn't matter. People are totally fine downloading 60Gb games, so couple megabytes won't hurt anyone. I gave you those two options because, at the end of the day it boils down to which platform you'll be more comfortable with and which will give you more usable options out of the box.
There is some work to be done with UI, but once you get there don't pass on Steam. If anything it will give you some bragging rights and another point in resume.
And like you said yourself, if you're willing to put some extra work, at 4-5 euro range it will be a steal on Steam. It may take some additional footwork to reach out to content creators to get some inital traction, but the concept is great and I would give it a chance.
I will say that some of the color combinations were a little punishing. White balls on a white background is a lot. Some of the perks have very murky upsides; having the ball change color isn't ever an advantage, so far as I can tell. It would be nice if the perks had mouseover explanations. Even after hours, there's still a few I have no idea what they do.
Every time I bounce a ball, there's a -1 that doesn't seem to impact the score. What's that about?
If the arcade version of Breakout had had a skill tree, Nolan Bushnell would likely be richer than Richard Branson today.
Compound interest will tank you combo… unless you use magnetism (necessary) and viscosity (very helpful), at which point you get exponential bonus going.
The perk that gives you more bonus the more bounces your ball does seems like it could be good, but it resets your bonus when you hit the ball with your paddle, so actually it is streak destroying. But maybe there’s some hidden combo with another perk?
It could be interesting if time was a component to the whole thing instead. Look at Risk of Rain for inspiration, the game gets harder as time goes by. You have a finite number of power-ups that you can unlock per map, so the player is incentivized to try and keep progressing through the maps at a good rate.
In your case, maybe the player could “buy” a +1 map bonus for their run using coins. The cost in coins could be influenced by the current time and the map number. Then, the player will have to choose between strategies that slow them down but get more coins, and strategies that let them smash their way through maps.
A couple of small translation issues I spotted: "Keep pressing here to play" should really mean "tap repeatedly", I think you should put something like "Press and hold here to play"; the other was one of the upgrade descriptions said something like "slower the ball" which I'd write as maybe "slow down the ball".
For me (Android Chrome) until you click, ie hold and release, the music doesn't play. So I went through a level in silence and got to hear the great sounds only after my first upgrade.
I love the combo of breakout and the homage to vampire survivor upgrades. Mentioning both in the title made the coin and progression mechanics already familiar and comforting.
Btw Realistic coins seems a little like skeumorphic UI design... The bricks and paddle don't look like the real world objects and to good effect.
It makes the game feels unresponsive when you lose control of the pad because of this. It also breaks immersion because you must know where your pointer is instead of being the pad.
Couldn't play more than a few levels because of this.
I had great fun playing yours. Sound design is especially good.
https://store.steampowered.com/app/3499470/Rogue_Bricks_Demo...
WARNING: This Page Has Been Quarantined
Our system has flagged this page for additional review due to potential suspicious behavior from the page owner.
If someone has asked you to download from this page and you don't fully trust them, or their behavior isn't what you recognize, then we don't recommend downloading this file until our team has reviewed the page.
Password-protecting files or pages is a technique often used by scammers in an attempt to block virus and other security scans from detecting malware. Do not trust password-protected files unless you fully trust the uploader.
Learn more about the "Try my game" Discord scam.
i struggled greatly on balancing. My solution was to make director behind the scenes to make sure player never gets bored. Downside is; game is quite hard for non breakout players. Aiming is crucial.
i did release the demo on itch.io But it lacks some features. i will update it tomorrow.
probably the classic example of this particular gameplay mechanic is crimsonland (2003, 2014), on which much of vampire survivors' gameplay is based.
Despite what other people commented, I really liked not really knowing what happens with some (most?) of the updated and having to try them to understand what they do and how to combine them. The last part is especially true: it was just SO SATISFYING when I realized that a perk I hated became my favourite once I was able to pair it properly and catch waterfall of coins :)
One thing I still don't get at all are the white and red ball "paths" that briefly appear from time to time. I don't get what they represent nor how are they triggered, especially as it doesn't look like the ball will actually do that exact path after it hits the puck (if I don't move it). It's a little annoying for the red one, that resets your coin counter, because I can't understand if I can avoid it somehow or do I have to take it as a "random debuff".
This a tremendously good game, very clean in all ways that matter. Merci beaucoup!
Below is me wilding out a bit, feel free to ignore. The take home message is: great game, thanks!!
I do however wish for two things down the road:
More focus on the run
A) some kind of tracker for where you are in the run (level 2/10)
B) a perk that lets you chose (2-4 choices) what level to go to next (so you can pick ones you like OR search for hidden combos)
C) a perk that lets you prolong the run with 1-3 levels (making it easier to score higher and also to look for hidden combos)
.
Some complexity to the unlocking system
Since you say you are inspired by Vampire Survivors I think there is a lot of space to have more complex unlocks.
Like having levelled a perk to 3 unlocks another perk, 2 level 2 perks can combine to a different perk. 3 specific perks combine to a new one, etc
Completing a set of levels unlocks a final level in the same theme.
Unlocks based on misses per level and/or run.
Unlocks based on coin-catch percentage, obviously 100%, but also others.
Even time based unlocks (completing all levels in a run under X sec, completing every level slower than the previous one, or Mario style time unlocks, so ending on 11, 22, etc)
A/ I had a current level display before, but now the menu is in its place. I guess once you pass level 1 i could display your current level instead of "menu" at the top right. I also want to show the score and multiplier, i'll have to do hard choices. B/ Yes, letting users pick the next level is a great perk, it's a bit of a code change but not that hard, i added it to the possible new perks list. C/ This perk already exists (menu/unlocks/+1 level) but you need to score a bit to get it.
I've played a lot of nova drift where the is a lot of complexity to the upgrades system in-run. In previous versions of breakout 71 you would permanently unlock perks level by level but that was a lot of code and not contributing much to the fun, so I got rid of it and you for example just unlock all 3 levels of "extra level" at total score 13000 (all run scores summed).
I did restrict some perks about ball to ball interactions (ball_repulse_ball, ball_attract_ball to having first picked the multiball perk) because otherwise they'd do absolutely nothing.
The misses, coin catch % and level clearing speeds are already tied to an in-game behavior of having more options and being able to upgrade more than once after a level, so I don't know if I'd also add another thing that depends on it. Keyboard users (where it's really hard to not miss 50% of shots) will be mad :)
I never heard of Mario style time unlocks, that sounds like silly fun. You get something for finishing the level in a sepecific amount of seconds, no matter how many minutes?
Obviously you know your game better and have a clear idea of what you want to accomplish. For me it was mostly a case of seeing a long list of unlocks and the only way forward was play another game (repeated a lot of times).
One thing I like about Vampire Survivors is that you can try to figure stuff out and for me that is a much more enjoyable way to play "just one more" run (even though I still haven't found even close to everything, which I would have if it was only time that was needed)
Anyway, thanks again for the game and good luck going forward!
If 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.
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.
It wasn't immediately obvious what the coins were for, as in i would make it so that you spend them on upgrades it ties much more clearly into why i want them.
Easy to add more special blocks i.e double ball, multipliers etc. level design could become more interesting / think about multiple level stacking, so i feel progress.
XP system is an easy add to unlock some core features maybe a backpack/weapons, things that add simple bulk to the game.
In general a great prototype, watch people play the game and correct peoples first time user experience. You might also need to add a few words to the very first round to help people understand the goals!
I randomly downloaded it from F-Droid a few days ago, and I've played it a lot (100% unlocked and 66k high score so far, still looking for even more strategies though).
I wanted to bring to your attention a bug that can abruptly end a run: the Respawn perk may cause the ball(s) to keep floating in the void, with no bricks left to hit (it has happened twice, I suppose it's related to Respawn but can't be 100% sure).
Also, I've read in a few comments about features and stuff: I think they're not really needed and even potentially harmful. I love the game simplicity.
What could be improved, in my opinion, is that:
1. The onboarding feels weird
It took me a while to understand how the game really worked. As an example, the metrics for getting upgrades and choices is not explicitly stated in the app, I had to figure it out myself (although I later found some details on the mechanics after digging your website and other sources like HN). A quick optional tutorial may be helpful.
(Other things that were unclear to me at first were the combo and miss indicators. I've notices that the web version does a much better job at signalling misses, I guess probably F-Droid lags behind as usual.)
2. Players can't choose the initial perk
Random is great, but if I'm going for a specific strat I may have to reset a bunch of times to get something I can work with. Which brings us to...
3. Players can't easily reset the run
If I want to restart, I have to (1) find out what perk I have and (2) literally lose the ball. It would be nice to (1) know in advance the starting perk and (2) have a reset button or option in the menu.
Last but not least, there's the game balancing aspect. I feel that some perks are really detrimental to your score, which makes some strategies are clearly superior and others just not viable unless you're optimizing for some other metrics (i.e. you're speedrunning, so time becomes more valuable than coins).
An idea would be to refine the combo increase/decrease and/or upgrade system and/or the ultimate goal of the game, i.e. making top score categories for "most coins", "less time", "least bricks broken", etc.
All in all, the game is already great as is – so I hope it won't change too much.
Thanks for your efforts!
1. I'll improve the onboarding, but it's a balance between too much text and too little. I think i'll "unlock" some things like the default perk, extra upgrades by playing better, etc.. after a while, and explain them at that time.
2. You can click menu/unlocks/perk name to try the perk, but only for one level. Maybe i could instead start a normal run with that perk.
3. clicking the score at the top right lets you see what perk you have and restarts the game. The button didn't work at some points, but in the latest version (web) it definitely works. Again, it's a "missing tutorial" issue, more than "missing features"
4. The game indeed has a dominant strategy, I haven't reached 66k high score at all, but I can see some perks work better than others. I was thinking about a challenge of not using a perk. So, high score without multiball. High score without hot start. This would make alternative strategies more interesting to develop. Another option would be "hard mode", where the bricks take more hits, perks are rarer, missing resets the level score, missing a coin reduces score... some new level of challenge basically.
I think all those points can wait a bit though, except the ball stuck one, where i'd love to have more details. If you play on web, you can turn game recording on in the menu, and share the video of any odd behavior. This bug is at the top of my todo, but I also have a job and it's not easy to reproduce, so it might take a little while to fix it.
2. Yeah, I noticed. It'd be great if the run would continue from there!
3. Oh, I had never noticed that (maybe because it doesn't really look like a button nor a link). Totally not a "missing feature" issue then (and maybe more like an affordance issue).
4. All nice ideas, but as you mentioned they can definitely wait. Also, let me reiterate that the game is already great, no big change is needed in my opinion. A few small additions might be nice, but I'd keep it simple (and from what I could gather we should definitely agree on this one).
As for the bug, I'll see if I manage to reproduce it on the web version when I have a bit more time. And don't worry about the fix, there's no hurry of course.
(I already emailed the videos to Renan, I'm posting this here to the benefit of all future lurkers).
1. The ball goes through Sturdy bricks sometimes, but it does not break nor bounce back after hitting them (and indeed this does not cause a miss). I guess this is somehow related to Color Piercing or Piercing (or both).
2. Easy Cleanup activates twice if the latest Respawn happens before all the coins have been caught or fallen off screen (I had Lv 1 on both perks). Here's what happened: the ball hit the second to last brick, the last one is automatically destroyed, but then another one gets respawned and quickly destroyed again.
The first one is a bit jarring, the second one is so marginal that I doubt it even warrants the time investment (but I thought you better knew about it).
Also, two more non-bug related updates:
3. Boring cheat – I found out a way to farm points: if you have Respawn Lv 3 or 4 you can endlessly hit the same cluster of bricks, and if you manage to put the pluck in a comfortable position (i.e. straight line) it's very easy to farm plenty of coins with the aid of appropriate combo perks. No video though, this happened on the app while I was playing casually (it's quite easy to reproduce, though). I wouldn't do that because it's mind-numbingly dull, but still I'm not sure this kind of play is intended or if it should even be allowed.
4. Combo balancing – one thing that makes the best strategy overly dominant is the way combo resets abruptly with everything other than Compound Interest, which pairs exceptionally well to Coin Magnet (which is in itself instrumental to scoring high). If the other combos would scale down accordingly (i.e. 1 coin less when you hit the walls/ceiling/puck – or at least drop some percentage, but not all of the combo at once). This would instantly make many more strategies and combinations viable, because right now it doesn't make much sense to pair Compound Interest to any other combo perks (except in very specific circumstances).
My $0.02 of feedback: The number of lives being inside the puck as a number is distracting and makes the game look less evolved than it actually is.
I would prefer a visual indicator on the side of the game play area.
Having lives, coins and streak counters outside the play area I think would be better.
You start with just one life by the way, but if you pick up more they'll be shown as hearts at the top right near your score.
Anyhow, great job.
Here's an issue. The mouse freezes a bit at 3rd level, leading to missing the ball. Not sure if it's GC issue or input handling.
Anyway, fun game. I liked that the perks slowly seemed to ramp up from small tweaks to total game changers as I accumulated/unlocked them.
Here's a small but very frustrating bug report: if you click on "Menu", then "Unlocks", the individual unlock items are clickable. I expected clicking on them to bring up a more detailed description, or something. But it actually just instantly resets the game, without asking for confirmation.
Fyi, the perk to self-destruct the last block didn't seem to work.
The fact that the "coins" bounce when you "catch" them creates the most dissonance for me. (At the start.)
What is the roguelite (roguelike ?) / vampire / survivor element ? I don't see it.
I found myself putting my finger directly into the paddle many times. Instead of the message "Push here to play" you could create a more obvious UI element where one should press (something like the grip part of a slider). Maybe even make the grip glow when you push it for funs :-).
(Not buzzkilling anything, just genuinely curious.)
In intellectual property law you have a few different concepts including:
- copyright
- trademarks
- patents
Copyright law would generally prohibit ripping off the original assets from another game or copying their code, but it would to my understanding not prevent anyone from making a “clone” of another game as long as the assets and the code are your own. And as long as those assets of yours are actually distinct looking and not the same look or too similar to the original, and your code is your own and not something you wrote by reverse engineering the code of the original yourself. Also there is a concept called “clean room implementation” that is sometimes used where they do reverse engineer other people’s code, but the person or people doing the reverse engineering and the person or people implementing the clone are separate people and the people implementing it only look at documentation from the people that reverse engineered it without looking at any of the reverse engineered code itself.
Trademark law might prevent you from using the name “Breakout” in the name of your clone, if there is a trademark on that. On the other hand, if there was a trademark but the name has become a generic word for the thing, the holders of the original trademark might not be able to prevent you from using the name even so. I have not looked into the trademark status of “Breakout”.
Software patents might prevent you from copying mechanics from a game. For example if there is a patent relating to how Breakout works. I haven’t looked into whether there are any patents on that, as I am not planning to publish any Breakout clone myself.
- The particle effects when the block is broken is a bit disturbing and distracts from the gaming experience since they make it harder to see the ball. And since this is just a visual maybe you want to fade them out or something.
- The size of the blocks seems out of whack with respect to the paddle and ball
- The little effect when the ball hits the paddle is a neat idea!
Here's what I have myself:
https://ensisoft.com/demos/break/game.html
Made with this engine
Blocks can explode in place, but shouldn't rain as much (or any) debris that gets mixed in with ball and coins.
I like the way the changes you made look already! Has a better feel to it.
did die a few times due to dragging the mouse out of the client area... is there a pause button if someone is trying to talk to me and i cant look away?
Through the comments of the folks here, you’ve surely noticed that some people aren’t really ‘getting’ some of the stuff right off the bat. One of the toughest things about games is the visual communication aspect of it. Notice how little explanatory text most games have now — even the more low-bit style ones? Choosing coins as a mechanism is a deliberate communication strategy— it’s a game mechanic near everyone is familiar with so they don’t need explanation for how it works. A game’s (or any interface’s) visual components must be approached with the same mindset. A designer’s job is to take a step back and ask “what makes a [coin for example] look like a coin? What are the visual signals— from the most obvious, such as a metallic texture and being a round disk, that make people think it’s a coin? How do they tell it’s a coin and not a blank punch-out from a steel electrical junction box? If I take a bunch of pictures of coins into a photo editor and reduce the resolution to something extremely pixelated, what’s the lowest res I can go to while still realizing it’s a coin, and what about those coins are the few remaining pixels conveying?”
And deeper beyond that is figuring out how you can convey things like slowing the ball down without having a little icon. The cognitive load required to parse which icon you’re looking at and the implications of that is a bit much while trying to play a fast-paced reflex-oriented game. It doesn’t seem as hard as it is when you’re the one that chose the icons and configured their behavior, but especially in a deliberately casual game, people probably won’t take the time to become familiar enough with that system to push through the initial cognitive resistance. Identifying objects is a bit different than labelling a button on a control panel because it has context, physical form, and animation. A turtle might be a great way to label a slow-down button out-of-context, but maybe instead that brick could look gloopy and sticky? Conversely, maybe a speed up brick might be arcing or the shape of a lightning bolt, or vibrating like a revving engine block? Maybe you could have a little starburst where the ball teleported from and to when it teleports to visually orient the user better and on the trigger blocks include some of the graphical elements from that to identify it?
Like I said, if you’re happy with this as your personal project I’m not trying to say there’s anything wrong with it! But if you’re looking to refine the playability for broader audience, the visual design would be a great place to start.
It's a bit confusing at first to grasp that one upgrade is applied randomly at the start of the game (I think?). The first few times I played it felt like the rules were changing and I couldn't figure out what contributes to the score multiplier.
Also, when you get multiple upgrades, the text reads something like "You caught 0 coins out of 0 in 0 seconds (+1 upgrade and choice). You missed 0 times (+1 upgrade and choice)." which is a bit confusing.
Promo it to some Twitch streamers and bilibili/huya streamers in China
Instant success
I legit think someone will copy this sooner or later if you don't do it.
(Generally I think any "well known"/traditional game combined with rougelite elements can be a huge success nowadays)
I guess this is just the random aspect of a rogue-like, but it struck me as very similar to roguelikes. The fact that the experience is different everytime makes things more playable and sparks a certain sort of joy when the randomness variables compliment eachother in effective ways which you can design a game plan around.
> I think any "well known"/traditional game combined with rougelite elements can be a huge success nowadays
This is basically the entire thesis of slay the spire and why its massively succesful.
I feel compelled to note that you can also put the front rank in random positions without changing the game.
https://gitlab.com/lecarore/breakout71/-/blob/main/app/src/m...