0
\$\begingroup\$

I want to make a browser game (using HTML5-canvas) where the user can create their own character with different clothing and stuff.

I want to use something like the Universal LPC Sprite Sheet set.

Tools like the Character Generator create spritesheets with different components. Should I do the same on the server side (on demand) and serve the composed spritesheets, or should I serve the components and layer them at the client?

\$\endgroup\$
  • 2
    \$\begingroup\$ This looks like something you can decide for yourself based on your own profiling. If most players only need one combination for long swaths of time, then it's more bandwidth-efficient to send them just the one pre-composed version. If they frequently need to access hundreds of variations of a few dozen common components, then it's more bandwidth-efficient to send them just the components and let the client layer them as needed. Where your game's needs fall along that spectrum is something that only you know. \$\endgroup\$ – DMGregory Apr 22 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.