Skip to content

Instantly share code, notes, and snippets.

View bjorn's full-sized avatar
🇳🇱

Thorbjørn Lindeijer bjorn

🇳🇱
View GitHub Profile
@bjorn
bjorn / WorldScripting.js
Last active January 17, 2024 10:17 — forked from dogboydog/WorldScripting.js
Testing world scripting functionality for Tiled (map editor)
/*
* Testing world scripting functionality
*/
var WorldScripting = {};
WorldScripting.scriptAction = tiled.registerAction("WorldScripting", function (action) {
var state = {
worlds: tiled.worlds,
}
# Filename : Image2Map.py
# Authors : Georg Muntingh and Bjorn Lindeijer
# Version : 1.2
# Date : June 16, 2010
# Copyright : Public Domain
import os, sys, Image, networkx
class TileMap:
""" This class represents a map of tiles.