Replies: 3 comments
-
I think when we provide a method 'setSprite' for characters it should be easy to replace the sprite. Until then I fear that you will either have to replace the whole character or create a single sprite with all the clothes and create a custom animation. |
Beta Was this translation helpful? Give feedback.
-
i found a way, sorry about draft, the result was very good :D const texture = this.textures.createCanvas('teste', 128, 196); |
Beta Was this translation helpful? Give feedback.
-
The setSprite method is available in the freshly released version 2.6.0 now. I hope this solves your problem. |
Beta Was this translation helpful? Give feedback.
-
Hi, I was thinking about the possibility of players equipping clothes in my game. and to not have the trouble of making all possible sprites, it would be interesting to grid configure this when passed in the container.
http://34.95.166.209/teste.html
If you want to see how my game is doing, the link is: http://34.95.166.209/index.html
Beta Was this translation helpful? Give feedback.
All reactions