This is a 2d platformer protoype project, in which we will attempt to treat it as if it were a real project. Meaning, we will
This project is written in Lua using the Love2D Framework, therefore will need a copy of Love2D installed to run the game.
Depending on your OS you can access love from the command line:
$ /Applications/love.app/Contents/MacOS/love --version
# LOVE 11.3 (Mysterious Mysteries)
$ "C:\Program Files (x86)\LOVE\love" --version
# LOVE 11.3 (Mysterious Mysteries)
- Navigate to the root of the project (containing
main.lua
). - Use the following command to execute the program.
$ cd ~/Path/to/Code
$ /Applications/love.app/Contents/MacOS/love ./
$ cd \Path\to\Code
$ "C:\Program Files (x86)\LOVE\love" .\
- Open the
main.lua
file. - Update
map
to the location of your map. - Update
row
&col
to the desired spawn point of the player.
Gamestate.switch(Gamestates['scene'], {
map = 'res/maps/AA.lua', -- <- update map location here
row = 46, -- <- this is where your player will spawn
col = 20
})
The code is of course, freely available to download and do what you wish with it (except the assets we do ask you purchase any assets you use; see Credits below).
Credits are rightfully due to the following artists for their gorgeous contributions to the gaming and art world. All assets can be found and purchased from itch.io:
- Sanctum Pixel
- ...