graphics/HACKING doc: explains how to build a new tiles.png
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@700 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
ad6d40200c
commit
c203103baf
1 changed files with 16 additions and 0 deletions
16
graphics/HACKING.txt
Normal file
16
graphics/HACKING.txt
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
To build a new tiles.png file, do the following:
|
||||||
|
|
||||||
|
1. Open a command-prompt, and cd to the graphics subdirectory.
|
||||||
|
|
||||||
|
2. Compile the helper program by typing the following command:
|
||||||
|
|
||||||
|
javac MakeTiles.java
|
||||||
|
|
||||||
|
3. Build the new tiles.png file by typing this command:
|
||||||
|
|
||||||
|
java MakeTiles tiles.dat tiles.png
|
||||||
|
|
||||||
|
(This will create tiles.png in the current directory.
|
||||||
|
Copying it into the ../resources/ directory and rebuilding
|
||||||
|
Micropolis using Ant is left as an exercise for the reader.)
|
||||||
|
|
Reference in a new issue