Search found 8 matches
- Mon Jul 16, 2018 6:42 am
- Forum: Support and Development
- Topic: love.graphics.print not printing to screen!
- Replies: 14
- Views: 22173
Re: love.graphics.print not printing to screen!
I also have an old ATI Radeon (4800 I think, I can check if needed) and I'm having the same issue. It's probably something to do with ATIs (likely the old ones). My drivers are as up to date as they can be, since there hasn't been any updates for them in about half a decade. I tested with older vers...
- Mon Jun 25, 2018 8:32 am
- Forum: Support and Development
- Topic: [SOLVED] Is it possible to have a config file next to executable?
- Replies: 25
- Views: 14973
Re: [SOLVED] Is it possible to have a config file next to executable?
I always make it so it reverts to a default value if anything goes wrong, unless I want it to complain about some error during development. Not that I have that much implemented in my code as of now, but that's the goal anyway. Ideally you could fill it with gibberish or delete the file and the game...
- Fri Jun 22, 2018 5:17 am
- Forum: Support and Development
- Topic: [SOLVED] Is it possible to have a config file next to executable?
- Replies: 25
- Views: 14973
Re: [SOLVED] Is it possible to have a config file next to executable?
I tried JSON a few times, and to be honest, didn't click. My biggest peeve is that parsers (the ones I tried) don't ever save the files in an easily readable way. It makes it harder to learn, as you have to waste time manually sorting it out in multiple lines to see if the output is as you intended....
- Thu Jun 21, 2018 10:02 pm
- Forum: Support and Development
- Topic: [SOLVED] Is it possible to have a config file next to executable?
- Replies: 25
- Views: 14973
Re: [SOLVED] Is it possible to have a config file next to executable?
Don't expect the user to be able to edit configuration files that are saved outside his home directory. I think that for just about every game I played that had editable files in system specific folders, I saw people asking online where to find them. On one hand many have no clue where files go apa...
- Thu Jun 21, 2018 6:45 pm
- Forum: Support and Development
- Topic: [SOLVED] Is it possible to have a config file next to executable?
- Replies: 25
- Views: 14973
Re: [SOLVED] Is it possible to have a config file next to executable?
Using the lua file is an advice I'll probably take myself. As much as I actually enjoy coding parsers, it's a bit time consuming, and as @grump said, some bugs may be introduced. Especially if you're, like me, not much of an expert in parsers at all. :) I'm sure there's plenty of caveats in this cod...
- Thu Jun 21, 2018 3:41 pm
- Forum: Support and Development
- Topic: [SOLVED] Is it possible to have a config file next to executable?
- Replies: 25
- Views: 14973
Re: [SOLVED] Is it possible to have a config file next to executable?
I don't think any of that could affect this particular project, but I think it's worth keeping all that in mind. Especially that about permissions. As far as I'm aware permissions are only usually denied in mobile and web platforms, which I don't make anything for (so far, at least). Either way, it'...
- Thu Jun 21, 2018 6:27 am
- Forum: Support and Development
- Topic: [SOLVED] Is it possible to have a config file next to executable?
- Replies: 25
- Views: 14973
Re: Is it possible to have a config file next to executable?
I gave it another try yesterday evening with a fresh mind and I managed to figure it out! It's actually so much simpler than it seemed... function Ini:load_file(file) -- receives a "life.ini" string self._file = file local dir = love.filesystem.getSourceBaseDirectory( ) local file_path = d...
- Wed Jun 20, 2018 4:32 am
- Forum: Support and Development
- Topic: [SOLVED] Is it possible to have a config file next to executable?
- Replies: 25
- Views: 14973
[SOLVED] Is it possible to have a config file next to executable?
I'm making a Conways Game Of Life type of thing and I'd like to have a .ini file with a bunch of settings right next to the executable. I managed to get this to work but only for while I've been coding the game. I noticed a few days when reading the docs that I would have to do something more to mak...