Sweet it has been working the whole time!
I just totally misunderstood the documentation. I was expecting the file to be within the love folder that main.lua was in, not a different love folder.
thanks all.
Search found 19 matches
- Sun Feb 07, 2010 11:34 pm
- Forum: Support and Development
- Topic: Please help me with using love.filesystem?
- Replies: 17
- Views: 8598
- Sun Feb 07, 2010 10:46 pm
- Forum: Support and Development
- Topic: Please help me with using love.filesystem?
- Replies: 17
- Views: 8598
Re: Please help me with using love.filesystem?
I should have mentioned this earlier, I'm not using windows, I'm using a mac.
- Sat Feb 06, 2010 11:39 pm
- Forum: Support and Development
- Topic: Please help me with using love.filesystem?
- Replies: 17
- Views: 8598
Re: Please help me with using love.filesystem?
function love.load() love.filesystem.setIdentity("imgData") love.graphics.setCaption("Draw") love.graphics.setBackgroundColor(255,255,255) love.graphics.setColor(0,0,0) pixels={} love.keyboard.setKeyRepeat(1,1) end function love.update(dt) mouseX=love.mouse.getX() mouseY=love.mou...
- Sat Feb 06, 2010 11:20 pm
- Forum: Support and Development
- Topic: Please help me with using love.filesystem?
- Replies: 17
- Views: 8598
Re: Please help me with using love.filesystem?
It's still not working!
- Sat Feb 06, 2010 11:10 pm
- Forum: Support and Development
- Topic: Please help me with using love.filesystem?
- Replies: 17
- Views: 8598
Re: Please help me with using love.filesystem?
alright I will, thanks a lot!
- Sat Feb 06, 2010 9:43 pm
- Forum: Support and Development
- Topic: Please help me with using love.filesystem?
- Replies: 17
- Views: 8598
Please help me with using love.filesystem?
I have initialized properly (i believe) by having love.filesystem.setIdentity("folderName") in the love.load() callback but when I try: img=love.graphics.newScreenshot() love.filesystem.write("folderName/img_rawData.txt", img) it doesn't work! It's a simple thing I'm doing, but w...
- Thu Jan 28, 2010 3:43 am
- Forum: Support and Development
- Topic: problems with making very simple drawing love app
- Replies: 6
- Views: 3575
Re: problems with making very simple drawing love app
1st edit: on second thought, maybe I should just try it out!
2nd edit: btw I did it, was actually quite easy!
2nd edit: btw I did it, was actually quite easy!
- Wed Jan 27, 2010 10:51 pm
- Forum: Support and Development
- Topic: problems with making very simple drawing love app
- Replies: 6
- Views: 3575
Re: problems with making very simple drawing love app
Well, if you could help with one other thing...
How could I make the program so that it would let the user draw freely instead of pixel by pixel? I thought of having a loop going in the love.mousepressed function but I'm not exactly sure how to implement it, or if that's even the way to do it.
How could I make the program so that it would let the user draw freely instead of pixel by pixel? I thought of having a loop going in the love.mousepressed function but I'm not exactly sure how to implement it, or if that's even the way to do it.
- Mon Jan 25, 2010 4:36 pm
- Forum: Support and Development
- Topic: problems with making very simple drawing love app
- Replies: 6
- Views: 3575
Re: problems with making very simple drawing love app
Thanks for your post. Because of it, I read a short tutorial on lua tables to try and understand your solution to my problem, and I figured out how to create a simple undo function for my drawing app by using table.remove() I also changed the program to draw 1 by 1 pixel sized rectangles, so that th...
- Sun Jan 24, 2010 10:02 pm
- Forum: Support and Development
- Topic: problems with making very simple drawing love app
- Replies: 6
- Views: 3575
problems with making very simple drawing love app
Hi again! So I got the idea of trying to create a very simple drawing program where you can left click anywhere on the love window and draw a point there. So I'm using the love.mousepressed and love.mousereleased functions to get the mouse position and draw a point there, but the point doesn't stay....