Skip to content

Instantly share code, notes, and snippets.

@Lunavast
Lunavast / png2tmx.go
Created June 2, 2016 23:47 — forked from mcgrew/png2tmx.go
Convert a png to a TMX tile map
package main
import(
"image/png"
"image/draw"
"image"
"io"
"os"
"fmt"
"encoding/base64"
(function() {
/* == GLOBAL DECLERATIONS == */
TouchMouseEvent = {
DOWN: "touchmousedown",
UP: "touchmouseup",
MOVE: "touchmousemove"
}
/* == EVENT LISTENERS == */