Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

properties bug on line 9941, when loading json
Started by Dimahh90 Sep 13 2016 10:29 AM

1 reply to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Dimahh90

[GLOBAL: userInfoPane.html]
Dimahh90
  • Enthusiast

  • 45 posts
  • Corona SDK

Hey guys,

I really hope I'll get an answer on this one here.
 

I created a map with tiled and saved it as a "tmx".
Now I do mte.loadMap( "myMap.tmx" ) and the mte loads the map.
2 WARNINGS appear like this:

WARNING(detectSpriteLayers): No Sprite Layers Found. Defaulting to all map layers.
WARNING(detectObjectLayers): No Object Layers Found.
But the map loads!

Now I'm saving the map as a json file.
Trying to load it and get this error:
mte.lua:9941: attempt to index field 'properties' (a nil value)

I'm hanging on this for hours now -.-
Pleeease has someone an idea to that?

Thank you in advance
Dimitri



[TOPIC: post.html]
#2

Dimahh90

[GLOBAL: userInfoPane.html]
Dimahh90
  • Enthusiast

  • 45 posts
  • Corona SDK

Ok I solved my problem.
Just added a properties table manually to my json.
:)




[topic_controls]
[/topic_controls]