Difference between revisions of "Cupid"
m (Fixed link) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== Cupid is a debugging shim for Love2d. == | == Cupid is a debugging shim for Love2d. == | ||
− | + | Put cupid.lua in your project directory and make this line the first line of your conf.lua: | |
− | Put | ||
<source lang="lua"> | <source lang="lua"> | ||
− | require("cupid | + | require("cupid"); |
</source> | </source> | ||
Line 21: | Line 15: | ||
− | Download from [https://bitbucket.org/basicer/cupid/ | + | Download from [https://bitbucket.org/basicer/cupid-git/ bitbucket]. |
− | + | {{#set:Name=Cupid}} | |
− | + | {{#set:LOVE Version=Any}} | |
+ | {{#set:Description= A debugging shim providing a console, crash logging, and project reloading.}} | ||
+ | {{#set:Keyword=Debug}} | ||
[[Category:Libraries]] | [[Category:Libraries]] |
Latest revision as of 07:53, 24 November 2020
Cupid is a debugging shim for Love2d.
Put cupid.lua in your project directory and make this line the first line of your conf.lua:
require("cupid");
Out of the box you will get the following features:
- A developer console ( press ~ )
- A crash debugging window will catch lua errors
- Your source directory will be monitored for changes, and game reloaded then changes are found. (Set enable_watcher to false to disable this).
Download from bitbucket.