Breaking the core in multiple controllers #88

Open
opened 2022-11-15 14:14:17 +01:00 by kazhnuz · 4 comments
Owner

The current system with a "core" object that only contain submodule isn't really usefull, and is vastly redudant with the love callbacks. It could be replaced by a set of core managers/controllers and utilities that would handle different aspect of the game and work together.

The current system with a "core" object that only contain submodule isn't really usefull, and is vastly redudant with the love callbacks. It could be replaced by a set of core managers/controllers and utilities that would handle different aspect of the game and work together.
kazhnuz added this to the epervier 0.8.0 (beta 1) milestone 2022-11-15 14:14:17 +01:00
kazhnuz added the
1. Improvement
3. Need investigation
1. Clean-up
2. Epic
4. Birb Core
labels 2022-11-15 14:14:17 +01:00
kazhnuz changed title from Breaking the core to Breaking the core in multiple controllers 2022-11-15 14:15:35 +01:00
Author
Owner

Other linked work
-> The asset manager
-> Fusing data, options and gamesave

Other linked work -> The asset manager -> Fusing data, options and gamesave
Author
Owner

-> core/init.lua :: fuse with framework/init.lua
-> core/datas.lua :: fuse with core/options.lua, gamesystem/init.lua
-> core/debug.lua :: logger system, available globally
-> core/input.lua :: transform into a simple input-to-event-translator (maybe not available globally ?) and dispatch on different levels
-> core/lang.lua :: TODO (maybe become a ``_t("Nom Originel")`-type API ?)
-> core/music.lua :: become part of new asset manager
-> core/scenemanager.lua :: become scenes/manager.lua ?
-> core/screen.lua :: TODO

-> core/init.lua :: fuse with framework/init.lua -> core/datas.lua :: fuse with core/options.lua, gamesystem/init.lua -> core/debug.lua :: logger system, available globally -> core/input.lua :: transform into a simple input-to-event-translator (maybe not available globally ?) and dispatch on different levels -> core/lang.lua :: TODO (maybe become a ``_t("Nom Originel")`-type API ?) -> core/music.lua :: become part of new asset manager -> core/scenemanager.lua :: become scenes/manager.lua ? -> core/screen.lua :: TODO
Author
Owner

The gamesystem should also be transformed in maybe something like

require "framework"

epervier {
  startScene = "path.of.the.scene"
  -- insert game arguments here
}

in main.lua

The gamesystem should also be transformed in maybe something like ```lua require "framework" epervier { startScene = "path.of.the.scene" -- insert game arguments here } ``` in main.lua
Author
Owner

( or call the function "game" to remind the old gamesystem. )

( or call the function "game" to remind the old gamesystem. )
Sign in to join this conversation.
No description provided.