graphics: update HACKING file with new instructions for building tiles.png
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@717 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
a560ccd1dd
commit
df2049ef98
1 changed files with 6 additions and 9 deletions
|
@ -20,17 +20,14 @@ Generating the composite image
|
||||||
|
|
||||||
To build a new tiles.png file, do the following:
|
To build a new tiles.png file, do the following:
|
||||||
|
|
||||||
1. Open a command-prompt, and cd to the graphics subdirectory.
|
1. Open a command-prompt, and cd to the micropolis-java directory.
|
||||||
|
|
||||||
2. Compile the helper program by typing the following command:
|
2. Build Micropolis by typing the following command:
|
||||||
|
|
||||||
javac MakeTiles.java
|
ant
|
||||||
|
|
||||||
3. Build the new tiles.png file by typing this command:
|
3. The generated tiles.png file can be found in the build/ subdirectory.
|
||||||
|
|
||||||
java MakeTiles tiles.dat tiles.png
|
4. Now you can run Micropolis with the new graphics. Type:
|
||||||
|
|
||||||
(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.)
|
|
||||||
|
|
||||||
|
java -jar micropolisj.jar
|
||||||
|
|
Reference in a new issue