Goo: Gui and Animation library.

Showcase your libraries, tools and other projects that help your fellow love users.
Bambo
Prole
Posts: 41
Joined: Thu Mar 24, 2011 8:23 pm
Location: Warrington, England
Contact:

Re: Goo: Gui and Animation library.

Post 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
Bambo
Prole
Posts: 41
Joined: Thu Mar 24, 2011 8:23 pm
Location: Warrington, England
Contact:

Re: Goo: Gui and Animation library.

Post by Bambo »

Any ideas?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Goo: Gui and Animation library.

Post 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.
Bambo
Prole
Posts: 41
Joined: Thu Mar 24, 2011 8:23 pm
Location: Warrington, England
Contact:

Re: Goo: Gui and Animation library.

Post 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.
User avatar
legendman3
Citizen
Posts: 68
Joined: Sun Jan 22, 2012 8:29 pm

Re: Goo: Gui and Animation library.

Post 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.
User avatar
Lap
Party member
Posts: 256
Joined: Fri Apr 30, 2010 3:46 pm

Re: Goo: Gui and Animation library.

Post 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.
A-lox
Prole
Posts: 34
Joined: Sun Apr 10, 2022 1:58 am

Re: Goo: Gui and Animation library.

Post by A-lox »

the site is down
togFox
Party member
Posts: 608
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Goo: Gui and Animation library.

Post by togFox »

Just double checking you noticed you bumped a 10 year old thread? I'd be surprised if the site was up.
Current project:
https://togfox.itch.io/asteroid-hunter
Slow burn 2d zero-g space game with meta
User avatar
zorg
Party member
Posts: 3263
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Goo: Gui and Animation library.

Post by zorg »

Necroposting aside, the github does include the docs: https://github.com/perky/Goo/tree/master/docs.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
pgimeno
Party member
Posts: 3232
Joined: Sun Oct 18, 2015 2:58 pm

Re: Goo: Gui and Animation library.

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests