Search found 947 matches

by grump
Thu Jun 21, 2018 5:57 pm
Forum: Support and Development
Topic: [SOLVED] Is it possible to have a config file next to executable?
Replies: 25
Views: 14203

Re: [SOLVED] Is it possible to have a config file next to executable?

ivan wrote: Thu Jun 21, 2018 5:34 pm Haven't heard of any new developments around the INI format. :)
I've heard of some extensions to the format though that allow subsections. Still no reason to favor it over Lua, especially for strict read-only purposes like reading from the app folder.
by grump
Thu Jun 21, 2018 4:48 pm
Forum: Support and Development
Topic: [SOLVED] Is it possible to have a config file next to executable?
Replies: 25
Views: 14203

Re: [SOLVED] Is it possible to have a config file next to executable?

I don't agree with ivan's suggestions that INI files have been gone for a long time. They're super useful for changing game settings when you can't do that ingame, due to wrong game settings! And also a bunch of other stuff. They're still used for many commercial games and nearly every game has an ...
by grump
Wed Jun 20, 2018 10:41 am
Forum: Support and Development
Topic: Prevent freezing while working with large files?
Replies: 28
Views: 19674

Re: Prevent freezing while working with large files?

This iterates all files in 4 seconds, while the love attempt takes several minutes for 1MB+ files, even without any graphical extras. You must be running this on a potato or you're doing something severely wrong. local start = love.timer.getTime() local lines = {} for i = 1, 600000 do lines[i] = ('...
by grump
Wed Jun 13, 2018 6:48 am
Forum: Support and Development
Topic: Using love.graphics.newImage() with png files in an external directory
Replies: 7
Views: 6002

Re: Using love.graphics.newImage() with png files in an external directory

Code: Select all

data = image:encode("png"):getString()
file:write(data)
by grump
Thu Jun 07, 2018 6:19 am
Forum: General
Topic: Love on Mac w/o OpenGL
Replies: 10
Views: 11447

Re: Love on Mac w/o OpenGL

Apple is all about building walled gardens. So you don't consider DirectX a walled garden? That's merely a brick in the wall of the Xbox ecosystem, just like Metal will become one on Apple's devices. There's more to the "walled garden" analogy than the non-availabilty of an open/cross-pla...
by grump
Wed Jun 06, 2018 7:01 pm
Forum: General
Topic: Love on Mac w/o OpenGL
Replies: 10
Views: 11447

Re: Love on Mac w/o OpenGL

Apple making the walls higher around their garden again. Metal is technically much better than OpenGL in all aspects so it has nothing with a "walled garden". It's about performance. They're removing support for a widely used open standard API and replace it with a proprietary one, making...
by grump
Wed Jun 06, 2018 5:02 pm
Forum: Libraries and Tools
Topic: Textured Polygons for All!
Replies: 144
Views: 102399

Re: Textured Polygons for All!

1.- I'm using the setRepeat function to make an endless animation (see attached sample), but I'm getting a serious flickering I can't seem to fix even with really high msaa values. Is there anything I else I could try to fix it or at least make it much less annoying? Increase anisotropy. love.graph...
by grump
Tue Jun 05, 2018 11:01 pm
Forum: General
Topic: Love on Mac w/o OpenGL
Replies: 10
Views: 11447

Re: Love on Mac w/o OpenGL

Apple making the walls higher around their garden again.
by grump
Tue Jun 05, 2018 10:54 pm
Forum: Support and Development
Topic: Can you help me with something, please?
Replies: 4
Views: 2847

Re: Can you help me with something, please?

So it's basically just the count of each symbol, going from left to right? Do you have some kind of representation of your reels and symbols already? It's certainly doable with loops, it just depends on how your code represents the game elements. You basically loop over the reels from left to right ...