Ok. I just thought you evaluated all existing guis before doing a new/different one ;-).trubblegum wrote:It is completely unique in that it works the way I want it toSiENcE wrote: But what does it better? Whats the difference to EGS, Goo, Gwee, quickie, lQueryUI ?
Take a look at the write-up I just completed over on github, and decide for yourself.
Or, to put it another way : What they said.
Gspöt - retained GUI lib
Re: Gspöt - formerly Yet another stateful GUI
- trubblegum
- Party member
- Posts: 192
- Joined: Wed Feb 22, 2012 10:40 pm
Re: Gspöt - formerly Yet another stateful GUI
See this?
It's me not falling for it.
Like I said :
It is completely unique in that it works the way I want it to.
It's me not falling for it.
Like I said :
It is completely unique in that it works the way I want it to.
- trubblegum
- Party member
- Posts: 192
- Joined: Wed Feb 22, 2012 10:40 pm
Re: Gspöt - formerly Yet another stateful GUI
New commit.
Added function newimage(element), which attempts to load a new image if element.img is a string, and resize the element if element.type == 'image'
Could be used as :
+ other minor improvements and optimizations
Added function newimage(element), which attempts to load a new image if element.img is a string, and resize the element if element.type == 'image'
Could be used as :
Code: Select all
element.mouseenter = function(this)
this.img = 'new.png'
this.Gspot.newimage(this)
end
- trubblegum
- Party member
- Posts: 192
- Joined: Wed Feb 22, 2012 10:40 pm
Re: Gspöt - formerly Yet another stateful GUI
Here's a semi-related project I've been working on for the last couple of days : https://github.com/trubblegum/Gscrooter
Considered posting in YellowAfterlife's platform engine thread, but decided it would probably be bad form.
In a nutshell, it loads maps and levels, and has a couple of objects and levels.
Pretty smooth, but I'm getting some glitching with the physics (in Gscrooter.lua). If anyone has the time, I'd love a pointer or two.
I'm dithering on adding modular .. y'know .. modules
Would probably need to clean up the object class code some .. it works well, but not the most elegant thing in the world ever.
Considered posting in YellowAfterlife's platform engine thread, but decided it would probably be bad form.
In a nutshell, it loads maps and levels, and has a couple of objects and levels.
Pretty smooth, but I'm getting some glitching with the physics (in Gscrooter.lua). If anyone has the time, I'd love a pointer or two.
I'm dithering on adding modular .. y'know .. modules
Would probably need to clean up the object class code some .. it works well, but not the most elegant thing in the world ever.
Re: Gspöt - formerly Yet another stateful GUI
I cant seem to figure out how to select a map and start the game ;P
- trubblegum
- Party member
- Posts: 192
- Joined: Wed Feb 22, 2012 10:40 pm
Re: Gspöt - formerly Yet another stateful GUI
Hit the "Load Map" buttonteh8bits wrote:I cant seem to figure out how to select a map and start the game ;P
You might want the latest version (a couple of minutes old), which has the latest version of Gspot (with shiny new dblclick event)
- trubblegum
- Party member
- Posts: 192
- Joined: Wed Feb 22, 2012 10:40 pm
Re: Gspöt - formerly Yet another stateful GUI
Aaand now that I've hit push, all that was promised can be delivered
Re: Gspöt - formerly Yet another stateful GUI
Ohhh you press load map again ^_^
I just played it, the coding impresses me although being honest the game could be better ;P
I just played it, the coding impresses me although being honest the game could be better ;P
Re: Gspöt - formerly Yet another stateful GUI
BTW I wanted to see if your game also "could be better" but you locked your Forest Sword! in a sign-only forum!teh8bits wrote:I just played it, the coding impresses me although being honest the game could be better ;P
- trubblegum
- Party member
- Posts: 192
- Joined: Wed Feb 22, 2012 10:40 pm
Re: Gspöt - formerly Yet another stateful GUI
There can be no game without an engine - all in good time.teh8bits wrote:Ohhh you press load map again ^_^
I just played it, the coding impresses me although being honest the game could be better ;P
What's there is just to keep me amused and give an idea of how it's coming along.
You can also double-click a map in the list to load, which leads me to Gspot's latest shiny-as-hell double-click event (thanks to coffee for insisting) which now exists, along with a Gspot.mousedt which you can use for whatever you see fit, including checking for double-clicks outside of Gspot.
Who is online
Users browsing this forum: No registered users and 4 guests