=====================================================================
TileViewer was originally created by Cristian Zaloj for Pyrokid.
It was later adjusted for use in INFO3152's Design Lab 2.
=====================================================================
# Java Version

The Java version of TileViewer is preferred, as it is built on LibGDX,
the same engine your team will be using to create your game. Ensuring
that LibGDX games work on your system now will prevent much headache
in the future. 

To run this application, ou will need to have Java installed on your 
computer. Modern Macs, in particular, do not come with Java pre-installed.
To verify whether you hava Java, open a command line tool (Powershell
on Windows, Terminal on macOS) and type 'java'. If the command is not
found, download a copy of Java from here:

https://www.oracle.com/java/technologies/downloads/#java17

To run TileViewer.jar, simply double click on it.  If that does not
work, you can run it come the command line by typing

    java -jar TileViewer.jar

provided you are in the correct directory.  If you are unfamiliar with
how the command line works, refer to the instructions from CS 1110:

https://www.cs.cornell.edu/courses/cs1110/2022fa/materials/shell/

To view your custom tile set, copy your file into the same directory as
the JAR file and call is 'tiles.png' (capitalization matters). Now when
you run the program the plaforms will use your tile set. Take note of
any places that don't look very good and adjust these in your file. 

---

# Python Version

tileviewer.py is an Python alternative to TileViewer.jar for users that
do not want to use Java. To use this you need a copy of Python with
Pillow installed. To install Python, see the instructions from CS 1110:

https://www.cs.cornell.edu/courses/cs1110/2022fa/materials/python/

To install Pillow, use PIP from the command line:

python -m pip install --upgrade pip
python -m pip install --upgrade Pillow

To use the Python tileviewer, type

python tileview.py tiles.png

where tiles.png can be substituted for your image file
