Search found 212 matches

by KayleMaster
Wed Jan 23, 2019 4:17 pm
Forum: Games and Creations
Topic: "Greek War"
Replies: 5
Views: 3431

Re: "Greek War"

Make the main guy have a bow and animate it. Look into the library anim8 for animations. Make a death animation for the other guys. Ability to restart game (that's a hard one!).
by KayleMaster
Thu Nov 29, 2018 8:03 am
Forum: Support and Development
Topic: Much slower fill rate in 11.x vs 10.2
Replies: 10
Views: 2651

Re: Much slower fill rate in 11.x vs 10.2

I tried the same test, and although I didn't get much of a performance difference (it was nearly the same actually), love 11 uses OpenGL 3.3, while 10.2 uses 4.6. What's the reasoning of this? Why does Love 11 use a lower version of OpenGL by default? I mean, I know you said "in love 11 with a syste...
by KayleMaster
Thu Jul 19, 2018 7:44 am
Forum: Support and Development
Topic: 512 FPS?
Replies: 7
Views: 1359

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: 542

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: 542

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: 3473

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: 1671

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: 3473

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: 3473

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?