diff --git a/_data/links.yml b/_data/links.yml index 6a605a8..d6eb0bc 100644 --- a/_data/links.yml +++ b/_data/links.yml @@ -15,32 +15,36 @@ num: 3 link: chapters/nodes_items_crafting.html -- title: Node Drawtypes +- title: Creating Textures num: 4 + link: chapters/creating_textures.html + +- title: Node Drawtypes + num: 5 link: chapters/node_drawtypes.html - title: Active Block Modifiers - num: 5 + num: 6 link: chapters/abms.html - hr: true - title: Player Physics - num: 6 + num: 7 link: chapters/player_physics.html - title: Formspecs - num: 7 + num: 8 link: chapters/formspecs.html - title: HUD - num: 8 + num: 9 link: chapters/hud.html - hr: true - title: Releasing a Mod - num: 9 + num: 10 link: chapters/releasing.html - hr: true diff --git a/chapters/creating_textures.md b/chapters/creating_textures.md new file mode 100644 index 0000000..25d4261 --- /dev/null +++ b/chapters/creating_textures.md @@ -0,0 +1,64 @@ +--- +title: Creating Textures +layout: default +root: ../ +--- + +
+

Heavily a Work In Progress

+ + This chapter is still being written. +
+ + +## Introduction + +In this chapter we will learn how to create and optimise textures for +Minetest. We will use techniques relevant for pixel art. + +* Resources +* Editors +* Common Mistakes +* OptiPNG (todo) + +## Resources + +* [16×16 Pixel Art Tutorial](http://www.photonstorm.com/art/tutorials-art/16x16-pixel-art-tutorial) + +## Editors + +### MS Paint + +You need to be aware that MS Paint does not support transparency. +This won't matter if you're making textures for the side of nodes, +but generally you need transparency for craft items, etc. + +### GIMP + +GIMP is commonly used in the Minetest community. It has quite a high +learning curve as lots of its features are hidden away. + +#### Use the pencil tool to edit individual pixels + +
+ Pencil in GIMP +
+ Pencil in GIMP +
+
+ +#### Set the rubber to hard edge + +
+ Rubber in GIMP +
+ Rubber in GIMP +
+
+ +## Common Mistakes + +### Blurred textures through incorrect tools + +For the most part, you want to manipulate pixels on an individual basis. +The tool for this in most editors is the pencil tool. diff --git a/static/pixel_art_gimp_pencil.png b/static/pixel_art_gimp_pencil.png new file mode 100644 index 0000000..14965b6 Binary files /dev/null and b/static/pixel_art_gimp_pencil.png differ diff --git a/static/pixel_art_gimp_rubber.png b/static/pixel_art_gimp_rubber.png new file mode 100644 index 0000000..d79673b Binary files /dev/null and b/static/pixel_art_gimp_rubber.png differ