Page 6 of 7

Re: Goo: Gui and Animation library.

Posted: Thu Jun 02, 2011 7:52 pm
by Bambo
Hey there seems to be a problem with Goo textinput's :cry:

when i try to save the text from the textinput to a variable it just doesn't save.

Code: Select all

	
function Menu:enterState()
	local panel = goo.panel:new()
	panel:setPos( 30, 30 )
	panel:setSize( 200, 200 )
	panel:setDraggable(false)
	panel:showCloseButton(false)
	panel:setTitle( 'Main menu' )
 
	local nick = goo.textinput:new( panel )
	nick:setPos( 10, 20 )
	nick:setText( 'Anon' )
	nick:setSize( 100, 15)
	
	local ip = goo.textinput:new( panel )
	ip:setPos( 10, 45 )
	ip:setText( '127.0.0.1' )
	ip:setSize( 100, 15)
	
	local play = goo.button:new( panel )
	play:setPos( 10, 75 )
	play:setText( 'Play' )
	play:sizeToText()
	play.onClick = function( self, button )
		obj:gotoState('Game')
		nickname = nick:getText()
		ip = ip:getText()
		panel:destroy()
	end	
end

Re: Goo: Gui and Animation library.

Posted: Thu Jun 02, 2011 8:11 pm
by Bambo
Any ideas?

Re: Goo: Gui and Animation library.

Posted: Thu Jun 02, 2011 8:37 pm
by bartbes
You mean like, you write to a local and it isn't publicly available? Try using unique names.

More importantly, don't bump until a reasonable amount of time has passed, 19 minutes is by no means reasonable.

Re: Goo: Gui and Animation library.

Posted: Thu Jun 02, 2011 9:23 pm
by Bambo
Ah im sorry, thanks for the help got it working.

Just so frustrating when something goes wrong and you don't know why.

Re: Goo: Gui and Animation library.

Posted: Sun Mar 25, 2012 4:46 pm
by legendman3
This is awesomly relevant to my needs. But for the life of me i can not add a new object with out getting a file not found error.

Re: Goo: Gui and Animation library.

Posted: Wed Mar 28, 2012 2:04 pm
by Lap
legendman3 wrote:This is awesomly relevant to my needs. But for the life of me i can not add a new object with out getting a file not found error.
More descriptive please.

Re: Goo: Gui and Animation library.

Posted: Fri Aug 12, 2022 9:50 pm
by A-lox
the site is down

Re: Goo: Gui and Animation library.

Posted: Sat Aug 13, 2022 2:06 am
by togFox
Just double checking you noticed you bumped a 10 year old thread? I'd be surprised if the site was up.

Re: Goo: Gui and Animation library.

Posted: Sat Aug 13, 2022 5:04 am
by zorg
Necroposting aside, the github does include the docs: https://github.com/perky/Goo/tree/master/docs.

Re: Goo: Gui and Animation library.

Posted: Sat Aug 13, 2022 5:27 pm
by pgimeno
And this site is up: https://perky.github.io/Goo/

I updated this to 0.10 long ago. https://notabug.org/pgimeno/Goo/src/love0-9
I guess it wouldn't take a lot to update it to 11.x.