Search found 3 matches

by sludgefrog
Mon Apr 10, 2017 4:53 am
Forum: Support and Development
Topic: Distributing with modules
Replies: 2
Views: 2320

Re: Distributing with modules

slime wrote: Sun Apr 09, 2017 3:15 am zip files are case sensitive (but the Windows filesystem isn't) - make sure you're doing require("SUIT") instead of require("suit") if the folder name is all upper-case letters.
Thanks! That was it.
by sludgefrog
Sun Apr 09, 2017 1:59 am
Forum: Support and Development
Topic: Distributing with modules
Replies: 2
Views: 2320

Distributing with modules

I have created a zip file with main.lua in it. I use a module called "SUIT", which is stored in a subdirectory called 'SUIT'. My zip file looks like this: - main.lua - SUIT\core.lua - SUIT\<all other suit files> When I start up, I get: Capture.PNG Where am I supposed to put my module depen...
by sludgefrog
Sat Mar 25, 2017 7:37 pm
Forum: Support and Development
Topic: New to Love, Lua. love.graphics.rectangle performance question
Replies: 2
Views: 2752

New to Love, Lua. love.graphics.rectangle performance question

Hello, I'm new to Love. I'm trying to create a game with a 4096x4096 grid of solid colours. However, iterating over a grid and drawing it brings my higher-end CPU to its knees (less than one frame per second). I have attached the problematic code. What is the best way to draw a terrain-style grid us...