Engine Of Love
Posted: Fri Apr 12, 2013 6:48 am
"Engine Of Love" is a framework for the LÖVE game engine and provides additional functionality
- management of user preferences
- configurable key bindings for changing screen, audio and debug settings while the program is running
- scales and centers the screen to any resolution (needs canvas support)
- FPS capping with configurable key bindings
- OSD (on screen display) of any message with customizable appearance
- debug information which can be shown inside the window, user can add a table with own debug parameters, appearance is fully customizable
- provides a boolean variable for easy (un)pausing game if window is (de)focussed
- release vs. development: if t.release is true, Lua debug functions are disabled
repository and extensive documentation
https://github.com/humansarepuppies/engineoflove
how to use
Just put the "engineoflove" folder into the main directory of your game and put this at the beginning of your main.lua:
All the additional functions are immediately available.
configuration
Everything which is configurable is inside prefs.lua and keys.lua.
When your game is started for the first time, all preference items with x (exposed) set to true are written to user exposed configuration files in your standard Love save game folder.
Once these files are there, they override the original configuration items (only those with with f (fixed) set to false).
default keys
F1 decrease screen size
F2 increase screen size
F3 toggle fullscreen
F4 toggle vsync
F5 decrease FSAA
F6 increase FSAA
F7 toggle audio mute
F8 decrease volume
F9 increase volume
F11 toggle debug display
F12 switch debug user/system page
ESC quit program
KP- decreases FPS capping
KP+ increases FPS capping
I've attached the framework itself and a demo showcasing some features of EOL.
Would be nice if you could send me any suggestions, also if you find bugs, send them to me
Greets,
vitaminx
- management of user preferences
- configurable key bindings for changing screen, audio and debug settings while the program is running
- scales and centers the screen to any resolution (needs canvas support)
- FPS capping with configurable key bindings
- OSD (on screen display) of any message with customizable appearance
- debug information which can be shown inside the window, user can add a table with own debug parameters, appearance is fully customizable
- provides a boolean variable for easy (un)pausing game if window is (de)focussed
- release vs. development: if t.release is true, Lua debug functions are disabled
repository and extensive documentation
https://github.com/humansarepuppies/engineoflove
how to use
Just put the "engineoflove" folder into the main directory of your game and put this at the beginning of your main.lua:
Code: Select all
require "engineoflove"
configuration
Everything which is configurable is inside prefs.lua and keys.lua.
When your game is started for the first time, all preference items with x (exposed) set to true are written to user exposed configuration files in your standard Love save game folder.
Once these files are there, they override the original configuration items (only those with with f (fixed) set to false).
default keys
F1 decrease screen size
F2 increase screen size
F3 toggle fullscreen
F4 toggle vsync
F5 decrease FSAA
F6 increase FSAA
F7 toggle audio mute
F8 decrease volume
F9 increase volume
F11 toggle debug display
F12 switch debug user/system page
ESC quit program
KP- decreases FPS capping
KP+ increases FPS capping
I've attached the framework itself and a demo showcasing some features of EOL.
Would be nice if you could send me any suggestions, also if you find bugs, send them to me
Greets,
vitaminx