I can't get Love 0.10.1 to run on notepad++!

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
Pridegames
Prole
Posts: 1
Joined: Thu Jul 21, 2016 8:12 am

I can't get Love 0.10.1 to run on notepad++!

Post by Pridegames »

I need help to get Love to work on notepad++. Am having problems getting it to work please help. :cry:
User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: I can't get Love 0.10.1 to run on notepad++!

Post by Plu »

You're going to have explain a bit more about what's going wrong... what exactly are you trying to do and which parts don't work?
cval
Citizen
Posts: 58
Joined: Sun Apr 20, 2014 2:15 pm
Location: Ukraine

Re: I can't get Love 0.10.1 to run on notepad++!

Post by cval »

Just a wild guess, try to bind

Code: Select all

"full_path_to_love_executable" $(CURRENT_DIRECTORY) "--console"
to a keystroke of your choice. Where full path could be, for example

Code: Select all

C:\Program Files\LOVE\love.exe
and press that combination while you are editing main.lua
Note that this will invoke love's own console, it will not make you able to see love's output in npp console.
User avatar
HugoBDesigner
Party member
Posts: 403
Joined: Mon Feb 24, 2014 6:54 pm
Location: Above the Pocket Dimension
Contact:

Re: I can't get Love 0.10.1 to run on notepad++!

Post by HugoBDesigner »

To make my own life easier, I put all the LÖVE versions inside my Notepad++ folder, so I can run the same command:

"$(NPP_DIRECTORY)\LOVE\love-0.X.X-winX\love.exe" $(CURRENT_DIRECTORY)

Of course, one command per LÖVE version (so it can be love-0.10.1-win32, love-0.10.0-win32, love-0.9.2-win64, etc).

You can use both the Notepad's built in "Run" command (F5), then save the line of code and attribute it a shortcut. Or you can use the Npp_Exec plugin (I had problems with Notepad's Run before).

Then you can run the game by pressing your shortcut key of choice. Just make sure the file you're running is on the same folder and level as main.lua (files in subfolders won't work!)
@HugoBDesigner - Twitter
HugoBDesigner - Blog
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: I can't get Love 0.10.1 to run on notepad++!

Post by Positive07 »

I have a gist with some code and configurations for NppExec plugin which I can guarantee works rather well, even if you don't want or need the "Go to error" functionality", just check the readme in that case which has a .bat file and the command NppExec runs.

The batch file is needed because you can't get LÖVE to run directly from NppExec and get Console ouput without it
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests