Hacker News
5 years ago by slmjkdbtl

Hi! My name is tga and I'm the author of kaboom.js. I'm working at replit and this is part of the effort of us trying to make game dev more accessible to beginners & intermediate programmers.

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!

5 years ago by amasad

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...

5 years ago by ngokevin

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.

5 years ago by slmjkdbtl

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!

5 years ago by ngokevin

Oh, I also made a 2D version too you can glance at the API design, it's just not super documented.

https://github.com/ngokevin/pframe

5 years ago by dvfjsdhgfv

I just wanted to say thank you, it looks superfun!

5 years ago by basicallysteve

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?

5 years ago by slmjkdbtl

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(...) })
5 years ago by undefined
[deleted]
5 years ago by sebringj

This is the first time I've seen a dev-made musical intro video for a game platform and it was great!

5 years ago by matsemann

The video, song, logo. Everything so fun and cool, made me laugh. Really looks like the author went the extra mile.

5 years ago by slmjkdbtl

Thank you! Had fun working on that hh

5 years ago by searchableguy

Yup, totally awesome.

5 years ago by pipnonsense

That’s interesting. As side-projects I just created two sibling games using JavaScript:

https://www.gameofpainting.com

https://www.paintingpuzzles.com

I optimized for the ā€œfasted path to shipā€, so I used React only, as it is what I know. The games reflect the limitations of the tools of course. They are just tapping games with simple game logic.

It would be nice to have something more powerful but still in a language that I know (I have no intention of going full game-developer). I’ll take a look at it.

5 years ago by tartoran

Great games!!

5 years ago by Waterluvian

This is really exciting for me.

I want to make little games for fun and js/Web is the best distribution method for a fun hobby. But phaser is way too heavy for my target.

How well does it work on mobile for simple games?

5 years ago by slmjkdbtl

Hi! Thanks. Mobile is not well supported yet, but will be focused shortly, but for simple games for sure, the goal is to get a simple game out quickly

5 years ago by franklyt

How mature is this? Can I use it to teach kids? How is it more desirable than makecode arcade? I’m right in the use-case for this and have tried many alternatives.

5 years ago by amasad

Somewhat early but very usable. Check out the environment on Replit. We are exactly targeting your use-case. Feel free to email us with feedback amjad@repl.it

5 years ago by franklyt

If I may be so bold as to make your case for you, a huge pain point in the amazing software that is makecode arcade is that it pigeon holes you into TypeScript strict mode, which, while an amazing and flexible technology for seasoned engineers, it is a a very limiting and confusing convention for young learners.

5 years ago by karmakaze

I like in the 'car' demo how continuing to zoom out, you can end up with zero or even negative scale so it's rotated 180.

5 years ago by slmjkdbtl

hh yeah that's fun! try playing a game upside down

Daily Digest

Get a daily email with the the top stories from Hacker News. No spam, unsubscribe at any time.