29 lines
862 B
Markdown
29 lines
862 B
Markdown
Playing around with [Love 2D](https://www.love2d.org/), [Lua](https://www.lua.org/),
|
||
and [Fennel](https://fennel-lang.org/).
|
||
|
||
## Dev
|
||
|
||
### Init
|
||
|
||
Follow steps at [here](https://love2d.org/wiki/Getting_Started)
|
||
to download, install, and add Love 2d to path.
|
||
|
||
Once done games can be started with `love ./game_dir`
|
||
|
||
### Dir setup
|
||
|
||
Fennel setup copied from [~benthor/absolutely-minimal-love2d-fennel](https://git.sr.ht/~benthor/absolutely-minimal-love2d-fennel/tree/master/item/README.md).
|
||
Since fennel.lua and main.lua are the same for each game/project I put them on root level and soft linked to them
|
||
in the project folders.
|
||
|
||
```
|
||
.
|
||
├── README.md
|
||
├── fennel-1.5.3.lua
|
||
├── fennel_bootstrap.lua
|
||
└── hello_world
|
||
├── fennel.lua -> ../fennel-1.5.3.lua
|
||
├── main.fnl
|
||
└── main.lua -> ../fennel_bootstrap.lua
|
||
````
|
||
|