Introducing Kaboom Workspace
h
slmjkdbtl (54)

We've been wanting to build a game making environment on replit that empowers game creators but also allows beginners get into programming in a fun and frictionless way, this is what we're working on right now, a special workspace that's geared towards easy gamedev, Kaboom Workspace!

Featuring

  • kaboom flavored asset manager for all your scenes, sprites and sounds

  • a sprite editor that allows you to make sprites directly in the workspace, and use it directly in your games

  • handy debug tools that helps you get a grasp on game states

You'll code in kaboom.js, which is a simple game programming library.

here's a quick video guide to demo some of the features:
https://kaboom-workspace-video.slmjkdbtl.repl.co/

For code example, checkout the flappymark repl linked to this talk. This is still in active development and the first public release, more docs, guides and examples are on the way. Will appreciate any feedbacks and bug report!

You are viewing a single comment. View All
NotMrMan (119)

@slmjkdbtl I made a project and it was running slow, so I checked task manager.

Apparently, with 5 tabs open (which was at 3gb ram before), when I ran my project it spiked to 9gb, and I have 12gb.
After loading the audio first, it seems to have reduced it, but the tab still uses around 500mb-1gb on it's own.

It uses so much memory, that the replit editor crashes entirely (when running it inside the project).

Is there a way you could optimize kaboom.js?

sad computer:

slmjkdbtl (54)

@NotMrMan sorry to hear that, have you benchmarked other types of projects on replit? kaboom lib itself should be pretty lightweight 🤔 on my machine a kaboom repl tab uses 70mb on chrome

NotMrMan (119)

@slmjkdbtl it could be the audio
it's a music player, and the repl is 40mb
i'll try another one

NotMrMan (119)

@slmjkdbtl I think that my browser is the issue.
i had a single piece of text that was still using 500mb

slmjkdbtl (54)

@NotMrMan a piece of text in a kaboom repl? very weird indeed, have you tried restarting the browser?

NotMrMan (119)

@slmjkdbtl i just fully refreshed my browser data (basically factory reset it) and it's still using 500mb

slmjkdbtl (54)

@NotMrMan just sent an edit request on that repl, forking it and running it myself takes ~90mb, want to see if it goes up if i'm actually in that repl

NotMrMan (119)

@slmjkdbtl sorry, didn't show the notification
i accepted the request