jjatria / games-tmx-parser Goto Github PK
View Code? Open in Web Editor NEWThis project forked from eilara/games-tmx-parser
Parses TMX files from the Tiled map editor
This project forked from eilara/games-tmx-parser
Parses TMX files from the Tiled map editor
Games::Tmx::Parser ================== Parses TMX files from the Tiled map game editor: http://www.mapeditor.org/ Draw your maps in Tiled, then use this module to parse and build maps and waypoints for your game. Provides a simple OO XML::Twig-like API for accessing every corner of the map object model. Usage ----- In Tiled, draw your map and place properties as markers on special tiles you want to read in Perl. Then in your Perl game, read the map and use: my @cells = $map->get_layer('layer_with_stuff') ->find_cells_with_property('my_special_tile_marker'); To find your special cells (spawn points, enemy locations, etc.). Draw a layer by iteating over: @{ $layer->rows }; Which will give you an ARRAY ref of cells, one per column. Then you can find the tile of the cell using: $cell->tile; And then access its properties, or cut the correct image from the tileset image file: $tile->tileset->image; Requires -------- - Moose - XML::Twig Not Implemented --------------- - no support for object layers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.