Skip to content

a Ruby library that draw Tiled Map Editor data by using DXRuby

License

Notifications You must be signed in to change notification settings

nodai2hITC/dxruby_tiled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a Ruby library that draw Tiled Map Editor data by using DXRuby

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages