Search found 3582 matches
- Mon Dec 25, 2023 12:53 pm
- Forum: General
- Topic: I Imagine A Color Picker Has Been Done A Thousand Times
- Replies: 5
- Views: 24036
Re: I Imagine A Color Picker Has Been Done A Thousand Times
I'm not sure which method is best suited for a more complex game. Interested in hearing others' opinions on this. If you don't care missing presses or releases within a single frame, then you're good using isScancodeDown (generally speaking, always avoid isDown, for the benefit of non-QWERTY keyboa...
- Fri Dec 15, 2023 11:18 pm
- Forum: Support and Development
- Topic: Black screen
- Replies: 11
- Views: 40797
Re: Black screen
Maybe you wanted to use love.graphics.setBackgroundColor instead?
- Mon Dec 11, 2023 12:12 pm
- Forum: Support and Development
- Topic: Justified text displaying one character at a time
- Replies: 13
- Views: 69222
Re: Justified text displaying one character at a time
Just use left-alignment instead of justification. Even if it worked as you expect, it would have to justify the whole line every time one is completed, and if you're still reading that, it's uncomfortable. If you absolutely want to try it, you can try printing all lines except the last one justified...
- Mon Dec 04, 2023 11:10 pm
- Forum: Support and Development
- Topic: [SOLVED] Scaling and camera issues :'D [im probably very stoopid]
- Replies: 5
- Views: 21079
Re: Scaling and camera issues :'D [im probably very stoopid]
I think you have made a mess of coordinate systems. According to the code, self.x and self.y are in screen coordinates, while it appears that Camera:setPosition(x, y) expects world coordinates. Your coordinate transformation formulas are messed up. My recommendation is that you use a camera library ...
- Thu Nov 30, 2023 5:45 pm
- Forum: General
- Topic: Collision not being registered
- Replies: 10
- Views: 31690
Re: Collision not being registered
Without having looked much, this looks like the typical case of deleting elements from a table that is being iterated. At least the first loop looks like that. When you're removing an element from a table, all elements after it are renumbered. If you're deleting element 4 in a table of 6 elements, t...
- Sat Nov 25, 2023 5:20 pm
- Forum: General
- Topic: What makes a good level?
- Replies: 6
- Views: 35747
Re: What makes a good level?
Or you can add some new mechanics to it - like mari0 by Stabyourself.
- Thu Nov 23, 2023 9:56 am
- Forum: Support and Development
- Topic: [SOLVED] Top Down Character Animation in 4 Different Directions
- Replies: 6
- Views: 11421
Re: Character Animation in different directions
You're mixing FrameEnabled (without 's') and FramesEnabled (with 's'). But the cause of the error is that you initialize FrameEnabled like this: FrameEnabled = {FramesWalkingUp[FrameIndex], FramesWalkingDown[FrameIndex], FramesWalkingRight[FrameIndex], FramesWalkingLeft[FrameIndex]} That's indeed a ...
- Sun Nov 19, 2023 9:59 pm
- Forum: Support and Development
- Topic: Error Handling: outofmem issue
- Replies: 6
- Views: 5111
Re: Error Handling: outofmem issue
That's right. See if that solves anything.
- Sun Nov 19, 2023 8:28 pm
- Forum: Support and Development
- Topic: Error Handling: outofmem issue
- Replies: 6
- Views: 5111
Re: Error Handling: outofmem issue
Oh you didn't mention that before did you?
Maybe the issue is that you're not releasing the previous image (Object:release) and there are too many in RAM or VRAM waiting to be garbage-collected?
Maybe the issue is that you're not releasing the previous image (Object:release) and there are too many in RAM or VRAM waiting to be garbage-collected?
- Sun Nov 19, 2023 3:36 pm
- Forum: Games and Creations
- Topic: Gravity Circuit
- Replies: 14
- Views: 13859
Re: Gravity Circuit
Thanks for the heads up, I don't actively use macOS, so I didn't quite realize that issue with the threads (truth be told, the threading is some ancient legacy code that could use an overhaul). I was turning JIT off on MacOS on the main thread, due to some potential luajit issues . Will look at add...