This is another little game experiment I have coded in Lua targetting Löve; It currently only works in desktop and has only been tested toroughly in Linux with both Wayland and X11
↓ ← →: Movement
Spacebar: Jump
Z Key: Run
C Key: SCREAM!!!!!
X Key: Wall-grab
A Key: Pet
S Key: Continue dialogue
D Key: Use
- Entity handler
- Tile handler
- Asset handler
- Language handler
- Event script handler
- Basic physics system (lol)
- Logging system
- Dynamic music system
- Actually making something with it!
Set the following environment variables for debug features:
Variable | Description |
---|---|
MINK_DEBUG=1 |
Enable debugging features |
MINK_NODEBUGOVERLAY=1 |
Disable debug overlay features when in debug mode |
MINK_EDIT=1 |
Enable editing features (WIP) |
MINK_NOVOLUME=1 |
Disable all sound and music |
-
main.lua
: Main loop and setting up stuff -
conf.lua
: Config file for Löve stuff -
ass/
:manifest.toml
: Contains all the asset definitions and properties
-
ent/
init.lua
: Contains the loader and importer of all the entity files, manual so far, considering to move to.toml
<entity>.lua
: Contains entity definition code, a single table with a process method which gets processed every frame alongside entity properties
-
lan/
<language>.lua
: translations for <language>init.lua
: Contains the loader for all language files, automaticen.lua
: English translations, used as an example language
-
lib/
<library>.lua
: Random libraries I used for the project lol
-
scr/
<event>.lua
: An event scripting file, returns a table with the methodonPlayerInteraction
-
src/
scn_<scene>.lua
: An scene file, must contain the methodsinit
,loop
anddraw
, other methods are also available and added as neededscn_main.lua
: The main scene file, used as an example scene.utils.lua
: Random utility functions!world.lua
: Main world code, VERY complicated right now lmao.
Feel free to contribute on everything you want! Though I might take some time to reply to PRs :(
Check out the LICENSE file at this repo which covers all the .lua
, .glsl
and .toml
files which do not contain their own licenses.
Check out the CC-BY-SA 4.0 License which covers all non-code assets (.png
, .mp3
, .wav
) not explicitly set with a different license