How do I use Komodo IDE with love2d?

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
cyboic
Prole
Posts: 1
Joined: Sat Nov 20, 2010 1:26 am

How do I use Komodo IDE with love2d?

Post by cyboic »

I really love love2d and Komodo IDE.

I added

Code: Select all

lua "%F"
command to the toolbox, so i can run my lua scripts.
But what command should i use to run lua scripts with love2d?

I tried

Code: Select all

love "%F"
, and it didin't work.

Somebody please help!
User avatar
Mud
Citizen
Posts: 98
Joined: Fri Nov 05, 2010 4:54 am

Re: How do I use Komodo IDE with love2d?

Post by Mud »

Well, I've never used (or heard of) Komodo, but "%F" looks like a macro for the current filename. You should lookup it's macro for the current directory or the directory portion of the current file's path. You may also need to add Love to the path, or using the fully qualified path to Love.exe.
User avatar
zac352
Party member
Posts: 496
Joined: Sat Aug 28, 2010 8:13 pm
Location: In your head.
Contact:

Re: How do I use Komodo IDE with love2d?

Post by zac352 »

Let's see... You can't just run lua scripts with love. They have to be properly packaged. (AKA a folder, zip, love, etc.)
If you executed the parent folder, with the script named main.lua, it would work. :S
Hello, I am not dead.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: How do I use Komodo IDE with love2d?

Post by bartbes »

Since file is %F one can assume that it makes sense for the dir to be called %D, but you should check the docs to be sure.
User avatar
SolarLune
Prole
Posts: 6
Joined: Thu Dec 02, 2010 4:01 am
Contact:

Re: How do I use Komodo IDE with love2d?

Post by SolarLune »

I tried that too - I found that you need to physically link to the Love executable (C:\Program Files\Love\Love.exe, for example), with %p.. Here's an image.
Attachments
How to set up a tool (I think that's the term in Komodo IDE) for Love2D use.
How to set up a tool (I think that's the term in Komodo IDE) for Love2D use.
setup.png (17.46 KiB) Viewed 3009 times
Check out my game development progress on Twitter.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 4 guests