2D Toolkit Forum
2D Toolkit => Support => Topic started by: JBabz on July 10, 2013, 05:08:42 pm
-
Does anybody know what might be causing these compile errors from the tilemap file in the new 2.1 beta?
I'd really like to use the tilemap object..
Any clues as to what could be causing this?
(http://imageshack.us/a/img823/8471/p1wh.png) (http://imageshack.us/photo/my-images/823/p1wh.png/)
Uploaded with ImageShack.us (http://imageshack.us)
-
Do you use javascript?
-
To troubleshoot, you could import into an empty project, and then compare the directories...
-
I had the same problem. I encountered this because I made a class called Layer in the default namespace. You might be conflicting with a class name. I think there are some classes in the default namespace that come with tk2d, specifically there is one called Layer.
-
Ah that makes a lot more sense now. You can fix it by using fully qualifiied names in the tk2dTileMap class.