BIG Problem! can't change sizes
			6 posts			 • Page 1 of 1		
	
BIG Problem! can't change sizes
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.
			
		- 
				

Rideg - Posts: 948
 - Joined: Tue Dec 15, 2009 5:17 pm
 - Location: Östersund, Sweden
 
Re: BIG Problem! can't change sizes
Make sure you typed := instead of only =
			- Code: Select all
 (e) => { scene.addcircle({ radius := 2; pos := e.pos }) }

- 
				

KarateBrot - Posts: 825
 - Joined: Mon Aug 31, 2009 7:32 pm
 - Location: Germany
 
Re: BIG Problem! can't change sizes
yes I know that. still won't change
			
		- 
				

Rideg - Posts: 948
 - Joined: Tue Dec 15, 2009 5:17 pm
 - Location: Östersund, Sweden
 
Re: BIG Problem! can't change sizes
You need to use scene.addCircle({your stuff}). It would help if you posted your current script.
			
		- 
				

standardtoaster - Posts: 606
 - Joined: Mon Aug 31, 2009 7:57 pm
 
Re: BIG Problem! can't change sizes
I don't know what it was but it works now:P the script is exactly the same as before!
			
		- 
				

Rideg - Posts: 948
 - Joined: Tue Dec 15, 2009 5:17 pm
 - Location: Östersund, Sweden
 
Re: BIG Problem! can't change sizes
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  
			Phundamentalist
		- 
				

davidz40 - Posts: 438
 - Joined: Sun Sep 06, 2009 10:30 am
 
			6 posts			 • Page 1 of 1		
	Who is online
Users browsing this forum: No registered users and 3 guests




