A RPG Framework for Love2D
2f7d313ab9
Currently, the canvas was created at render size and elements where resized inside. Work a bit differenlty, by creating a canvas that have the view "true" size (meaning the scaled size), and draw everything at 1:1 size inside. Then, when drawing the view canvas, resize the whole canvas at the multiplication of both scaling. |
||
---|---|---|
datas | ||
examples | ||
gamecore | ||
CHANGELOG.md | ||
code-of-conduct.md | ||
conf.lua | ||
LICENSE | ||
main.lua | ||
README.md |
gamecore
Gamecore aim to be an integrated, simple core system for love2D. It aim to make work in a integrated way several managers to automatically handle inputs, screen, and several utilities to make game developpement easier and less repetitive.
Gamecore use Classic as its base Object
How to load GameCore
To load gamecore, you basically need the following code.
Core = require "gamecore"
function love.load()
core = Core()
end
Then you have to create some scene object,
Gamecore managers
-
Debug
-
Input
-
Lang
-
Options
-
Screen
-
Scene Manager
GameCore modules
Modules are utilies that you can load everywhere in your code and that aren't loaded specifically inside the core.
-
Scene Object
-
Assets
-
Menu System