Jump to content

Multiple animated sprites best practice


Jcc10
 Share

Recommended Posts

I was wondering what the best practice would be for the following situation in a multiplayer game:

Each player has a choice of base sprites and multiple stuff they can wear, (arbitrary amount of possibility's but limited slots for use) I was wondering what the "best practice" would be for this situation. I obviously can not per-render every combination so it has to be in some way or another dynamic.

I was wondering if there is a way to flatten a set of sprites into one for the sake of rendering since the animations for all of them are going to be in the same places on the raw images. This would probably also make synchronizing animations easier then having multiple sprites.

Link to comment
Share on other sites

I must apologize for the shit example images but the idea would be to select a base sprite:

125468424_DemoCharacter-ColorBox.png.17a2143175fa708cc4fc3936a949f4b1.png

then have (a) add-on image(s):

91705977_DemoCharacter-capaddon.png.ea0fae74f809a2b7f5bf9660e958785a.png

And dynamically generate a single image from the two. Example processed image:

215453108_DemoCharacter-ColorBoxwithcap.png.bf06a0744ae46a6b8dbfa884e570da97.png

However I don't know if this is possible.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...