Search found 6 matches
- Sun Oct 22, 2023 3:40 pm
- Forum: Support and Development
- Topic: Variable seen as nil for some reason.
- Replies: 2
- Views: 21802
Re: Variable seen as nil for some reason.
You haven't provided enough context either. Line 16 of sound.lua is an 'end' statement. The program simply can't crash there, therefore your sound.lua must differ in some way from the one you have posted. I removed a few empty lines when posting this, sorry. Line 16 in the original is the "sou...
- Sun Oct 22, 2023 5:18 am
- Forum: Support and Development
- Topic: Variable seen as nil for some reason.
- Replies: 2
- Views: 21802
Variable seen as nil for some reason.
I'm having an issue where a variable which is definitely defined is still showing up as nil. No goddamn clue why it's like that. error: sound.lua:16: attempt to compare number with nil Traceback [love "callbacks.lua"]:228: in function 'handler' sound.lua:16: in function 'update' [love &quo...
- Fri Oct 20, 2023 3:18 am
- Forum: Support and Development
- Topic: How do I make a value absolute?
- Replies: 5
- Views: 3324
Re: How do I make a value absolute?
Since I've already made this thread I might as well ask about another problem I'm having. I'm trying to make a Sonic game and for some reason, I can't get the momentum quite working. I've used virtually the same code on Scratch and it works there, so maybe I messed something up in the process of tur...
- Fri Oct 20, 2023 12:01 am
- Forum: Support and Development
- Topic: How do I make a value absolute?
- Replies: 5
- Views: 3324
How do I make a value absolute?
I've skimmed through the wiki and forum, can't find the answer.
Sorry if this is dumb.
Sorry if this is dumb.
- Fri May 20, 2022 7:41 pm
- Forum: Games and Creations
- Topic: Weird Physics Thingy...
- Replies: 3
- Views: 2643
Re: Weird Physics Thingy...
I'm... Confused. Why is the gravity on the side, first of all?
- Fri May 20, 2022 7:37 pm
- Forum: Support and Development
- Topic: Why does this rectangle look like this?
- Replies: 2
- Views: 1858
Why does this rectangle look like this?
Question in the title.