Difference between revisions of "Cupid"

(fixed install instructions)
Line 6: Line 6:
 
== 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 the cupid.lua file in your proeject director and add a require line to conf.lua:
 
  
 
<source lang="lua">
 
<source lang="lua">
require("cupid.lua");
+
require("cupid");
 
</source>
 
</source>
  

Revision as of 12:32, 22 September 2013



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.