Re:Show HN: Kaboom.js is a zero-dependency declarative JavaS...
by amasad on Wednesday April 07, 2021 @03:26PM
(#26729817)
Worth noting that while Kaboom.js is aimed at novices, it turned out to be super fun for developers too. Our team is having a lot of fun with it -- you can have an idea write a game in 30 minutes to an hour in typically less than 100 LoC. Some examples from our team and community:
- ReplJewled https://replit.com/@ConnorBrewster/ReplJeweled
- Flappy Mark https://replit.com/@slmjkdbtl/flappymark
- Bamboo Ninja https://replit.com/@RoBlockHead/KaboomJam
- Cookie Vs Oreo https://replit.com/@Coder100/COOKIE-VS-OREOS-KABOOMJS-BOOMOM...
Re:Show HN: Kaboom.js is a zero-dependency declarative JavaS...
by ngokevin on Wednesday April 07, 2021 @04:36PM
(#26730865)
Cool! Not currently working on it personally anymore but I co-created A-Frame which is also declarative gamedev library (using HTML). Seemed successful at getting non-gamedevs and webdevs to build 3D/VR for the first time, and was popular with educators and kids. An HTML interface at the top level made it much more friendly for people even intimidated by JS.
We were heavily relying on Glitch and driving bunch of traffic to them at first, but now featuring a replit as one of the starter playground examples.
Re:Show HN: Kaboom.js is a zero-dependency declarative JavaS...
by slmjkdbtl on Wednesday April 07, 2021 @04:51PM
(#26731084)
Hi! A-Frame is super interesting and I love how it has an innovative markup style and have a customizable entity component system at the same time. I've always known about it but never really dived in myself but looks like there's tons of good stuff and inspiration! Will definitely take a closer look. Thanks for replying and creating A-Frame!
Re:Show HN: Kaboom.js is a zero-dependency declarative JavaS...
by ngokevin on Wednesday April 07, 2021 @07:23PM
(#26732930)
Oh, I also made a 2D version too you can glance at the API design, it's just not super documented.
Re:Show HN: Kaboom.js is a zero-dependency declarative JavaS...
by dvfjsdhgfv on Wednesday April 07, 2021 @04:11PM
(#26730513)
I just wanted to say thank you, it looks superfun!
Re:Show HN: Kaboom.js is a zero-dependency declarative JavaS...
by basicallysteve on Wednesday April 07, 2021 @06:04PM
(#26732010)
Hey! So I discovered kaboom.js yesterday and I think it’s really cool! I’d like to starting building some games, but I was thinking about maybe making them multiplayer, running commands through websockets or something. I don’t see any ways to control character outside of key pressing or clicks. Do you think this would be possible?
Re:Show HN: Kaboom.js is a zero-dependency declarative JavaS...
by slmjkdbtl on Wednesday April 07, 2021 @06:10PM
(#26732077)
It definitely possible if you build your own networking stack, but native multiplayer support is planned! Also you can control characters through any events, like
socket.on("msg", () => { player.move(...) })
Kaboom is like a summary of me trying to learn game dev. There're a lot of tools and most of them tend to get bloaty as they go on, they often require complicated setups and hard to really for beginners to really get started, one goal of kaboom is to allow beginners to get a game up and running with no effort and start enjoying the game dev fun right away.
Using Js is because I want it to run natively on browser, also it seems like the "go-to" beginner language right now, but I'm also thinking about making Kaboom Native where it uses QuickJS + platform native APIs (thinking sokol for that) to run on native platforms, so you can write your game in Js once and run on every platform natively (so unlike other cross platform engines, it doesn't require emscripten / WASM on web)
Inspired by fantasy consoles, there's also a special editor on replit that enables you code and manage / create assets in the same environment, check it out! https://replit.com/kaboom (still in early dev)
Ask me anything!