Guide to spriting: Difference between revisions

1,127 bytes added ,  09:57, 15 August 2014
m
Added Nienhaus'/Errorage's PNG to DMI -tutorial.
imported>Rockdtben
(Created page with "This is not a technical guide on how to do sprites in a graphical program, this is a guide intended for people who know how to sprite, but need to know what exactly is needed ...")
imported>Kosmos
m (Added Nienhaus'/Errorage's PNG to DMI -tutorial.)
Line 2: Line 2:


== Object overview ==
== Object overview ==


There are 4 types of objects in the game:
There are 4 types of objects in the game:
Line 25: Line 24:


Now, hopefully that's all the information you need to sprite and make dmi files.  
Now, hopefully that's all the information you need to sprite and make dmi files.  
=== From PNG back to DMI ===
[https://www.youtube.com/watch?v=kXDcYtAfjrM Here's Errorage's video tutorial (thanks Errorage!) on how to convert your beautiful PNG file into a DMI, you can watch this or follow the guide below, they are essentially the same.]
The [http://entropymine.com/jason/tweakpng/ first thing you want to do is download TweakPNG from here],
You then want to copy the .dmi and make it a .png.
[[File:Spriting1.png|frame|none|Dmi and png files here.]]
Open the .png file in a photo editing software like GImp or Paint.NET.
[[File:Spriting2.png|300px|frame|none|Png file opened.]]
Make any edits you want.
[[File:Spriting3.png|frame|none|Perfect.]]
Save/Export the file. Along with opening TweakPNG.
Rename the .png to something new and make it a .dmi.
You can then drag your .dmi file into TweakPNG.
Copy the chunk named "zTXt".
Drag on the new .dmi and copy the "zTXt" chunk over and make sure it's anywhere under the "tRNS" chunk.
[[File:Spriting4.gif|frame|none|Oh god what is going on.]]
Open your new .dmi to make sure it worked.
[[File:Spriting5.png|300px|frame|none|Hey! It worked!]]


== Required sprites by object category ==
== Required sprites by object category ==
Anonymous user