Gspöt - retained GUI lib

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
SiENcE
Party member
Posts: 782
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: Gspöt - retained GUI lib

Post by SiENcE » Mon Dec 07, 2015 10:26 am

DeltaF1 wrote:Will you be putting your changes on your fork, or do you want to join the fork that pgimeno started?
I will push the into my fork. But in a different branch.

User avatar
pgimeno
Party member
Posts: 1885
Joined: Sun Oct 18, 2015 2:58 pm
Location: Valencia, ES

Re: Gspöt - retained GUI lib

Post by pgimeno » Thu Dec 24, 2015 9:08 pm

Updated to support 0.10 and 0.9 simultaneously.

https://github.com/pgimeno/Gspot

The base main.lua requires a few minor adaptations, to keep cross-version compatibility without clobbering the library much:

https://github.com/pgimeno/Gspot/wiki/Implementation

I'm not convinced that this is the best way to go around it, though. But for existing projects I expect it to be the easiest way to migrate.

bobbyjones
Party member
Posts: 720
Joined: Sat Apr 26, 2014 7:46 pm

Re: Gspöt - retained GUI lib

Post by bobbyjones » Fri Dec 25, 2015 12:24 am

pgimeno I didn't take a look at the source but instead of doing that hack why not just use an "or"?
Do you frequently have great ideas but immediately lose them? Check out the MVP for my website called IdeaVault. It is designed to solve that problem. Desktop browsers only currently.

User avatar
pgimeno
Party member
Posts: 1885
Joined: Sun Oct 18, 2015 2:58 pm
Location: Valencia, ES

Re: Gspöt - retained GUI lib

Post by pgimeno » Fri Dec 25, 2015 3:01 am

bobbyjones wrote:pgimeno I didn't take a look at the source but instead of doing that hack why not just use an "or"?
Where?

bobbyjones
Party member
Posts: 720
Joined: Sat Apr 26, 2014 7:46 pm

Re: Gspöt - retained GUI lib

Post by bobbyjones » Fri Dec 25, 2015 4:17 am

For the mousepressed callback
Do you frequently have great ideas but immediately lose them? Check out the MVP for my website called IdeaVault. It is designed to solve that problem. Desktop browsers only currently.

User avatar
pgimeno
Party member
Posts: 1885
Joined: Sun Oct 18, 2015 2:58 pm
Location: Valencia, ES

Re: Gspöt - retained GUI lib

Post by pgimeno » Fri Dec 25, 2015 5:27 am

Oh, you must mean something like

Code: Select all

if button == 'l' or button == 1 then...
Yeah, I could have done that. I thought that it would be best to keep changes to a minimum inside Gspot.lua. I thought of the several possible courses of action, and since there was also the mouse wheel issue, and I am under some pressure for other reasons, I didn't consider that possibility and went for a straight "make-0.10-behave-as-0.9" one.

But you're right, it's little burden anyway, so I'll do that soon. Thanks for the suggestion.

User avatar
pgimeno
Party member
Posts: 1885
Joined: Sun Oct 18, 2015 2:58 pm
Location: Valencia, ES

Re: Gspöt - retained GUI lib

Post by pgimeno » Tue Dec 29, 2015 1:27 am

Updated to make life easier to 0.10.0 users. Added a new callback (necessary only in 0.10.0): Gspot.mousewheel(x, y) takes the same parameters as input that love.wheelmoved(x, y) provides. Updated docs accordingly.

Thanks for the suggestion, bobbyjones. I should not try to make these updates when under time pressure.

User avatar
Kasperelo
Party member
Posts: 343
Joined: Fri Apr 13, 2012 1:47 pm
Location: The Milky Way

Re: Gspöt - retained GUI lib

Post by Kasperelo » Wed Dec 30, 2015 12:58 pm

i can see why so many look at löve and then decide not to use it, these library names are pretty childish..

User avatar
Jack5500
Party member
Posts: 149
Joined: Wed Dec 07, 2011 8:38 pm
Location: Hamburg, Germany

Re: Gspöt - retained GUI lib

Post by Jack5500 » Wed Dec 30, 2015 2:40 pm

Kasperelo wrote:i can see why so many look at löve and then decide not to use it, these library names are pretty childish..
Because the library names are definitly a point to consider when choosing a framework...
The lack of a proper standard gui might be a more serious argument.

User avatar
NightKawata
Party member
Posts: 292
Joined: Tue Jan 01, 2013 9:18 pm
Location: Cyberspace, Room 6502
Contact:

Re: Gspöt - retained GUI lib

Post by NightKawata » Wed Dec 30, 2015 4:38 pm

Jack5500 wrote:
Kasperelo wrote:i can see why so many look at löve and then decide not to use it, these library names are pretty childish..
Because the library names are definitly a point to consider when choosing a framework...
The lack of a proper standard gui might be a more serious argument.
welcome to 2015 everybody's a sensitive fuck and the slightest thing makes people piss their pants and scream

But yeah, good lord. Not another entry into the library name war. We already had Library War I. Let's not do Library War II.
But yeah, LOVE doesn't have the most options in terms of UI, and generally the third-party stuff's underdeveloped, outdated, you name it, yo.
Either way, Gspöt is moderately interesting!

And if someone wants to get pissy about the lib names, it's really gotta stop. People going nazi over it keeps starting to pop up here, and I'm done entering my thoughts on it. The Internet is the deep end of the swimming pool, and if you can't handle it, please, please, stay in the kiddie pool. Or Facebook. (or are they one and the same)

But indeed, rock on! Good on ya for keeping it updated.
inb4 someone reports me or someone gives me a forum warning for being overly abrasive
and if you're gonna report me, just ask nicely in PM and I'll remove the post, warning me is a sign someone's out for me
"I view Python for game usage about the same as going fishing with a stick of dynamite. It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -taylor

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 18 guests