josh-perry / acid-rain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LOVE VSCode Game Template

A fully configured VSCode template for LOVE

Features

Prerequisites

LΓ–VE and Makelove 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 Workspace.code-workspace file with Visual Studio Code. You will be prompted that there are recommended extensions and if you want to install these. Click 'Install'.

3 - Configure the Game/conf.lua and Tools/build/makelove.toml with the settings specific for your game.

4 - Configure the Root/.editorconfig to your liking for code styles.

5 - Change the Root/LICENSE file to a swap out my name for your name, or change it to a license of your liking.

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.

Structure

β”œβ”€β”€ /Game
β”‚   β”œβ”€β”€ /assets         Contains the game's assets
β”‚   β”œβ”€β”€ /lib            Contains external libraries
β”‚   └── /src            Contains the game's source code
β”‚
β”œβ”€β”€ Tools
β”‚   β”œβ”€β”€ /build          Contains the makelove.toml
β”‚   └── package.json    Contains all scripts to use with NPM Scripts
β”‚
β”œβ”€β”€ Resources           Contains resources for you game that should not be shipped, like raw audio
β”‚
β”œβ”€β”€ Builds              Contains the builds of your game made with makelove
β”‚
└── Root                Root access to the workspace

About

License:MIT License


Languages

Language:Lua 100.0%