Added initial support for Tiled maps

This commit is contained in:
2019-10-11 13:17:59 -05:00
parent e67325e831
commit 44e9dcf7d7
11 changed files with 292 additions and 101 deletions

View File

@@ -4,7 +4,7 @@ class IMICRTS
window.show_cursor = true
@player = Player.new(id: 0)
@director = Director.new(map: Map.new(width: 256, height: 256), players: [@player])
@director = Director.new(map: Map.new(map_file: "maps/test_map.tmx"), players: [@player])
@selected_entities = []