Difference between revisions of "Cupid"

(Created page with "{{#set:Name=Cupid}} {{#set:LOVE Version=Any}} {{#set:Description= A debugging shim providing a console, crash logging, and project reloading.}} Put the cupid.lua file in your p...")
 
m (Fixed link)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#set:Name=Cupid}}
+
== Cupid is a debugging shim for Love2d. ==
{{#set:LOVE Version=Any}}
 
{{#set:Description= A debugging shim providing a console, crash logging, and project reloading.}}
 
 
 
  
Put the cupid.lua file in your proeject director and add a require line to conf.lua:
+
Put cupid.lua in your project directory and make this line the first line of your conf.lua:
  
 
<source lang="lua">
 
<source lang="lua">
require("cupid.lua");
+
require("cupid");
 
</source>
 
</source>
  
 
Out of the box you will get the following features:
 
Out of the box you will get the following features:
 
+
<ul>
- A developer console ( press ~ )
+
<li>A developer console ( press ~ )</li>
- A crash debugging window will catch lua errors
+
<li>A crash debugging window will catch lua errors</li>
- Your source directory will be monitored for changes, and game reloaded then changes are found.  (Set enable_watcher to false to disable this).
+
<li>Your source directory will be monitored for changes, and game reloaded then changes are found.  (Set enable_watcher to false to disable this).</li>
 
+
</ul>
 
 
 
 
Download from [https://bitbucket.org/basicer/cupid/raw/tip/cupid.lua bitbucket].
 
  
  
 +
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.