|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Changing an MOPixels Colour
Author |
Message |
The Chairman
Joined: Sat Oct 22, 2011 8:07 pm Posts: 149
|
Changing an MOPixels Colour
Is it possible to change the colour of an MOPixel with lua?
|
Sun Oct 23, 2011 9:43 am |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
Re: Changing an MOPixels Colour
Not directly, but there are ways of making it appear to change colour. If you were define a particle of every possible colour (there are only 256 possible colours, so that's a bit easier to deal with), you could delete the original particle, spawn a new one with the correct colour, and then change its Sharpness, Mass, Pos, Vel, et cetera to be the same. In theory, that would work, although it could potentially be a bit buggy.
|
Sun Oct 23, 2011 7:54 pm |
|
|
Azukki
Joined: Sat Nov 03, 2007 9:44 pm Posts: 1916 Location: Flint Hills
|
Re: Changing an MOPixels Colour
Well, if you only wanted to change between a couple colors, you'd only need those colors, not every color possible.
What circumstance do you want the color change to happen under?
|
Wed Oct 26, 2011 5:18 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: Changing an MOPixels Colour
You could also try having a multi-framed 1 pixel MOSRotating over the MOPixel, with each frame being a different color.
|
Thu Oct 27, 2011 5:59 am |
|
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|