0.0
No commit activity in last 3 years
No release in over 3 years
Draw TiledMapEditor data by using DXRuby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
>= 0
~> 10.0

Runtime

>= 1.4.1
 Project Readme

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"

pos_x, pos_y = 0, 0
map = DXRuby::Tiled.load("tiledmapeditorfile.tmx")

Window.loop do
  map.draw(pos_x, pos_y)
end

For more information, examples/dxruby_tiled_test.rb

Custom properties

  • map - loop(bool)
  • layer - fixed(bool)
  • imagelayer - x_loop, y_loop(bool)

Support status

Supported

  • tile layer (orthogonal, isometric, staggered, hexagonal)
  • image layer
  • object layer
  • collision
  • animation

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.