Replies: 1 comment
-
To do this in Phaser, you need to looking at 'masking' in some way. Either apply a circular mask to your squares when drawing (every screen update), or pre-render the masked image to another texture and use that. This might be useful: https://phaser.discourse.group/t/pre-render-images-with-masks-to-texture/5852 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The images THAT I use in the game come from the web, and they're all square, How do I crop an image to a circle once it's loaded into the game, or is there a way to crop it to a circle before loading it
Beta Was this translation helpful? Give feedback.
All reactions