Creating Textures [WIP]

gh-pages
rubenwardy 2015-04-07 18:39:10 +01:00
parent 61c0c5feb6
commit de687cd206
4 changed files with 74 additions and 6 deletions

View File

@ -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

View File

@ -0,0 +1,64 @@
---
title: Creating Textures
layout: default
root: ../
---
<div class="notice">
<h2>Heavily a Work In Progress</h2>
This chapter is still being written.
</div>
## 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
<figure>
<img src="{{ page.root }}/static/pixel_art_gimp_pencil.png" alt="Pencil in GIMP">
<figcaption>
Pencil in GIMP
</figcaption>
</figure>
#### Set the rubber to hard edge
<figure>
<img src="{{ page.root }}/static/pixel_art_gimp_rubber.png" alt="Rubber in GIMP">
<figcaption>
Rubber in GIMP
</figcaption>
</figure>
## 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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB