RGB Values in Dictionaries

0 favourites
  • 3 posts
From the Asset Store
HSV RGB Color Picker and Converter for Construct 3
  • I am storing sprite colors as rgbEx255 in dictionaries like in the attached screenshot.

    I am able to get the dictionaries loaded up just fine but when I access those values for the color replacer effect I believe it is returning the values as a string instead of the expected color value.

    I'm sure I'm missing something basic about how the rgbEx255 expression is saved so any help is appreciated.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Color values in Construct are a bit odd. You might have to store just the values as a string and then use rgbEx255(dictionary.get("values")) instead.

  • Color values in Construct are a bit odd. You might have to store just the values as a string and then use rgbEx255(dictionary.get("values")) instead.

    Ah yes, thank you for the reply. Upon looking into it further I'm thinking I can use 'tokenat' and store my values with a separator in the keys. It'll less typing that way, which is a bonus.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)