RafaelBarbosatec / bonfire

(RPG maker) Create RPG-style or similar games more simply with Flame.
https://bonfire-engine.github.io
MIT License
1.27k stars 190 forks source link

Using multiple/layered spritesheets #326

Closed GyHUN95 closed 2 years ago

GyHUN95 commented 2 years ago

Dear Rafael, I know it's a really noob question, but has Bonfire any layered SpriteSheet support? I'm testing spritesheets, like this: image 1: body, image2: hair, image3: cloth. I found this section, but unfortunately didn't work in the newest version: https://bonfire-engine.github.io/#/loading_assets?id=mergin-images I can provide the original spritesheets if it's help.

Thank you for your time!

rafaelbarbosadrip commented 2 years ago

You can get some spritesheets to do it here: https://github.com/RafaelBarbosatec/bonfire/tree/master/example/assets/images/lpc

GyHUN95 commented 2 years ago

Yes, I have similar components, but I can't solve to merge these part to one player. Thank you I will get some data from here: https://github.com/RafaelBarbosatec/bonfire/blob/master/example/lib/lpc/lpc_sprite_sheet_loader.dart