{"repo":"hazzard993/love-typescript-template","free":true,"listed":false,"github":"https://github.com/hazzard993/love-typescript-template","clone":"git clone https://github.com/hazzard993/love-typescript-template.git","description":"A template project to get started with a TypeScript LÖVE 2D project","language":"TypeScript","stars":38,"topics":["love2d","typescript","template-project","template"],"license":"MIT","category":"cli-tools","readme_excerpt":"LÖVE 2D TypeScript Project Template A template LÖVE 2D TypeScript Project made possible with TypeScriptToLua. You can click Use this template to clone this repo, or download it as a zip. Scripts Requires NodeJS and LÖVE 2D within your CLI. Command Description ---------------------- ------------------------------------------------ npm install ⏬ Install dependencies npm run build 🔨 Build everything npm run watch 🔨x♾ Re-build Lua files when a TS file is saved npm start 🎮 Start the game npm run fix:prettier 💄 Fixes linting issues npm run lint 💄 Checks for linting issues in code To distribute the game, see the game distribution wiki page. External files can be placed in res/ and referenced with res/ . e.g. Notes - If you're using VS Code, the Prettier extension will automatically format your code for you so you don't need to run npm run fix:prettier on every change. - Index your arrays at 0 in your source code. - Lua does not iterate over sparse arrays (arrays with no values in the middle of them). Links - TypeScriptToLua Wiki - Writing Declarations - Compiler Directives - LÖVE 2D Wiki - LÖVE 2D - Getting Started","default_branch":null,"files":null,"tree":[],"storefront":"/r/hazzard993","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hazzard993/love-typescript-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}