Hello Guest

Author Topic: [QUESTION] [2.1 BETA] Wierd Tilemap Compile Error  (Read 4269 times)

JBabz

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 42
  • @joe_babz
    • View Profile
    • Zombit on Facebook
[QUESTION] [2.1 BETA] Wierd Tilemap Compile Error
« 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?


Uploaded with ImageShack.us

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: [QUESTION] [2.1 BETA] Wierd Tilemap Compile Error
« Reply #1 on: July 10, 2013, 05:33:09 pm »
Do you use javascript?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: [QUESTION] [2.1 BETA] Wierd Tilemap Compile Error
« Reply #2 on: July 10, 2013, 05:34:10 pm »
To troubleshoot, you could import into an empty project, and then compare the directories...

1337Rooster

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [QUESTION] [2.1 BETA] Wierd Tilemap Compile Error
« Reply #3 on: September 06, 2013, 04:05:17 am »
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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: [QUESTION] [2.1 BETA] Wierd Tilemap Compile Error
« Reply #4 on: September 06, 2013, 02:26:50 pm »
Ah that makes a lot more sense now. You can fix it by using fully qualifiied names in the tk2dTileMap class.