Skin Creation: Difference between revisions

From DDraceNetwork
Louis (talk | contribs)
No edit summary
Nawretard (talk | contribs)
Marked this version for translation
 
(19 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Skin files are 32-bit RGBA formatted in a 2:1 ratio. Each side of the image must be divisible by 4 pixels.
{{MigrateTranslation}}
<languages/>
{{Stub}}
<translate>


== Overview == <!--T:9-->


<!--T:1-->
'''''Skin''''' files are 32-bit RGBA formatted in a 2:1 ratio. Each side of the image must be divisible by 4 pixels.
== Create a skin == <!--T:10-->
<!--T:2-->
To create a skin, you'll need the appropriate software before you begin. It's advised to use a vector graphics image editor, as they produce clean exports and are easy to edit. Some popular choices are:
To create a skin, you'll need the appropriate software before you begin. It's advised to use a vector graphics image editor, as they produce clean exports and are easy to edit. Some popular choices are:


<!--T:3-->
* [https://inkscape.org/ Inkscape] (free, open-source, and the choice of this tutorial)
* [https://inkscape.org/ Inkscape] (free, open-source, and the choice of this tutorial)
* [https://www.adobe.com/products/illustrator.html Adobe Illustrator]
* [https://www.adobe.com/products/illustrator.html Adobe Illustrator]
Line 9: Line 21:




<!--T:4-->
Next, it's time to start making your skin. It's easiest to start from a pre-existing skin, or a template file. [https://github.com/ddnet/ddnet-data-svg/tree/main/skins This GitHub repo] contains many .svg remakes of popular skins. Let's take a look at the default skin .svg:
Next, it's time to start making your skin. It's easiest to start from a pre-existing skin, or a template file. [https://github.com/ddnet/ddnet-data-svg/tree/main/skins This GitHub repo] contains many .svg remakes of popular skins. Let's take a look at the default skin .svg:
[[File:Default skin svg.png|left|thumb|default.svg]]
 
As we can see, each body part has a corresponding black shadow version. The black shadow of each body part is the outline used in the tee as a whole. Make sure these share the same shape as each body part, but with a larger stroke size.
</translate>
[[File:Default skin svg.png|thumb|default.svg]]
<translate>
<!--T:6-->
As we can see, each body part has a corresponding black shadow version.  
 
<!--T:7-->
The black shadow of each body part is the outline used in the tee as a whole.
 
<!--T:8-->
Make sure these share the same shape as each body part, but with a larger stroke size.
 
==Body Parts Rendering order== <!--T:11-->
 
<!--T:13-->
{{todo|verify this is correct}}
 
<!--T:12-->
# Hand outline
# Hand
# Back feet outline
# Body outline
# Front feet outline
# Back feet
# Body
# Left eye
# Right eye
# Front Feet
 
</translate>
[[Category:Tutorial{{#translation:}}]]

Latest revision as of 13:56, 5 May 2024

This article is a Stub. You can help us by editing and improving it.

Overview

Skin files are 32-bit RGBA formatted in a 2:1 ratio. Each side of the image must be divisible by 4 pixels.


Create a skin

To create a skin, you'll need the appropriate software before you begin. It's advised to use a vector graphics image editor, as they produce clean exports and are easy to edit. Some popular choices are:


Next, it's time to start making your skin. It's easiest to start from a pre-existing skin, or a template file. This GitHub repo contains many .svg remakes of popular skins. Let's take a look at the default skin .svg:

default.svg

As we can see, each body part has a corresponding black shadow version.

The black shadow of each body part is the outline used in the tee as a whole.

Make sure these share the same shape as each body part, but with a larger stroke size.

Body Parts Rendering order

TODO: verify this is correct
  1. Hand outline
  2. Hand
  3. Back feet outline
  4. Body outline
  5. Front feet outline
  6. Back feet
  7. Body
  8. Left eye
  9. Right eye
  10. Front Feet