![]() This is directly from Summer Love - "Hero" frame is empty / blank sprite with size 20x90 - it is just because Arcade physics will automatically set body size to these dimensions:Įxport class Player extends Phaser. What you need is:Ģ] enable physics and set body and its size for this sprite (do not enable physics for children!),ģ] add Spriter.SpriterGroup as child of this sprite Problem with physics is, that if you apply it on every single part of Spriter character, they will fall down with gravity. Spriter character is for example in this game: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |