DXRuby::Tiled
DXRuby::Tiled is a ruby library that draw Tiled Map Editor data by using DXRuby
Install
$ gem install dxruby_tiled
How to use
require "dxruby_tiled"
x, y = 0, 0
map = DXRuby::Tiled.load_json("tiledmapeditorfile.json")
Window.loop do
map.draw(x, y)
end
For more information, examples/dxruby_tiled_test.rb
Custom properties
- map - x_loop, y_loop(bool)
- imagelayer - fixed(bool)
Support status
Supported
- tile layer (orthogonal, isometric, staggered, hexagonal)
- image layer
- animation
Will support
- object layer
- collision
Unsupported
- load .tmx file
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/nodai2hITC/dxruby_tiled.
License
The gem is available as open source under the terms of the MIT License.