Search found 84 matches
- Tue May 07, 2024 11:30 pm
- Forum: Support and Development
- Topic: Garbage Collector and FFI
- Replies: 6
- Views: 206
Re: Garbage Collector and FFI
Posting all relevant code (including everywhere the original allocations and the ffi pointers are referenced or used) or uploading a .love file would help Here we go: local vec3 = require("math/vec3") local mat4 = require("math/mat4") local bmpParser = require("bmp_parser&q...
- Tue May 07, 2024 6:04 pm
- Forum: Support and Development
- Topic: Garbage Collector and FFI
- Replies: 6
- Views: 206
Re: Garbage Collector and FFI
The objects can just be garbage collected because they're recognized as not being used in the future And how can I change that? Also make sure you're using zero-based indexing with FFI arrays. Yup, I'm aware of that We can only throw guesses at the wall with how little information you've provided. ...
- Tue May 07, 2024 5:32 pm
- Forum: Support and Development
- Topic: Garbage Collector and FFI
- Replies: 6
- Views: 206
Re: Garbage Collector and FFI
Good point, but that's probably not the case. I don't delete any of those objects while still in use. I mean, it crashes instantly.
- Tue May 07, 2024 4:09 pm
- Forum: Support and Development
- Topic: Garbage Collector and FFI
- Replies: 6
- Views: 206
Garbage Collector and FFI
Hi guys, I have a problem with the garbage collector and my FFI structs and arrays. As soon as I use any FFI stuff, my program crashes instantly or my textures get corrupted. If I disable the garbage collector, the program runs just fine and doesn't even produce any noteworthy garbage. It stays at a...
- Sun Aug 27, 2023 7:20 am
- Forum: Support and Development
- Topic: Perspective Wireframe Floor
- Replies: 1
- Views: 3837
Re: Perspective Wireframe Floor
For perspective correct scaling, you need to calculate 1/z for every scan line. It's almost for free, if you use the GPU and a small shader. You can still animate the texture by shifting the UV coordinates every frame and don't move the polygon at all. https://love2d.org/forums/viewtopic.php?t=92376
- Mon Aug 21, 2023 6:28 pm
- Forum: Games and Creations
- Topic: Dima Pulsar -II-
- Replies: 30
- Views: 87182
Re: Dima Pulsar -II-
1 does not equal EVERYTHING you are WRONG and you should feel ASHAMED. Oh really? https://i.ibb.co/0qbvRg0/333.png Picture 1, the website header, wasn't created by you. https://i.ibb.co/WfSKhvF/1.png Picture 2, the background image, wasn't created by you. https://i.ibb.co/x3077Nx/2.png Picture 3, t...
- Sun Aug 20, 2023 6:43 pm
- Forum: Games and Creations
- Topic: Dima Pulsar -II-
- Replies: 30
- Views: 87182
Re: Dima Pulsar -II-
On his website, he has also made a lot of effort.
Neither the "SUCCEED" picture, nor the picture with the book in the background or the picture of the quasar are made by him.
Pretty brazen to beg for donations when EVERYTHING is just stolen
Neither the "SUCCEED" picture, nor the picture with the book in the background or the picture of the quasar are made by him.
Pretty brazen to beg for donations when EVERYTHING is just stolen
- Fri Jul 28, 2023 8:31 am
- Forum: General
- Topic: Retro handheld consoles anyone?
- Replies: 20
- Views: 12366
Re: Retro handheld consoles anyone?
If you want something with good build quality, get an Anbernic Device. My RG351P looks and feels like original Nintendo hardware. But I don't know if it's possible to run homebrew games on it. It uses a Linix based OS with RetroArch.
- Wed Jul 26, 2023 6:08 pm
- Forum: Support and Development
- Topic: Color blending help
- Replies: 6
- Views: 8059
Re: Color blending help
I'm not sure if I understand your problem, but couldn't you just render the darker sprites to a separate canvas and make the whole canvas transparent instead of every single sprite?
- Wed Jul 26, 2023 6:03 pm
- Forum: Support and Development
- Topic: Can we do animations without using setViewport in Love2d?
- Replies: 4
- Views: 6960
Re: Can we do animations without using setViewport in Love2d?
Why do you use Urn and not just plain Lua? Love2D works great as it is.