Saving color values in tables
Hello there!
Is it possible to save the color values in the table,if it is then how can i get colors values with high range.
As well as is it possible for images?
Best Answers
-
MentalDonkeyGames Posts: 1,276
Both are possible. With images, just make the column type text and put the exact image name in the cell. Colors you need to have 3 or 4 different values. Red, green and blue, and alpha if you want. The column type has to be real. In GS the colors go from 0 to 1 (with decimals).
If you want to change a table value to the current image or color, just add a "change table value" behavior, specify the table, row and column you want to change, and for the value, just browse to the actors self.attributes and select the image, r, g, b or alpha attribute. Depending on what you're changing.
Hope that made sense