Thread: Making graphics
View Single Post
Old May 10, 2013, 12:08   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 8,243
Donated: $60
Nick will become famous soon enough
Basically
  1. Put all the tiles in a sheet (look at one of the .png files in lib/xtra/graf to see what I mean)
  2. Make a .prf file that links objects, monsters etc with places in the sheet (look at, for example, lib/pref/graf-nmd.prf)
There are code changes that will be needed when it gets to be a fully-fledged tileset too, but if you just name your files to replace one of the existing tilesets, you can test it out.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote