[Behavior] Recolor Sprite

  • Is it Canvas based ?. It doesn't make sense to use Canvas it's too slow. In fact ideally C2 should go only with WebGL , it's still not a reality unfortunatelly. On WebGL this should not need a plugin since it's trivial to implement.

  • : Technically, it's not canvas based. It's a compositing trick.

  • Awesome plugin, I really need this!!

  • With the latest Construct 2 [r98], I get a error message every time the color is applied:

    inst.type.families is undefined

    192.168.1.30/preview.js, line 2254

    The color is applied, but the error message appears every time.

    I get this error when trying your capx example as well when creating my own capx.

  • With the latest Construct 2 [r98], I get a error message every time the color is applied:

    inst.type.families is undefined

    http://192.168.1.30:50001/preview.js, line 2254

    The color is applied, but the error message appears every time.

    I get this error when trying your capx example as well when creating my own capx.

    Still broken

  • Pode I too am interested in a working version of this plugin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'd love to use this.

    But i need it with webgl.

    Is that possible to implement?

    Kind Regards.

    Savvy

  • Savvy001 : recoloring a Sprite via a shader is a better option. That kind of trick used here won't work in a WebGL context.

  • Thanx for the advise! <img src="smileys/smiley32.gif" border="0" align="middle" />

  • hey, did you update this behavior for more sprites per app?

  • This unfortunately doesn't work for me, can't figure out why!

    I tested it both on Chrome and Firefox but still no positive results.

  • It does not work for me too, bug in 3rd party plugin...

  • Hi Pode, (this is a second post, sorry...)

    i try to use your behavior Recolor, but with Firefox, i have this error:

    Javascript error!

    TypeError: Argument 1 of CanvasRenderingContext2D.drawImage could not be converted to any of: HTMLImageElement, HTMLCanvasElement, HTMLVideoElement., line 108 (col 8)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    Is ther a solution?

    thanks

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