File: README.md

package info (click to toggle)
tiled-qt 1.11.90-1
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 40,304 kB
  • sloc: cpp: 125,078; java: 4,174; python: 1,634; xml: 1,524; sh: 427; makefile: 67; ruby: 15
file content (20 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Java TMX Viewer example

This is a simple example application showing how to use libtiled-java to load
and view a Tiled map file.

## Opening the project in a modern IDE

Just import this project as a `Maven project`, specifying the project `pom.xml` 
file location.

## Trying it out from the command line

The tmxviewer-java needs libtiled-java to be compiled first to add libtiled
dependency to your local Maven repository.

The [Apache Maven](https://maven.apache.org/) build tool is used to build from the command line.

* Run `mvn clean install` in the libtiled-java directory to build libtiled.jar
* Go to the `tmxviewer-java` directory and run `mvn clean install` there to compile it
* Launch the `TMX Viewer` using `java -jar tmxviewer-<Version>.jar [file]`