Drawing/masking over textures and creating a new texture

#1

Hi All, I am trying to create a game very similar to the following: https://www.abcya.com/games/fuzz_bugs_factory

Any thoughts on how I would be able to program painting/filling masks and in the end exporting a new, unique texture that can be used in Phaser?

0 Likes

#2

Hey @Jake.Caron,
I believe you can make the exact same game with phaser. There is this setTint method, you can partially paint an image or sprite(for examples). About generating new texture’s, there is this generateTexture method of Graphics. I’m not sure about also if animation can be done…

1 Like

#3

Thanks hcaker, it doesn’t exactly get me to where I need to be, but I do appreciate your help!

I think my main thing to solve right now is how do I update an existing texture?

0 Likes