I can't get Love 0.10.1 to run on notepad++!
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 1
- Joined: Thu Jul 21, 2016 8:12 am
I can't get Love 0.10.1 to run on notepad++!
I need help to get Love to work on notepad++. Am having problems getting it to work please help.
Re: I can't get Love 0.10.1 to run on notepad++!
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?
Re: I can't get Love 0.10.1 to run on notepad++!
Just a wild guess, try to bind
to a keystroke of your choice. Where full path could be, for example
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.
Code: Select all
"full_path_to_love_executable" $(CURRENT_DIRECTORY) "--console"
Code: Select all
C:\Program Files\LOVE\love.exe
Note that this will invoke love's own console, it will not make you able to see love's output in npp console.
- 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++!
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!)
"$(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!)
- 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++!
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
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)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Who is online
Users browsing this forum: No registered users and 3 guests