Jump to content

Recolour Animation


MadMunky
 Share

Recommended Posts

Is it possible to recolour an animation as it plays, say I have a spritesheet animation of a character wearing a blue t-shirt rather than create a new spritesheet I would like to do a replaceRBG on each frame of the animation as it plays.

Also another question but based on the replaceRGB method which I want to use, if I create a bitmapData then copy a sprite to it and update it, then do a callback to recolour the bitmapData the colour is not replaced but if I manually do it with the .processPixelRGB method it will recolour correctly?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...