Search found 39 matches
- Tue Jul 15, 2014 10:00 pm
- Forum: Libraries and Tools
- Topic: Notepad++ xml file for LÖVE 0.9
- Replies: 11
- Views: 7073
Re: Notepad++ xml file for LÖVE 0.9
How does one use this file with npp? Thanks. Unfortunately, Notepad++ doesn't make this easy. currently, the easiest way is to go into the APIs folder, and rename "lua.xml" to "lua.xml.old", and then copy/paste "love.xml" and rename it "love.xml" this method ...
- Mon Jul 14, 2014 11:57 pm
- Forum: Libraries and Tools
- Topic: Notepad++ xml file for LÖVE 0.9
- Replies: 11
- Views: 7073
Re: Notepad++ xml file for LÖVE 0.9
Just added it here. Sorry if it looks messy, I just spent the last three hours learning gitPositive07 wrote:As I told you, you can git it somewhere and I would be glad to help you making it (remove and update functions)
- Sun Jul 13, 2014 2:37 am
- Forum: Libraries and Tools
- Topic: Notepad++ xml file for LÖVE 0.9
- Replies: 11
- Views: 7073
Re: Notepad++ xml file for LÖVE 0.9
Sorry I took so long to respond, I didn't have access to a computer. I get part way through just removing some functions and updating others, when I hit this incredibly unorganized part, and I will have to rewrite a bit of it, so it may take longer than expected. I will definitely keep people up to ...
- Thu Jul 03, 2014 3:30 am
- Forum: Libraries and Tools
- Topic: Notepad++ xml file for LÖVE 0.9
- Replies: 11
- Views: 7073
Notepad++ xml file for LÖVE 0.9
I'm working on a LÖVE 0.9 xml file for Notepad++. Would anyone be interested in helping or using it when I'm finished?
- Wed Jul 02, 2014 10:32 pm
- Forum: Support and Development
- Topic: How do I make an image change when clicked?
- Replies: 5
- Views: 2864
Re: How do I make an image change when clicked?
There is a simple command that you can use statements for such a thing and it's called "switch" Except lua doesn't have a switch/case statement. Nor does it look like c... you could emulate it with an if x then do this elseif this then do this else do this end statement, but that could ge...
- Wed Jul 02, 2014 7:00 pm
- Forum: Support and Development
- Topic: How do I make an image change when clicked?
- Replies: 5
- Views: 2864
Re: How do I make an image change when clicked?
Basically you want to wait for a click (with mousereleased ), check that you clicked on the original image, and replace it with your new one. function love.load(args) img = love.graphics.newImage("original.png") end function love.mousereleased(x, y, button) if x > 10 and x < 10 + img:getW...
- Wed Jul 02, 2014 4:56 pm
- Forum: Support and Development
- Topic: How do I make an image change when clicked?
- Replies: 5
- Views: 2864
How do I make an image change when clicked?
I want to draw an image on the screen, and make it change to a different image when the user clicks on it. How would I do that?
- Sat Jun 28, 2014 5:06 am
- Forum: Support and Development
- Topic: window.setIcon Keeps Returning Errors
- Replies: 2
- Views: 1366
Re: window.setIcon Keeps Returning Errors
Hi, thanks for such a fast response, and sorry for not using the code tag, i didnt see it.
changing the capitalization fixed it for me, and with that, I have just made the dumbest programming mistake in my life.
Thank you for the help!
changing the capitalization fixed it for me, and with that, I have just made the dumbest programming mistake in my life.
Thank you for the help!
- Sat Jun 28, 2014 4:35 am
- Forum: Support and Development
- Topic: window.setIcon Keeps Returning Errors
- Replies: 2
- Views: 1366
window.setIcon Keeps Returning Errors
'm trying to set the icon in my love 0.9 code, but whenever I run it, i get a an error that says Error: main.lua:8: bad argument #1 to 'setIcon' (ImageData expected, got Image) stack traceback: [C]: in function 'setIcon' main.lua:8: in function 'draw' [string "boot.lua"]:438: in function <...