The complete API documentation of LÖVE contained in a lua table.
The project was originally started by Santos who did a majority of the work. He gave his permission to host the project online.
The API information is based on the LÖVE-Wiki, but updated manually. Therefore there is no guarantee that everything is correct and up to date. If you find any errors, outdated information or missing content, please file a bug report or create a pull request.
Contributions are more than welcome!
The code lives at github and the latest release can be found here.
LÖVE-API Documentation (as a lua table)
- ejmr
- Party member
- Posts: 302
- Joined: Fri Jun 01, 2012 7:45 am
- Location: South Carolina, U.S.A.
- Contact:
Re: LOVE-API
I'm probably missing something obvious, but what is a practical use-case for this?
Re: LOVE-API
Quite obviously: Procrastination!ejmr wrote:I'm probably missing something obvious, but what is a practical use-case for this?
Jokes aside, I use it to auto-generate a LÖVE-Plugin for IntelliJ IDEA for example.
I also know paulclinger uses it for ZeroBraneStudio.
- ejmr
- Party member
- Posts: 302
- Joined: Fri Jun 01, 2012 7:45 am
- Location: South Carolina, U.S.A.
- Contact:
Re: LOVE-API
Well I'm a game developer too, so procrastination is mandatory right? Otherwise we're not doing it right...rmcode wrote:Quite obviously: Procrastination!
Ah cool, that makes sense. Thanks for the example. Long ago I wrote a simple LÖVE mode for Emacs, and your example makes me think I could use LOVE-API to improve the functionality of that.Jokes aside, I use it to auto-generate a LÖVE-Plugin for IntelliJ IDEA for example.
Re: LOVE-API
Haha indeed!ejmr wrote:Well I'm a game developer too, so procrastination is mandatory right? Otherwise we're not doing it right...
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: LOVE-API
I could also imagine this being used for an interactive löve demo app, for each function say.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: LOVE-API
It could definitely be used to generate an interactive documentation. Examples could be taken directly from the wiki too now that I think about it.zorg wrote:I could also imagine this being used for an interactive löve demo app, for each function say.
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: LOVE-API
Yeah, it was talked about in the other thread, but i didn't see any progress with it; maybe i'll take it on me to do something about it after all;rmcode wrote:It could definitely be used to generate an interactive documentation. Examples could be taken directly from the wiki too now that I think about it.zorg wrote:I could also imagine this being used for an interactive löve demo app, for each function say.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: LÖVE-API Documentation
Pushed three small updates:
If you find more functions which are missing from the documentation please report them here or on github.
Code: Select all
#0.9.2c
- Fixed faulty escape sequence in love.filesystem
#0.9.2b
- Added love.filesystem.mount
- Added love.filesystem.unmount
- Added love.filesystem.setSource
- Added love.filesystem.setSourceBaseDirectory
#0.9.2a
- Fixed require statements
Who is online
Users browsing this forum: Ahrefs [Bot], SiENcE and 5 guests