Skip to content

Commit 2810bf8

Browse files
committed
Structure cleanup and additional test asset
1 parent 56ac505 commit 2810bf8

File tree

5 files changed

+45
-1
lines changed

5 files changed

+45
-1
lines changed

.changelog.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
repo: lafriks/go-tiled
2+
3+
service: github
4+
5+
groups:
6+
-
7+
name: BREAKING
8+
labels:
9+
- breaking
10+
-
11+
name: ENHANCEMENTS
12+
labels:
13+
- enhancement
14+
-
15+
name: BUGFIXES
16+
labels:
17+
- bug
18+
-
19+
name: TESTING
20+
labels:
21+
- testing

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
tab_width = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.{go,tmpl}]
13+
indent_style = tab

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# go-tiled
22

3-
[![godoc reference](https://img.shields.io/badge/godoc-reference-5272B4)](https://pkg.go.dev/github.com/lafriks/go-tiled?tab=doc)
3+
[![PkgGoDev](https://pkg.go.dev/badge/github.com/lafriks/go-tiled)](https://pkg.go.dev/github.com/lafriks/go-tiled)
44
[![Build Status](https://cloud.drone.io/api/badges/lafriks/go-tiled/status.svg?ref=refs/heads/master)](https://cloud.drone.io/lafriks/go-tiled)
55

66
Go library to parse Tiled map editor file format (TMX) and render map to image. Currently supports only orthogonal rendering out-of-the-box.

assets/test3.tmx

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<map version="1.2" tiledversion="1.2.4" orientation="orthogonal" renderorder="right-down" width="10" height="10" tilewidth="128" tileheight="128" infinite="0" nextlayerid="2" nextobjectid="1">
3+
<tileset firstgid="1" source="tilesets/kenny-racing/kenny-racing-tileset-grass.tsx"/>
4+
<layer id="1" name="Tile Layer 1" width="10" height="10">
5+
<data encoding="base64" compression="zlib">
6+
eJxjYWBgYEHCjEDMhCaGDbMBMTsOOVxmoIvjMgOXODXcRipGtxOXG9DtJNcNADh3AZE=
7+
</data>
8+
</layer>
9+
</map>

0 commit comments

Comments
 (0)