Skip to content

lwz7512/love2d-made-easy

Repository files navigation

love2d-made-easy

To simplify the Love2d game development steps and tools involved for beginners, Love2d Made Easy (abbr. LoveME) adds launch game button to the top menubar based on Shortcut Menu Bar. Meanwhile, love2d code autocomplete is also included in this plugin for the convienence of love code input. Last but not the least, couples of code generators and boilerplates offered in love commands to help getting started quickly.


Screenshots & Demos

  • Click Love2d Run to start love2d game(main.lua required in project root folder).

love2d button

  • Use command to generate main.lua.
    • Shift + cmd + p to open commands palette
    • then input create main.lua and press Enter key

create main.lua

  • More to coming...

Features

  • love2d game Launch button
  • Love API autocomplete
  • main.lua generator
  • Interactive project generator
  • Sprite/GameObject/Entity/State generator

Requirements

Extension Settings

From menu:

  • on Mac, Code/Preferences/Settings/User/Extensions/Love2d Made Easy, check/uncheck to enable/disables the buttons show up on the right top of vscode.
  • on Windows, ...

Known Issues

If any problems, please submit issues on here

Release Notes

Each of release list below and features included.

1.0.0

Initial release of Love2d Made Easy(LoveME)

  • love2d game launch button
  • love2d code autocomplete
  • main.lua generator

1.0.8

Stable version for love API autocomplete.

1.1.0

Windows 10+ support after one year silence. when press love2d heart icon, it will check os type. If process.platform is win32, "C:\\Program Files\\LOVE\\love.exe" will being used to start a love2d program(main.lua). Otherwise, assume the platform is MacOSX for the time being(that means no linux support currently).

If user selected the different location to install love2D other than default "C:\\Program Files\\LOVE\\love.exe", it's ok, open File/Preferences/Settings/Extensions/Love2d Made Easy, scroll down to the end of options and change the value of Windows Love2d Path:

love2d.exe windows path setting

@2022/01/17

1.10.2

fix issue: The run button is a grey square by remove unnecessary commands

@2023/10/12

1.10.3

fix issue: File paths with spaces not resolving

@2023/12/15

Sponsored by

Enjoy!