I,m Saman an indie maker :)

Making games with javascript - js game engines

I have spent many hours searching for javascript libraries or platforms which ease making games for web or web based javascript games. I like leveraging DOM to make games using HTML CSS and Javascript. Here I recommend you some resources to make your life easier hopefully.

I don’t write a lot to save energy sharing more stuff and links:

Twine

Twine is an open-source tool for telling interactive, nonlinear stories. First take a look at their docs and then go to Itch.io and look for the games made with Twine, and see how fast it loads in comparison with games made by other tools. It is using the UI after all and is a reactive tool to make web apps or web games.

http://twinery.org

Gdevelop

If you like to make a platformer or such game with more features I recommend GDevelop

It has a web based game editor + a no code panel to help you define rules and it writes the javascript for you behind the scene. It is a great tool to make games for no coders and knowing js is a plus point.

https://gdevelop.io

I myself prefer to make games that leverage DOM and use the browser viewport rather than a pre-sized canvas and although I haven’t found many tools for this (Twine is one, check above) there are still great examples of games out there made by javascript web developers leveraging Html and Css animations.

Css animations are very helpful for making web based games using DOM.

👾 🕹 Check bellow:

Neal games

The amazing Neal games for inspiration on making games for web leveraging the DOM:

https://neal.fun

Neal has been my source of inspiration and a great motivation to see it is actually possible to make truly web based games. You are amazing Neal, Bravo👏

Game UI

For the game UI based on dom:

https://wiredjs.com

Is css really helpful for making games?

Yeah css animations are amazing for web based games and I have seen libraries that help you do game physics using css. (I’m still very new to this but I’ll share it with you which I think may come very helpful, http://gsap.com also make sure to check interactive animated physic based experiences made by Gsap in codepen)

Bellow is a great page which has coded and gathered css based animations helping you add juice to your web based game:

https://chr15m.github.io/juice-it

The above page belongs to Chris whose game and css library has inspired me a lot to use my web knowledge for making a game:

https://mccormick.cx

He has even monetized some levels inside his web based game which is amazing.

You are amazing Chris, bravo👏