First Game Project - Colour Issue

Ben :)Ben :) Member Posts: 8
edited October 2017 in Working with GS (PC)

Hello GS community!

I am currently creating my first game - the premise of which is to change your character's colour in order to pass through walls.

However, I have run into a problem.

I can only change the characters colour to red, green or blue.

To do this, I use a 'change attribute' set.color.blue, set.color.red or set.color.green - and change its value to 1 or 0.

So, here is my question:

How do I change my characters colour to the ones I want (in this case, orange, yellow and pink).

Thanks for reading! If any of you have any suggestions, please write them in a noob friendly format - this is my first ever time using Game Salad! :)

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited October 2017

    You can use color values between 0 and 1. So any of these will also work:

    0
    0.1
    30/255 -- this is typically what I use because it mirrors online values that are easy to find for "pink," "orange", etc.
    200/9999
    1

    http://htmlcolorcodes.com/

  • Ben :)Ben :) Member Posts: 8

    @tatiang said:
    You can use color values between 0 and 1. So any of these will also work:

    0
    0.1
    30/255 -- this is typically what I use because it mirrors online values that are easy to find for "pink," "orange", etc.
    200/9999
    1

    http://htmlcolorcodes.com/

    Thanks so much, this worked perfectly :)

  • sambutlersambutler Member Posts: 1
Sign In or Register to comment.