## Gspöt - retained GUI lib

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

### Re: Gspöt - retained GUI lib

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.

pgimeno
Party member
Posts: 2279
Joined: Sun Oct 18, 2015 2:58 pm

### Re: Gspöt - retained GUI lib

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: 728
Joined: Sat Apr 26, 2014 7:46 pm

### Re: Gspöt - retained GUI lib

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.

pgimeno
Party member
Posts: 2279
Joined: Sun Oct 18, 2015 2:58 pm

### Re: Gspöt - retained GUI lib

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: 728
Joined: Sat Apr 26, 2014 7:46 pm

### Re: Gspöt - retained GUI lib

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.

pgimeno
Party member
Posts: 2279
Joined: Sun Oct 18, 2015 2:58 pm

### Re: Gspöt - retained GUI lib

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.

pgimeno
Party member
Posts: 2279
Joined: Sun Oct 18, 2015 2:58 pm

### Re: Gspöt - retained GUI lib

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.

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

### Re: Gspöt - retained GUI lib

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

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

### Re: Gspöt - retained GUI lib

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.

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

### Re: Gspöt - retained GUI lib

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

### Who is online

Users browsing this forum: No registered users and 17 guests