Search found 223 matches

by KayleMaster
Fri May 01, 2020 6:51 am
Forum: Games and Creations
Topic: Stone Kingdoms 0.2 (RTS)
Replies: 12
Views: 10199

Re: Stone Kingdoms 0.2 (RTS)

Nice work! I am planning on making my own RTS someday with Löve so this was a good inspiration. The Stronghold assets are great for that nostalgic old school RTS feel. I mostly spawned in thousands of wood cutters and slowly watched them decimate the forest (: Well, I'm glad they didn't decimate yo...
by KayleMaster
Mon Apr 06, 2020 9:23 am
Forum: Support and Development
Topic: Weird love.thread behaviour or my struggle with loading screen
Replies: 4
Views: 1000

Re: Weird love.thread behaviour or my struggle with loading screen

Don't worry about that last thing, I'm the same haha
Mostly messing up height and heigth
by KayleMaster
Sun Apr 05, 2020 7:55 am
Forum: Support and Development
Topic: Weird love.thread behaviour or my struggle with loading screen
Replies: 4
Views: 1000

Re: Weird love.thread behaviour or my struggle with loading screen

What kind of size are we talking about here? If you're map is too big it might make sense to split it into chunks, you'll get a lot of other performance boosts by doing so, like rendering at only what you're looking. You're also concatenating strings for your entry, but it seems like this would be m...
by KayleMaster
Sat Apr 04, 2020 6:55 pm
Forum: General
Topic: What am I missing about Löve and Lua in general?
Replies: 6
Views: 1611

Re: What am I missing about Löve and Lua in general?

Lua and love2d is by definition the opposite of Processing. Processing is a 'batteries included' type of language, while Lua is "an extensible extension language". Don't get me wrong, Lua is amazing and once you get used to tables you'll never want to go back. But if you do, you can also use C struc...
by KayleMaster
Mon Feb 24, 2020 7:59 pm
Forum: Support and Development
Topic: Any way to get canvases to be more efficient?
Replies: 38
Views: 12179

Re: Any way to get canvases to be more efficient?

Yeah but he's drawing to the "canvases" only at start, so what CPU bottleneck? It's obviously CPU since he has integrated video graphics, but you get my point. I think it's the 20 4k x 4k canvases he's trying to draw. But I just want to see why he chose this over complicated method instead of everyt...
by KayleMaster
Mon Feb 24, 2020 7:30 pm
Forum: Support and Development
Topic: Any way to get canvases to be more efficient?
Replies: 38
Views: 12179

Re: Any way to get canvases to be more efficient?

You're doing something terribly wrong. What are these 'layers' and why do you need 20 of them? Why are you rendering them all to canvases and then rendering each canvas instead of rendering them all to one canvas? I doubt your Spritebatch attemp is good. I'm able to draw 102400 32x16 animated tiles ...
by KayleMaster
Fri Feb 21, 2020 6:10 pm
Forum: General
Topic: LÖVE 11.3 released!
Replies: 36
Views: 264966

Re: LÖVE 11.3 released!

But it will be updated to Luajit 2.1.0 which recently became stable. No more 1-2GB limit for RAM usage!
by KayleMaster
Fri Feb 21, 2020 6:42 am
Forum: Games and Creations
Topic: Stone Kingdoms 0.2 (RTS)
Replies: 12
Views: 10199

Re: Stone Kingdoms 0.2 (RTS)

Updated to 0.2 New stuff: - Add new asset files - Add a little effect for the Tree when chopped - Fix crash when a quad doesn't have an offset - Add height map (used for the stockpile currently) - Make stockpile walkable - Granary is now functional - Shown chunks now depend on the zoom level - Chang...
by KayleMaster
Tue Feb 11, 2020 7:25 am
Forum: Games and Creations
Topic: 3D Rendering Engine in Love 2D
Replies: 3
Views: 3576

Re: 3D Rendering Engine in Love 2D

You should ask Shell32 on the discord server. He's doing some amazing stuff with 3D and may give you some tips.
by KayleMaster
Wed Jan 22, 2020 4:20 pm
Forum: General
Topic: Problems with localising variables
Replies: 5
Views: 4350

Re: Problems with localising variables

One more complication, require can only return 1 result. That's why you return a table with your results: -- bottom of Game.lua return {Game, Menu.Snake} -- in main.lua local Game = require("Game")[1] local Menu.Snake= require("Game")[2] Don't worry about require being called twice - its result is ...