NessEngine Posted January 21, 2022 Share Posted January 21, 2022 (edited) Hi all, Announcing Shaku, new JavaScript lib for web games development: https://github.com/RonenNess/Shaku About Shaku This library handles rendering (WebGL), sound effects, input, assets, and basic collision detection. It also have some neat utilities like animators, text builder, matrices, vectors and other basic stuff, and its all written in pure JS and zero dependencies. "Another web games framework? but why?" There are many great frameworks out there, but they all (the ones I found) seem to be very high level and abstract. For example, to draw something you create a scene, add sprites to it, add camera, and the framework runs its own main loop and draw them behind the curtains. Now its nice for gamedev, but I wanted something else, something that keeps itself at API level where I can just call 'graphics.draw(texture, params)' on my own terms, and it will be immediately presented on screen. For that reason I wrote Shaku. Ofc there's nothing wrong with the other approaches, its just wasn't my cup of tea. Shaku is licensed under MIT so you can use it for whatever you want. Some Demos Here's a Fishy clone made with it: https://ronenness.github.io/Shaku/demo/game_fishy.html And a top-down "game" demo: https://ronenness.github.io/Shaku-Demo/ Other demos with sample codes can be found here: https://ronenness.github.io/Shaku/demo/index.html Feel free to leave feedback and suggestions. Thanks! Edited January 21, 2022 by NessEngine fixed broken link benny! 1 Quote Link to comment Share on other sites More sharing options...
benny! Posted January 31, 2022 Share Posted January 31, 2022 Wow - interesting project. Great demos already look very promising. Really strange that no-one else replied to this thread by now. Maybe you should point out what are the main differences between your engine and engines like Phaser or PIXI.js!? One question: I havent looked at the sources yet - but how did you create the 3D effect on the trees in the top-down game-demo? Is it done with some kind of normal map shader? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.