COLOR CYCLE (and other things...)

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 was searching for a way to cycle colours in active object by using only vivid colours. This could be easily achieved by using HSV colour system. But since MMF doesn't support HSV colour space (and converting RGB to HSV is not a trivial job) I was trying to find another fast and easy way to achieve similar effect which will work in EXE (HWA), iOS and SWF.

    And I did- by storing a whole custom colour palette into small active object and then using RGB value of pixels in this objects for colour cycling.

    And then I realized that I can store a lot of informations that way- like for a complex moving etc...
    Maybe it sound confusing but it's very simple. Just check the example.

    I hope you will find this useful...

    Dusan

  • Thank you ProdigyX :)
    Maybe the whole concept is not very obvious from previous example (specially controlling a movement by an image from Active Object). This is a better one.

    Please login to see this attachment.

    For me this discovery is a salvation, since I suck at maths, but I'm very visual guy.

    The next file is also very interesting (a little bit psychedelic) example. I didn't write any comments in code because I'm lazy and I believe everything is very self-explanatory.

  • Nice work! For the record: Sphax has a Hue shader that can do this for HWA, and I'm pretty sure my Flash Fx extension can do it in SWF (but it's undocumented so forgot about figuring it out by yourself :D ), anyway, your way works on multiple platforms - so, nice work.

    Please login to see this link.

Participate now!

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