Page 1 of 1

BIG Problem! can't change sizes

PostPosted: Wed Dec 16, 2009 12:06 am
by Rideg
Hello again. I'm trying to change the size of the scene.addcircle but I can put in anything(example=99999999.0 or 0.0000000001) but it still has the same size. If anybody have ideas please reply because I can't figure it out.

Re: BIG Problem! can't change sizes

PostPosted: Wed Dec 16, 2009 12:56 am
by KarateBrot
Make sure you typed := instead of only =

Code: Select all
(e) => { scene.addcircle({ radius := 2; pos := e.pos }) }

Re: BIG Problem! can't change sizes

PostPosted: Wed Dec 16, 2009 8:48 am
by Rideg
yes I know that. still won't change

Re: BIG Problem! can't change sizes

PostPosted: Wed Dec 16, 2009 9:10 am
by standardtoaster
You need to use scene.addCircle({your stuff}). It would help if you posted your current script.

Re: BIG Problem! can't change sizes

PostPosted: Wed Dec 16, 2009 9:20 am
by Rideg
I don't know what it was but it works now:P the script is exactly the same as before!

Re: BIG Problem! can't change sizes

PostPosted: Wed Dec 16, 2009 5:18 pm
by davidz40
It's weird, but i had similliar problems too. Spawned circle had proper color,friction etc, but were constant size, regardless of what i put in radius := . But usually it works :crazy: