A RPG Framework for Love2D
Go to file
Kazhnuz ae5a001e00 examples/options: export widgets canvas as a real texture
It'll avoid screen change clearing the texture content
2019-04-13 10:39:01 +02:00
datas examples/moveplayer: test 2 players 2019-04-11 19:18:51 +02:00
examples examples/options: add basic switches widgets 2019-04-13 10:27:08 +02:00
gamecore examples/options: export widgets canvas as a real texture 2019-04-13 10:39:01 +02:00
LICENSE LICENCE: update year and name 2019-03-16 13:16:32 +01:00
README.md gamecore: load classic globally at start 2019-03-16 13:15:25 +01:00
conf.lua conf: add a default conf exemple 2019-03-16 14:49:34 +01:00
main.lua examples : add a main menu 2019-04-06 19:08:30 +02:00

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

function love.update(dt)
  core:update(dt)
  game:update(dt)
end

function love.draw()
  core:draw()
end

function love.mousemoved(x, y, dx, dy)
  core:mousemoved(x, y, dx, dy)
end

function love.mousepressed( x, y, button, istouch )
  core:mousepressed(x, y, button, istouch)
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