This is my experimental setup for making games with love2d.
You will need love2d installed to try out this project. To install the dependencies you will need to use bower.
$ bower install
With Bower i have a more flexible setup on my dependencies,
i can add not prepared github projects and also straight .lua
files.
I am planning on doing a some kind of ECS, but in a more database like oriented models.
Not really using entities but using the data like a relational database.
I call it "MERS"".
- Models, relational database like structures that represnts the state of the game
- Events, works like a routing system, and they are like any events in any other game structure.
- Renderes, access models in a read-only fashion, should not mutate the game state.
- Systems, they are responsible to edit the game state, listening to events.
I have no idea, that's why i am testing it, it makes sense on my mind but i need to really try it out to be sure that it works.
Yes it is, but making my own test structure i can test the code using the love2d functions and libraries.
$ love .
Change RUN_TESTS
to true in configurations.lua
and then run the "game"
as you would normally.