Search found 2776 matches

by zorg
Mon Dec 16, 2019 5:49 pm
Forum: Support and Development
Topic: Bug(s ?) in my code | main.lua:1201: attempt to index local 'pSprite' (a nil value)
Replies: 5
Views: 1417

Re: Bug(s ?) in my code | main.lua:1201: attempt to index local 'pSprite' (a nil value)

I don't remember the filesize limits for forum attachments but the zip's 35 MB because of the music included
by zorg
Sun Dec 15, 2019 10:36 pm
Forum: Support and Development
Topic: Can't start the simple script
Replies: 3
Views: 1755

Re: Can't start the simple script

What do you mean by block? Why didn't you actually include the error text and just the line number where it occurred? What sample on the website? Too little info to actually help you, since tons could be going wrong, or alternatively, you might be doing something wrong as well. For one, you'll alway...
by zorg
Sun Dec 15, 2019 12:49 pm
Forum: General
Topic: Pulse screen to a beat [Solved]
Replies: 8
Views: 2259

Re: Pulse screen to a beat [Solved]

...just make sure you use "true files" (as i call them) these are basically files that aren't converted i.e mp4 to mp3 because love2d can't read their parse data (i think) Löve can (and the library itself should be able to) parse wav, ogg and mp3 files (and maybe flac), along with all module format...
by zorg
Fri Dec 13, 2019 7:31 am
Forum: Support and Development
Topic: how would vanilla love2d draw unto a image(NOT A CANVAS)
Replies: 6
Views: 1475

Re: how would vanilla love2d draw unto a image(NOT A CANVAS)

ya I would like it i'm not doing gui right now I was making a json entity config framework. also idk if it would run faster or not but I hate lua's if..end syntax with a passion I find it ugly and unreadable. I also like using C# for its object oriented syntax. in lua you have to mess with metatabl...
by zorg
Sat Dec 07, 2019 4:24 pm
Forum: General
Topic: Lua function declarations
Replies: 6
Views: 1400

Re: Lua function declarations

Hey guys newbie question. In Lua what is the difference between these two function declarations. I'm trying to use Gspot (side note what is up with that name?!) to make some UI elements and I'm wondering if my errors are coming from this difference. love.load = function() ... end and function love....
by zorg
Fri Dec 06, 2019 7:59 pm
Forum: General
Topic: Help with shaders [Solved]
Replies: 4
Views: 1220

Re: Help with shaders

by zorg
Fri Nov 29, 2019 1:36 pm
Forum: Support and Development
Topic: Turning off VSync
Replies: 5
Views: 1062

Re: Turning off VSync

Based on what I understand, it doesn't seem like there's any elegant solution to ensure the game runs at 60fps on everyone's computer. I suppose I can use love.timer.getAverageDelta() to check the FPS. And then if the result hovers around 30, I can run love.update() a second time. That feels to me ...
by zorg
Mon Nov 25, 2019 3:31 pm
Forum: General
Topic: Suggections about wiki content about LuaJIT, bitwise operators, etc.
Replies: 4
Views: 1253

Re: Suggections about wiki content about LuaJIT, bitwise operators, etc.

Not only that , but they will also sacrifice the ffi and bit libraries, making them unable to run programs or to include libraries that use them without external counterparts... Well, one minor detail is that lua 5.3 does have its own bit library, even if it's a bit (ha) different than luaJIT's, bu...
by zorg
Mon Nov 25, 2019 12:19 pm
Forum: General
Topic: Suggections about wiki content about LuaJIT, bitwise operators, etc.
Replies: 4
Views: 1253

Re: Suggections about wiki content about LuaJIT, bitwise operators, etc.

My understanding was that the löve wiki contains information about functions and things Löve itself implemented, and not things that are pure lua or luaJIT related (the luaJIT bitops library is related to luaJIT, and has nothing to do with the bit library included with lua 5.3), since there are othe...
by zorg
Mon Nov 25, 2019 12:09 pm
Forum: Support and Development
Topic: Games don't work
Replies: 1
Views: 738

Re: Games don't work

Hi and welcome to the forums! Now, if i didn't know about the discourse on Discord previously, i'd ask for more info, but since i do: You drag the project's FOLDER onto löve's executable file (either love.exe or lovec.exe), but you did try that already, and got a different error, that suggested that...