Search found 19 matches

by Karasuro
Sun Nov 19, 2023 8:35 pm
Forum: Support and Development
Topic: Error Handling: outofmem issue
Replies: 6
Views: 4825

Re: Error Handling: outofmem issue

So in assetloader.lua I should just call self.cameraImage:release() before assigning it as a graphics.newImage()? Assuming it's not the first call and self.cameraImage is nil..
by Karasuro
Sun Nov 19, 2023 8:06 pm
Forum: Support and Development
Topic: Error Handling: outofmem issue
Replies: 6
Views: 4825

Re: Error Handling: outofmem issue

Yes. This only occurs after hours of continuous operation which makes me think memory isn't properly getting cleared somewhere.. I just can't pinpoint it.
by Karasuro
Sun Nov 19, 2023 2:47 am
Forum: Support and Development
Topic: Error Handling: outofmem issue
Replies: 6
Views: 4825

Error Handling: outofmem issue

Environment Version: Love 11.3 Platform: Raspberry Pi 4 Model B+ (8GB Ram) System: 32-bit Kernel version: 6.1 Debian version: 12 (bookworm) External Requirements libgphoto2 (external camera control) lua-periphery (GPIO control) nativefs (accessing external directories) [included in the archive] Pro...
by Karasuro
Tue Feb 26, 2019 5:42 pm
Forum: Libraries and Tools
Topic: Gspöt - retained GUI lib
Replies: 169
Views: 167242

Re: Gspöt - retained GUI lib

Thank you too for your question. Thanks to it, I noticed that I should have used this.getmouse() instead of love.mouse.getPosition() in the wheel event, and pushed a fix. Please update if you plan to allow wheel events in the GUI that moves with the camera. Will do! The project I'm working on is fo...
by Karasuro
Sun Feb 24, 2019 4:57 pm
Forum: Libraries and Tools
Topic: Gspöt - retained GUI lib
Replies: 169
Views: 167242

Re: Gspöt - retained GUI lib

That worked! Thanks for the help.
by Karasuro
Sun Feb 24, 2019 5:34 am
Forum: Libraries and Tools
Topic: Gspöt - retained GUI lib
Replies: 169
Views: 167242

Re: Gspöt - retained GUI lib

I'm still having an issue of the cameraGui not registering clicks, so! I'm gonna attach a little archive here. There's a readme within the .love to help you find the files I'm working with.
by Karasuro
Sun Feb 24, 2019 3:54 am
Forum: Libraries and Tools
Topic: Gspöt - retained GUI lib
Replies: 169
Views: 167242

Re: Gspöt - retained GUI lib

Note that if both GUIs overlap, both will receive the click. Solving that would require a different approach. Or perhaps it's enough to check fixedGui.mousein and not call cameraGui:mousepress if it returns a value (assuming that fixedGui overlaps cameraGui). I coded my own mouse->object collision ...
by Karasuro
Sun Feb 24, 2019 1:50 am
Forum: Libraries and Tools
Topic: Gspöt - retained GUI lib
Replies: 169
Views: 167242

Re: Gspöt - retained GUI lib

You need to transform the click positions from screen to world coordinates before passing them to Gspöt. You don't mention which camera library you're using, so I can't check it to tell you whether it provides a function to do that out of the box. Also, are you calling the mouse events, in the firs...
by Karasuro
Sat Feb 23, 2019 11:38 pm
Forum: Libraries and Tools
Topic: Gspöt - retained GUI lib
Replies: 169
Views: 167242

Re: Gspöt - retained GUI lib

I'm trying to render 2 groups where the first is attached to the camera view, and the second is attached to what's being drawn within the camera. The elements are drawing correctly but the click functions are not registering. stages = {} local worldMap = {} local camera = {} local guiStagesMenu = {}...
by Karasuro
Mon Apr 23, 2018 5:34 am
Forum: Support and Development
Topic: game.exe no game?
Replies: 2
Views: 2615

Re: game.exe no game?

I redid the process again and it's working this time but the contents of the archive haven't changed between the two.. odd. Maybe it was just something with the batch script.