How to accomplish this with colors /actives and a list

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I am working on a project, and I have several different Actives where the colors change.
    Currently I am doing it old style by having the different type of actives and have all the frames in there with colors. and copy the same thing in each active (note they are different shapes)

    Is it possible to have all the color Hex codes in a list
    and from there Auto Add a frame in the active filled with a color from the list of Hex codes.

    So I don't need to do this all manually ?

    ie.

    code from the list and then Add frame into Active 1,2 and 3 and fill those frames with that color code.


    THanks :)

  • I don't think so, I believe you have to manually select the color / color you want to replace when making the actions. I use the color replacer a lot and I can't think of a way to do what you want. Maybe someone else can?

    Weebish Mines, my retro Metroidvania!
    Please login to see this link.

  • I've been messing with it all day. so I don't know if it's possible or not.. it would be a great time saver for me in my case, and a lot of copying the same thing (but then in different sizes).
    We'll see if someone knows more..

  • You could do something like this to randomize the colors in the active from a list.

    It seems you can load frames from an external source. So if you already have the frames as files with simple colors you could load them into the active then switch those colors during runtime...

  • Thanks.. that works.

    Think I ran into a odd bug, had this last time too.. the "Press Any Key" doesn't seem to work. and no.. not looking for the "any" key
    Had to change it to Upon pressing "a" or any other button

    Now need to figure out, how to add frames to the active and fill those with the colors
    or otherwise, create new actives with different colors from the list and able to use those different colors..

    Edited once, last by Perry (December 23, 2017 at 1:47 AM).

  • I modified it, so it just grabs whatever is in the list, and using 5 actives.

    What I can't seem to get it when I click the mouse on 1 of the actives, that it copies the color to the other Active.
    I guess I need to use the GetRGB again, but idk how to get it from the Active.. Tried different combo's but not getting it..
    What am I missing?

    edit: got it to work by changing the RBG Coefficient to RGBAt( "Active 1", XMouse - X Left( "Active 1" ), YMouse - Y Top( "Active 1" ) )

    Edited 2 times, last by Perry (December 23, 2017 at 5:31 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!