Game(Love2D+Lua+VsCode)

develop Game with Love2D+Lua+VsCode.

Love2D

LOVE is a framework for making 2D games in the Lua programming language.

Installing /using love2d

https://love2d.org

download for windows (x64) :love-11.3-win64.exe

https://love2d.org/wiki/getting_started https://love2d.org/wiki/main_page

source code (GitHub) <https://github.com/love2d/love>

http://gameprogrammingpatterns.com/game-loop.html http://gameprogrammingpatterns.com/images/game-loop-simple.png

vs code plugin for love2d: * love2d support

Lua

http://www.lua.org/

Lua 5.3 Reference Manual <http://www.lua.org/manual/5.3/>

vs code plugin for lua: * lua (keyring) * lua debug(actboy168) * code runner

注意: * 安装LuaForWindows_v5.1.4-46.exe 前,要先安装VC2005 sp1运行时库(vcredist_x86.4053.exe),否则无法安装成功。 * Lua 包管理工具 Luarocks * vcredist下载: http://files.luaforge.net/releases/luaforwindows/luaforwindows/vcredist

vcredist_x86.4053.exe <http://files.luaforge.net/releases/luaforwindows/luaforwindows/vcredist/vcredist_x86.exe>

> lua -v

push 库

push is a simple resolution-handling library that allows you to focus on making your game with a fixed resolution. (for LÖVE)

https://github.com/Ulydev/push

aseprite

Aseprite - Animated sprite editor & pixel art tool https://www.aseprite.org/

vs code ide

download: https://code.visualstudio.com/