rgbEx255 expression but in JavaScript

0 favourites
  • 2 posts
From the Asset Store
Add this awesome sound effects to make your visual novel come to life!
  • Hi,

    I cannot find how to generate a colorValue type number from Red, Green and Blue channels anywhere. I don't know how to use system expressions from even sheets, there is nothing on that in the documentation.

    Can anyone help?

    Also is there somewhere a definition what datatype colorValue in construct3 use anyway? It would be even better.

    ps.: Scripting reference is frustrating to use, there is no search only for javascript functions and while wasting 3 hours on this quest to convert some numbers I found a lot of developer posts that we shouldn't be using undocumented functions and people are still using them. How can I know if the function is documented or not if I cannot browse reference other than page by page?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The scripting APIs usually use an array of [r, g, b] for colors, with each component in the range 0-1. What do you need a color value in scripting for? Generally color values are specific to the event system.

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