LOVE-VSCode-Starter-Template

January 27, 2025 ยท View on GitHub

A minimalistically configured VSCode template for LOVE

Features

Prerequisites

Lร–VE should be in your PATH environment variable.

Setup

1 - Use this template to create a new repository for your game, then clone that repository locally.\

2 - Open the folder with Visual Studio Code. You will be prompted that there are recommended extensions and if you want to install these. Click 'Install'.
If this does not happen, install Sumneko's Lua extension and Local Lua Debugger manually.

3 - Configure the conf.lua with the settings specific for your game.
NOTE: Make sure to keep t.console set to false in love.conf. Local Lua Debugger will not work otherwise.

4 - Change the LICENSE file to your liking and/or swap out my name for your name.

In case you need help, feel free to send me (Keyslam) a message in the Lร–VE Discord server. There's also a bunch of other cool people there who are always willing to help.

Running

Press F5 to launch the game in 'Debug mode'. In debug mode you can use breakpoints and inspect variables. This does have some performance impact though.
You can switch to 'Release mode' in the 'Run and Debug' tab (Ctrl+Shift+D).
Alternatively, you can run lovec game in the terminal, but you will have debugging capabilities.