The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
The Powder Toy/Lua scripting
/
Suggestion for developers
«
1
»
Suggestion for developers
Marte2007
11th Oct 2011
Member
0
Permalink
I think that
tpt.create()
should return the index of the newly created particle, it would be useful for example to create a coloured particle:
tpt.set_property("dcolour",0xFF00FF00,tpt.create(100,100,"dmnd"))
Pilihp64
11th Oct 2011
Developer
0
Permalink
It does.
Marte2007
11th Oct 2011
Member
0
Permalink
It's not said in the wiki. I'll correct it.
«
1
»