Search found 525 matches

by MrFariator
Mon May 27, 2024 11:07 pm
Forum: General
Topic: Noita Lines In Love2D??
Replies: 4
Views: 201

Re: Noita Lines In Love2D??

Okay, so you are not asking about lines, but how to make an engine that simulates every pixel on the screen, and apply effects on top of it? You'd effectively have to make something similar to a voxel engine, but limit it to singular pixels for rendering. That's quite a broad subject, but the creato...
by MrFariator
Mon May 27, 2024 10:51 am
Forum: General
Topic: Noita Lines In Love2D??
Replies: 4
Views: 201

Re: Noita Lines In Love2D??

Might be helpful to provide an example of what you are trying to accomplish. There are fair few wand types in Noita, so it may depend on what effect you're trying to emulate.
by MrFariator
Sun May 26, 2024 9:50 am
Forum: Support and Development
Topic: How to prevent drifting from analog movement?
Replies: 3
Views: 210

Re: How to prevent drifting from analog movement?

All analogue sticks tend to report some infinitely small, miniscule movements near the default resting point, particularly if the gamepad has seen some regular use over the years. Like, yes, physically it might appear like the stick should be resting at 0, but either the stick has worn down (and as ...
by MrFariator
Fri May 24, 2024 7:34 pm
Forum: Libraries and Tools
Topic: luasteam - SteamWorks API Integration
Replies: 18
Views: 36985

Re: luasteam - SteamWorks API Integration

Ah, I somehow misread your post, thinking it was about .so on linux, rather than .dll on windows. On windows, you need to place the .DLL(s) next to the executable, and it can't be in a subfolder. So, if you are running from source for testing purposes, it needs to be next to the love.exe (wherever i...
by MrFariator
Thu May 23, 2024 9:52 pm
Forum: Libraries and Tools
Topic: luasteam - SteamWorks API Integration
Replies: 18
Views: 36985

Re: luasteam - SteamWorks API Integration

Could always provide the full error, to see if it gives a better hint. I've found that when loading any DLLs or .so, it's better to look at the whole traceback to see where lua is trying to find the thing from. Personally, when making an AppImage following the steps on wiki , I had to place the luas...
by MrFariator
Tue May 21, 2024 1:40 pm
Forum: Support and Development
Topic: How do you really tell if your game has a memory leak?
Replies: 23
Views: 2226

Re: How do you really tell if your game has a memory leak?

Doesn't crash on my system, though with a slight asterisk: You can change lua's garbage collector's parameters with: collectgarbage("setpause", 50) -- sets how much the garbage collector needs to wait before doing its thing. Smaller value means less wait time. Default is 100? collectgarbag...
by MrFariator
Mon May 20, 2024 11:38 pm
Forum: Support and Development
Topic: How do you really tell if your game has a memory leak?
Replies: 23
Views: 2226

Re: How do you really tell if your game has a memory leak?

Memory leaks can get a bit wonky to define in any language that has an automatic garbage collector, that may or may not act upon some rapid increase of garbage. Some of them might clean it more aggressively, while others might struggle to keep up, unless you specifically manually call for garbage co...
by MrFariator
Sun May 19, 2024 10:25 pm
Forum: Support and Development
Topic: How do you really tell if your game has a memory leak?
Replies: 23
Views: 2226

Re: How do you really tell if your game has a memory leak?

You could use the following function: collectgarbage("count") -- reports used lua memory in kilobytes And see if the memory it reports continues to rise and rise. However, do note that due to lua's garbage collector's nature, you will likely see that the memory will rise for a while, and t...
by MrFariator
Fri May 10, 2024 5:24 pm
Forum: General
Topic: Balatro
Replies: 2
Views: 3770

Re: Balatro

It's been mentioned on the forums before, but there's just the small problem of there not being enough people to maintain an up-to-date list.
That said, it's a nice game. I playe it every once in a while during breaks or before bed.
by MrFariator
Sun May 05, 2024 9:44 am
Forum: Libraries and Tools
Topic: error explorer - an interactive error screen for love
Replies: 3
Views: 1010

Re: error explorer - an interactive error screen for love

Haven't had the time to try this yet, but looks really neat. I especially like the variable tracking on display.
Might not be something to ship with finished projects, but looks handy enough to use during development.