Colour cycling plugin/ JavaScript source code

0 favourites
  • 9 posts
From the Asset Store
Color Flow
$2 USD
60% off
Color all tiles with the same color in 22 moves or less!
  • Hi all

    I found this example of html5 colour cycling a while back. http://www.effectgames.com/demos/canvascycle/

    The developer kindly included the source code in JavaScript here http://www.effectgames.com/effect/article.psp.html/joe/Old_School_Color_Cycling_with_HTML5

    I can't program for the life of me, yet, but maybe one of our talented plugin devs could take aloof and make my dreams come true for a colour cycling plugin for c2? :D

    Thanks!

    Ys

  • These images are made by Deluxe Paint are converted from C++ to JS which make Amiga IFF / ILBM can be read in JSON.

    Who would make images with 8-bit color cycling in Deluxe Paint?

    It's impossible, better make a workaround using mask animations and particles

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Joannesalfa

    wut?

    All you're doing is replacing one color with another. All this blah blah blah about C++, and Deluxe Paint has nothing to do with the actual implementation.

    In fact you could do it with the Canvas plug. It would be a long drawn out process to set up, and not recommended for images larger than the demo, but still quite doable.

  • Joannesalfa

    wut?

    All you're doing is replacing one color with another. All this blah blah blah about C++, and Deluxe Paint has nothing to do with the actual implementation.

    In fact you could do it with the Canvas plug. It would be a long drawn out process to set up, and not recommended for images larger than the demo, but still quite doable.

    newt

    I was talking about Deluxe Paint files (Amiga IFF / ILBM files) needs to be converted with script for HTML5 app. These files come Color Cycling system.

    (I didn't like your comment)

  • Oh Effect Games. I was very enolved with this engine and project from it's beginning to it's end. Just be aware the whole source (engine, site tools, etc) is free for any use here: github.com/jhuckaby/Effect-Games . I got the site/tools mostly running on Ubuntu so anyone let me know if you need any assistance.

    This was a great engine and site but it's not "technically" HTML5. Effect games used DHTML since it was created before the canvas was a stable taget to develop against.

    It was also very cool to create games with the online tools and online IDE; which meant you could develop games anywhere without installing anything. Effect Games is very much missed... <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Yeah, i missed EffectGames, i had no idea why they abandoned

  • Furthermore, the canvas has no concept of "indexed color palettes" for images.

    Every Canvas is based on 32 pixels (8 bit for R, G, B an A respectively).

    So if you want to change the color of one pixel, you need to access that specific pixel in memory. No possibility to just change the palette.

  • Sooooooo, no?

    I have literally, absolutely no idea what you guys are talking about.

    I am exactly construct 2's target market.

    :D

  • better make a workaround using mask animations and particles

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