Created
September 8, 2014 12:18
-
-
Save pauldub/f59f13c442dec69b9fad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@map = Dungeon::Map.build do | |
tiles = layer :tiles, 'maps/test_map.bmp', { | |
# Hmm, colors are weird the 1st is supposed to be 170 170 170 | |
[43690, 43690, 43690] => Dungeon::StoneFloor, | |
[11308, 11308, 11308] => Dungeon::StoneWall, | |
[24929, 24929, 24929] => Dungeon::StoneWallV | |
} | |
tiles.set :solid, [Dungeon::StoneWall, Dungeon::StoneWallV] | |
tiles.set :floor, [Dungeon::StoneFloor] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment