#Lumi - A game engine with a Web and Love2d backend

1 messages · Page 1 of 1 (latest)

bold lily
#

I created Aeons Engine a few years ago on top of Kha. It is here in the projects somewhere. Then I created a few web only game engines and made some games with it. I always wanted to have a native backend as well, but I never really got into c++ so didn't get around to doing it.

I recently was using TypeScript for my engine. I enjoy the speed of building the projects to Javascript and then have it refresh in a few seconds. Native builds can take a while. I want to try to add a native backend again. That is why I decided to see if I could have a Love2d backend, because then I only have to compile to lua and run it in love which is very quick. So I'm back using Haxe!

This is the latest iteration of my engine called Lumi. It combines most of my web engine with added Love2d support rewritten in Haxe.
This is still pretty early on in development, but I have the basics up and running. I want it to be a flexible framework with smaller libraries on top you can choose to add or build your own instead. At the moment all in a monorepo to make it easier to develop multiple things at the same time.

I will be adding updates here as I make more progress.

#

These are the libraries I have created so far:

-The core framework Lumi

I also created Lov2d haxe externs with a generator written in Haxe called hxlove
And externs for the profile.lua profiler to see performance issues in Love2d hxprofile.lua

The build tools include an automatic sprite atlas generator, a tilemap tiles extruder and exporting a .love package for love2d.

One of the things I found so far is that you have to be a bit careful with how you write your code when generating lua. You can cause some bad performance issues a lot easier than when compiling to javascript.

bold lily
#

Working on Lumi.collisions, little AABB quad tree physics library for Lumi. This is showing only the debug draw view. Normally you would have sprites connected to the bodies. I'm planning to add box2d support to the web backend in the future and Love2d already come with it. But a lot of the times I don't need a full physics engine and this is enough.

bold lily
#

I have started on an examples website at https://examples.lumi2d.com/. I'm going to add small examples to show how the engine works and to test out the engine at the same time. At the moment there are only 2 examples. More to come soon.

Lumi Examples

Little example projects made with Lumi