Search found 190 matches

by KayleMaster
Thu Jul 19, 2018 7:44 am
Forum: Support and Development
Topic: 512 FPS?
Replies: 7
Views: 620

Re: 512 FPS?

There is a sleep function called in love.run to cap the fps to 512. Try using your own love.run and remove the love.timer.sleep

https://love2d.org/wiki/love.run
by KayleMaster
Fri Jun 29, 2018 8:21 am
Forum: Support and Development
Topic: Coloring sprites with a per-vertex attribute in a spritebatch
Replies: 2
Views: 299

Re: Coloring sprites with a per-vertex attribute in a spritebatch

That's great. But I have no idea how to uses meshes or shaders. I have no idea how to code this.
by KayleMaster
Fri Jun 29, 2018 7:33 am
Forum: Support and Development
Topic: Coloring sprites with a per-vertex attribute in a spritebatch
Replies: 2
Views: 299

Coloring sprites with a per-vertex attribute in a spritebatch

Let's say I have swordy1, he's wearing blue. He's in a spritebatch. If I attach a per vertex attribute to color his clothes from blue to orange, will swordy2 also have orange clothes (same spritebatch)? Can I attach different attributes for the shader to use on different instances of swordy unit, ba...
by KayleMaster
Fri Jun 22, 2018 11:20 am
Forum: Support and Development
Topic: [SOLVED] Is it possible to have a config file next to executable?
Replies: 25
Views: 2047

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

Will that set config.option1 = 42 ?
Or the global option1 to 42?
by KayleMaster
Fri Jun 22, 2018 8:00 am
Forum: General
Topic: Download files straight from the game/program?
Replies: 6
Views: 783

Re: Download files straight from the game/program?

Read this:
https://love2d.org/wiki/love.filesystem
"Each game is granted a single directory on the system where files can be saved through love.filesystem. This is the only directory where love.filesystem can write files."
by KayleMaster
Fri Jun 22, 2018 5:52 am
Forum: Support and Development
Topic: [SOLVED] Is it possible to have a config file next to executable?
Replies: 25
Views: 2047

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

This is how factorio does it, it has shortcuts to the mods, saves folders and it's really useful.
by KayleMaster
Thu Jun 21, 2018 6:17 pm
Forum: Support and Development
Topic: [SOLVED] Is it possible to have a config file next to executable?
Replies: 25
Views: 2047

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

Jeez ok, I'll use lua.
Do I need to sanitize the lua file somehow?
by KayleMaster
Thu Jun 21, 2018 4:02 pm
Forum: Support and Development
Topic: [SOLVED] Is it possible to have a config file next to executable?
Replies: 25
Views: 2047

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 i...