The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Announcements
/
Official Game Feedback
«
1
31
32
33
34
35
116
»
Official Game Feedback
johny2030
4th Aug 2011
Member
0
Permalink
This post has been removed by Pilihp64: spammm
jenn4
4th Aug 2011
Member
0
Permalink
This post has been removed by Pilihp64: spam reply to spammm
Dingolo
4th Aug 2011
Member
0
Permalink
This post has been removed by Pilihp64: off-topic
jenn4
4th Aug 2011
Member
0
Permalink
How to use dcolour?
Pilihp64
4th Aug 2011
Developer
0
Permalink
@jenn4
(View Post)
the dcolour property is a single value, with the RGB values all in there.
0xAARRGGBB where that is Alpha, Red, Green, Blue.
I'm not sure of the best way to do it from Lua, but there are ways.
jenn4
4th Aug 2011
Member
0
Permalink
Ok. so set dcolor metl 0xFF0000 don't work
Pilihp64
4th Aug 2011
Developer
0
Permalink
No, it is currently from Lua only.
tpt.set_property("dcolour",0xFFFFFFFF,"dust")
jenn4
4th Aug 2011
Member
0
Permalink
@cracker64
(View Post)
Hmm... tpt.set_property("dcolour", "metl", "0xFF0000") don't work, too.
Pilihp64
4th Aug 2011
Developer
0
Permalink
@jenn4
(View Post)
Because that is wrong, look at my example.
jenn4
4th Aug 2011
Member
0
Permalink
@cracker64
(View Post)
Ok. I didn't notice it.
«
1
31
32
33
34
35
116
»
Locked by Simon: Getting a bit cramped