But my code need to be cleaned, not very well documented, not very readable except to me.
if you are curious, you can look at the Git depot of the engine:
(Sorry, it's very "rough" !)
The principle of the engine is based on a "Clip", before all, you need to make a "root" clip.
Afterward, you can create child Clips who inherit the parent parameters.
You can make layers, scenes, tilemaps or anything with clip.
You can attach a component to the clip, to determinate his nature or even detach this one.
You can create your own component to extend features.
You can change anything at runtime. It's like ECS I think.
You can clone the clip too.
My aim is to create a very flexible engine for create different type of 2D games.