scripting img change
3 posts • Page 1 of 1
scripting img change
how do i script an image on the onLaserHit, or the onCollide menu? 
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
Re: scripting img change
There is a
and a
So you should be able to write onlaserhit
- Code: Select all
texture= "-insert file name here-"
and a
- Code: Select all
texture matrix = [-bunch of numbers here-]
So you should be able to write onlaserhit
- Code: Select all
(e)=>{e.geom.texture="gold"}
-

TC42 - Posts: 984
- Joined: Sun Jan 09, 2011 1:53 pm
- Location: $ sudo apt get-install sandwich_
Re: scripting img change
thanks, gotta go to bed, so ill try it out tomorrow
20 minutes later : ahh there we are, on the iphone
20 minutes later : ahh there we are, on the iphone
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests





