Search found 27 matches
- Sat Jun 27, 2015 4:25 pm
- Forum: Support and Development
- Topic: Writing into TXT
- Replies: 19
- Views: 10494
Re: Writing into TXT
The appdata folder is pretty hidden on most systems, but at least you can use [wiki]love.system.openURL[/wiki] to programmatically open an Explorer window to a specific folder. thanks, I haven't tought of that. As far as I'm concerned, the file is more important to me than a player, but it's someth...
- Sat Jun 27, 2015 4:00 pm
- Forum: Support and Development
- Topic: Writing into TXT
- Replies: 19
- Views: 10494
Re: Writing into TXT
You can't write to the exe or source game directory with love.filesystem. In fact, in most cases the operating system won't give programs permission to write there at all, no matter what API is used (LÖVE or no LÖVE.) Well...now that I think of it, when packing everything up, those folders won't ev...
- Sat Jun 27, 2015 3:33 pm
- Forum: Support and Development
- Topic: Writing into TXT
- Replies: 19
- Views: 10494
Re: Writing into TXT
No. LÖVE will never write to the game directory. Check the output of love.filesystem.getSaveDirectory() to find out where to look for seeds.txt. That was the problem. Now, the next problem is: how could i make it save it in the same game directory, or love.exe directory, without writing the whole u...
- Sat Jun 27, 2015 1:24 pm
- Forum: Support and Development
- Topic: Writing into TXT
- Replies: 19
- Views: 10494
Re: Writing into TXT
The "save directory" is nil, it should save in the same directory main.lua is? But seeds.txt keeps being blank
I don't know.
I don't know.
- Sat Jun 27, 2015 11:30 am
- Forum: Support and Development
- Topic: Writing into TXT
- Replies: 19
- Views: 10494
Writing into TXT
I set an rng with a random seed, and I wanted it to print the seed in a txt file. I've tried every i/o formula, love.filesystem.write("seeds.txt", tostring(seed)), sometimes literally copying and pasting them from the net, but still, the file is always blank when I open it. I even put thos...
- Fri Feb 20, 2015 7:42 pm
- Forum: General
- Topic: Free game resources
- Replies: 168
- Views: 648399
Re: Free game resources
Do you happen to have any composition or harmony tutorial?
- Fri Feb 20, 2015 3:13 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1011863
Re: Avatars: OBEY!
The Obey is not mandatory? Because I have a punk skull and it would look...well...problematic
good idea tho
good idea tho
- Tue Feb 17, 2015 10:34 am
- Forum: Support and Development
- Topic: Flickering on mouse moving [kinda solved??]
- Replies: 4
- Views: 3089
Re: Flickering on mouse moving
No. The previous function is called in love.update. The function draws everything on a canvas, and then the canvas is drawn in love.draw. EDIT: Seems I can't upload because it is too large, but further details: The canvas itself doesn't flicker. Everything else (the tilesetbatch, and some other stuf...
- Mon Feb 16, 2015 10:32 am
- Forum: Support and Development
- Topic: Flickering on mouse moving [kinda solved??]
- Replies: 4
- Views: 3089
Re: Flickering on mouse moving
Posting the problem only would be a problem itself, since the function is bound the rest of the game, and because it doesn't happen everytime. I was reading that could be a issue of update and graphical update, but I think I'm doing everything right, I'm calling the function in update and its canvas...
- Sun Feb 15, 2015 10:49 pm
- Forum: Support and Development
- Topic: Flickering on mouse moving [kinda solved??]
- Replies: 4
- Views: 3089
Flickering on mouse moving [kinda solved??]
Sometimes, I have this weird flickering but only if I mouse the mouse. SOMETIMES because it doesn't happen every time I call the function. I think it is a canvas error, but I don't know! EDIT: I Know, I know. Seems Canvas aren't made for things updated rapidly. So, I am splitting the original functi...