12-02-2020, 08:06 PM
(This post was last modified: 12-02-2020, 08:07 PM by slimy_asparagus.)
What is the cleanest way to convert a player to an integer?
I would have the cleanest would be (id "P1") or (id "P2") but I cannot get it to work. I am trying (in a different game) to do something like:
In a related question, are we forced to identify a player with a colour? A few games resist that and use symbology instead.
I would have the cleanest would be (id "P1") or (id "P2") but I cannot get it to work. I am trying (in a different game) to do something like:
Code:
(piece Foreground "Square" state:(id "P1") image:"disc" fillColour:(colour Black) scale:0.4)
(piece Foreground "Square" state:(id "P2") image:"cross" fillColour:(colour Black) scale:0.4)
In a related question, are we forced to identify a player with a colour? A few games resist that and use symbology instead.