How do I use love2d in my IDE?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Posts: 7
Joined: Fri Dec 13, 2013 5:11 pm

How do I use love2d in my IDE?

Post by Love2dNewbie » Fri Dec 13, 2013 5:14 pm

I'm using Kozola ( - neat little IDE) and I'm not really sure how to use love2d in it.
I downloaded love2d, but I'm not sure what to do from there.
Any help? :(

User avatar
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)

Re: How do I use love2d in my IDE?

Post by Roland_Yonaba » Fri Dec 13, 2013 6:11 pm

I don't know this editor, but it looks nice, I'll check this out later.
Anyway, if your editor support custom macros, you can run directly your script if löve executable is in your system path.
Assuming the project folder is located somewhere inside a folder named myGame, run this:

Code: Select all

love myGame
If you cannot use custom macros, then, just write your lua files, then drag and drop the project folder on Löve executable.

User avatar
Party member
Posts: 175
Joined: Sun Feb 17, 2013 8:19 am

Re: How do I use love2d in my IDE?

Post by Hexenhammer » Fri Dec 13, 2013 6:18 pm

That IDE does not have support for anything except the version of Lua it ships with, thus you cannot use LÖVE directly. But you can still do what Yonaba said, edit your files with the IDE but run them manually by drag and droping the project folder on love.exe. Note that the IDE's debugger will not work for your LÖVE projects either. If you want an IDE with LÖVE support check out ZeroBrane:

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests