All Projects → EmmyLua → Emmy-love-api

EmmyLua / Emmy-love-api

Licence: other
LÖVE2D API

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to Emmy-love-api

Boipushy
Input module for LÖVE
Stars: ✭ 138 (+283.33%)
Mutual labels:  love2d
love-animation
💚 A minimal Love2D animation library
Stars: ✭ 26 (-27.78%)
Mutual labels:  love2d
HotUpdateSolution
Hot update solution for unity3d
Stars: ✭ 30 (-16.67%)
Mutual labels:  emmylua
Gooi
LÖVE GUI Library
Stars: ✭ 168 (+366.67%)
Mutual labels:  love2d
Stalker X
Camera module for LÖVE
Stars: ✭ 212 (+488.89%)
Mutual labels:  love2d
vudu
GUI based in-game debugging system for LÖVE
Stars: ✭ 21 (-41.67%)
Mutual labels:  love2d
G3d
Simple and easy 3D engine for LÖVE.
Stars: ✭ 135 (+275%)
Mutual labels:  love2d
SNKRX
A replayable arcade shooter where you control a snake of heroes.
Stars: ✭ 1,067 (+2863.89%)
Mutual labels:  love2d
Lovetoys
🍌 a full-featured Entity-Component-System framework for making games with lua
Stars: ✭ 252 (+600%)
Mutual labels:  love2d
logivi
Git visualisation software written in Lua.
Stars: ✭ 16 (-55.56%)
Mutual labels:  love2d
Goluwa
a game framework written in luajit
Stars: ✭ 173 (+380.56%)
Mutual labels:  love2d
Love Api
The whole LÖVE wiki in a Lua table.
Stars: ✭ 209 (+480.56%)
Mutual labels:  love2d
RetroLove
A collection of simple games built with the LOVE game framework.
Stars: ✭ 13 (-63.89%)
Mutual labels:  love2d
Awesome Love2d
A curated list of amazingly awesome LÖVE libraries, resources and shiny things.
Stars: ✭ 2,191 (+5986.11%)
Mutual labels:  love2d
drop
A LÖVE visualizer and music player
Stars: ✭ 17 (-52.78%)
Mutual labels:  love2d
Love2d arkanoid tutorial
Tutorial on making a full-featured arkanoid (breakout)-type game with LÖVE framework.
Stars: ✭ 137 (+280.56%)
Mutual labels:  love2d
mojave
The desktop arcade-style game board for Battlesnake 🐍
Stars: ✭ 38 (+5.56%)
Mutual labels:  love2d
lua-namegen
Lua Name Generator
Stars: ✭ 48 (+33.33%)
Mutual labels:  love2d
LoveNES2D
NES emulator for Love2D
Stars: ✭ 23 (-36.11%)
Mutual labels:  love2d
screenmanager
Stackable Screen/State Management for the LÖVE framework.
Stars: ✭ 29 (-19.44%)
Mutual labels:  love2d

Emmy-love-api

A script to generate LÖVE API autocomplete files for EmmyLua.

How to use it

  1. Donwload or clone the LÖVE API into a directory on your computer (if you want the API for an older version, check the "releases" of that repository).
  2. Create a directory named api in the directory, do not put any files in there or run anything in it.
  3. Download genEmmyAPI.lua from this repository into the same directory (either click on the filename and click "Raw" and save the file, or donwload or clone repository to your computer and move the file over).
  4. Run genEmmyAPI.lua in the directory, i.e. run lua genEmmyAPI.lua in the terminal. This will generate the API autocomplete files in the api folder.
  5. Copy the api folder into your project's source folder, the same folder where main.lua is (you can rename it whatever you want, it doesn't have to be called api).

Once you start or refresh your IDE (might be automatic) you should have autocomplete and quick documentation for LÖVE!

Other LÖVE versions

When you want to change the LÖVE version you use, just delete the api folder from your project, and redo the steps above for the appropriate version of the API.

Example workflow (Linux)

kirby@devbox:~/devel$ git clone https://github.com/love2d-community/love-api.git
Cloning into 'love-api'...
remote: Enumerating objects: 34, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 4170 (delta 15), reused 15 (delta 3), pack-reused 4136
Receiving objects: 100% (4170/4170), 4.29 MiB | 3.90 MiB/s, done.
Resolving deltas: 100% (2617/2617), done.
kirby@devbox:~/devel$ git clone https://github.com/kindfulkirby/Emmy-love-api.git
Cloning into 'Emmy-love-api'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 210 (delta 1), reused 2 (delta 0), pack-reused 201
Receiving objects: 100% (210/210), 186.86 KiB | 898.00 KiB/s, done.
Resolving deltas: 100% (91/91), done.
kirby@devbox:~/devel$ cp Emmy-love-api/genEmmyAPI.lua love-api/
kirby@devbox:~/devel$ cd love-api/
kirby@devbox:~/devel/love-api$ mkdir api
kirby@devbox:~/devel/love-api$ lua genEmmyAPI.lua 
--finished.
kirby@devbox:~/devel/love-api$ cp -r api/ ../mygame/src/
kirby@devbox:~/devel/love-api$

Credits

Original script by https://github.com/tangzx
One tiny modification of the script, README by https://github.com/kindfulkirby

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].