r/java • u/harrysjoerd • Apr 22 '26
We made a 3D physics based brick breaker game in Java
https://www.youtube.com/watch?v=4FSX4DNuXeo
After almost 20 years of development, our Java-based game Caromble! has finally released. It runs on a custom engine built with Ardor3D and LWJGL.
Caromble! is a 3D physics-based action puzzler that blends brick-breaking, pinball, and platforming elements.
This project has been a long ride, starting back when we were CS students and continuing through jobs, life, and everything in between, all the way into our 40s. Along the way, we’ve shown it at various live events and kept iterating.
Building a 3D game in Java definitely came with challenges, but overall it turned out to be a surprisingly stable and efficient platform for this kind of project.
Happy to answer any questions about the tech stack, performance, or the journey 🙂
6
u/sarkie Apr 23 '26
Devs and providing links 😂
https://store.steampowered.com/app/347660/Caromble
4
u/demchaav Apr 28 '26
Java in 2010: "I'm an enterprise language for banking systems."
Java in 2026: *casually renders 3D physics with collision detection*
Meanwhile me trying to centre a div:
This is genuinely impressive though. If you've got the repo public I'd love to see how you handled the physics engine - JBullet? Custom implementation? The fact that Java can do this while people still think it's only good for Spring Boot microservices is the plot twist of the decade.
17
u/NotABot1235 Apr 23 '26
This is the best looking Java game I've ever seen. Congrats on the release!
I'm curious about why you used Ardor3D instead of JMonkeyEngine. Would love to hear your thoughts on the Java gamedev ecosystem.
14
u/TorontoJava Apr 23 '26
Looks cool, always happy to see java being using in Gaming.
3
u/doobiesteintortoise Apr 23 '26
That theme song is going to live in my head for a while. That's ... amazing. It looks great. Dunno if it'd be my cup of tea, but what a story and what a result.
2
u/Livio63 Apr 23 '26
Nice, which framework do you use for 3D ?
How do you deliver java runtime environment to the end user that is downloading game via Steam?
1
u/voronaam Apr 23 '26
Great job publishing it on GOG as well! I'll buy it there tomorrow.
1
u/neopointer Apr 23 '26
Very cool!
1
u/Known_Bookkeeper2006 Apr 23 '26
This is literally quite astonishing and quite good looking game, looking forward to playing it And hats off to your consistency and tenacity for keep working on this game
1
u/voronaam Apr 24 '26 edited Apr 24 '26
I can not figure out how to build lwjgl for Linux:
ant compile-templatesfails with index out of bounds exception somewhere inside Kotlin.Installed a version from GOG and playing through wine. Works good, level 3.2 is brutal.
The build is missing
textures/smoke.pngin its data pack though. Fixing the string in SmokeParticleGraphics did not solve it, so I emptied out itsspawnSmokemethod to avoid black rectangles flying - but that did not help either.Anyway, fun game
Edit: in the end I removed
spawnParticleHitinBreakOutPhysicsand the black rectangle of missing texture is gone. I am happy now :)1
u/onated2 Apr 24 '26
Can you please leave a comment for the link alone I cant click/copy paste it. Im too lazy
1
u/Reyex50_ Apr 28 '26
Did you use JavaFx?