help me with my project
5 posts • Page 1 of 1
help me with my project
my sister is making a project that requiers a machine that spawns balls. the balls it spawns need to turn things white. she is really bad at scripting so can i get the script for this?
canadian joe wrote:im just writing this so i can sig it
RicH wrote:Phun's Army.
-
canadian joe - Posts: 115
- Joined: Wed Feb 10, 2010 9:42 pm
Re: help me with my project
- Code: Select all
Scene.addCircle({radius := 1; onCollide := (e)=>{e.other.color = [1,1,1,1]}})
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: help me with my project
wow really! i thought i already tried that and it didn't work. now i smell like a non smart person
canadian joe wrote:im just writing this so i can sig it
RicH wrote:Phun's Army.
-
canadian joe - Posts: 115
- Joined: Wed Feb 10, 2010 9:42 pm
Re: help me with my project
ok i just tested that script. the balls don't spawn out of the obejct. they spawn out to the far left left of the object.
canadian joe wrote:im just writing this so i can sig it
RicH wrote:Phun's Army.
-
canadian joe - Posts: 115
- Joined: Wed Feb 10, 2010 9:42 pm
Re: help me with my project
- Code: Select all
Scene.addCircle({pos := e.pos; radius := 1; onCollide := (e)=>{e.other.color = [1,1,1,1]}})
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests