Search found 16 matches

by Karasuro
Tue Feb 26, 2019 5:42 pm
Forum: Libraries and Tools
Topic: Gspöt - retained GUI lib
Replies: 148
Views: 52910

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: 148
Views: 52910

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: 148
Views: 52910

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: 148
Views: 52910

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: 148
Views: 52910

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: 148
Views: 52910

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: 500

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.
by Karasuro
Mon Apr 23, 2018 5:22 am
Forum: Support and Development
Topic: game.exe no game?
Replies: 2
Views: 500

game.exe no game?

Hey guys, so I'm using 11.0 now and it seams when creating a .exe for a game that works as a .love causes Love to say there is no game running. Is anyone else having this issue and how do I fix it? I'm on Windows 7. test.love Working LINK REMOVED Not Working.. created using the CMD copy script found...
by Karasuro
Sat Dec 30, 2017 6:08 am
Forum: Support and Development
Topic: Distributing your games (making a .love file)
Replies: 269
Views: 204971

Re: Distributing your games (making a .love file)

Unless one of those switches ensures that a plain zip archive is created, not all OS-es will be able to handle the unarchiving by default. 7z.exe uses a -t switch to specify what type of archive you want. Example.. -tzip is a standard .zip archive. -ttar for .tar, -tiso for a .iso archive, etc. so ...
by Karasuro
Mon Dec 25, 2017 3:07 am
Forum: Support and Development
Topic: Distributing your games (making a .love file)
Replies: 269
Views: 204971

Re: Distributing your games (making a .love file)

Or if you have 7-zip you can use the command-line 7z.exe in a batch file. I use this method to create .love archives. I can even provide my own name for the Archiver. Simply make a .bat in your working directory and then run it. @ECHO OFF title LOVE 7z Archiver CLS ECHO Name the Archive! SET /p name...