Goo is a gui lib.
It also includes an animation lib for tweening variables.
It's work in progress but pretty much all of it works (i think).
I'd recommend you read the documentation. (included in download).
Download link:
http://github.com/perky/Goo/zipball/master
Goo: Gui and Animation library.
Goo: Gui and Animation library.
Last edited by ljdp on Tue Sep 27, 2011 7:22 pm, edited 1 time in total.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Goo: Gui and Animation library.
I thought to myself - "hey this doesn't look half bad"
Then I looked at the source code ... MiddleClass and MindState are there! Awesome!
I've got one request though - is there a demo of the system?
Then I looked at the source code ... MiddleClass and MindState are there! Awesome!

I've got one request though - is there a demo of the system?
When I write def I mean function.
Re: Goo: Gui and Animation library.
Ahh yes, very useful code =]
Sure, fire up main.lua for an example.
Sure, fire up main.lua for an example.
- Jasoco
- Inner party member
- Posts: 3728
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Goo: Gui and Animation library.
I can't run the demo. I get this huge error:
Code: Select all
[string "main.lua"]:8: module 'goo.goo' not found:
no field package.preload['goo.goo']
no file './goo/goo.lua'
no file '/usr/local/share/lua/5.1/goo/goo.lua'
no file '/usr/local/share/lua/5.1/goo/goo/init.lua'
no file '/usr/local/lib/lua/5.1/goo/goo.lua'
no file '/usr/local/lib/lua/5.1/goo/goo/init.lua'
no file './goo/goo.so'
no file '/usr/local/lib/lua/5.1/goo/goo.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './goo.so'
no file '/usr/local/lib/lua/5.1/goo.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file "goo.goo.lua" in LOVE game directories.
stack traceback:
[string "boot.lua"]:833: in function 'error_printer'
[string "boot.lua"]:768: in function <[string "boot.lua"]:766>
[C]: in function 'require'
[string "main.lua"]:8: in main chunk
[C]: in function 'require'
[string "boot.lua"]:282: in function <[string "boot.lua"]:215>
[C]: in function 'xpcall'
[string "boot.lua"]:838: in main chunk
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Goo: Gui and Animation library.
Try goo/goo, there are some problems with the love loader.
EDIT: Which I hopefully just fixed in the repo.
EDIT: Which I hopefully just fixed in the repo.
Re: Goo: Gui and Animation library.
Nicely done, would recommend, A++
I had to change line 6,7 in main.lua to
though.
Edit:
Any change to get an onHover callback? This would be nice to add 'sound haptics'

I had to change line 6,7 in main.lua to
Code: Select all
require 'MiddleClass'
require 'MindState'
Edit:
Any change to get an onHover callback? This would be nice to add 'sound haptics'
Re: Goo: Gui and Animation library.
There's an enterHover function you can use, if you want to override this do:
Code: Select all
function object:enterHover()
self.class.enterHover( self )
-- do ya thing
end
- Jasoco
- Inner party member
- Posts: 3728
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Goo: Gui and Animation library.
Of course I did. Then I named the folder I got with .love and run that and that's the error it gives me. It's trying to look in some weird Linux-y sounding folders for files. And is looking for ones I can't even find in the archive.ljdp wrote:you unzipped it?
Edit: Fixed it. For some reason you were requiring "goo.goo" and "anim.anim" instead of "goo/goo" and "anim/anim".
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Goo: Gui and Animation library.
Stop ignoring me, I told you that was a bug in love, which I fixed.
Who is online
Users browsing this forum: No registered users and 3 guests