Games Unable to import object types Tiled Map Editor

Discussion in 'Game Development' started by giga, Nov 3, 2018.

  1. giga

    giga Well-Known Member Licensed User

    This is my first time trying the program Tiled Map Editor and I am getting this error Importing Objects
    I get this error trying to import objecttypes.json from Helloworld_tilemap example. but can import objecttypes.json from other examples.
    Any ideas always appreciated. Thanks


    upload_2018-11-2_21-49-35.png
     

    Attached Files:

  2. Gunther

    Gunther Active Member Licensed User

    Hi, than use the objecttypes.json which is working. You need to do it only once and not for every new tiled map.

    The objettypes.json is the same for all. You need to reload them only if Erel is asking to do so. But then a new file will be availabe in this forum anyway.

    Well, it may be that the corrupted json was opened and modified locally on your pc.
     
    Last edited: Nov 3, 2018
    Erel and giga like this.
  3. giga

    giga Well-Known Member Licensed User

    Thanks for the response, I was not aware each objecttype was the same for all examples I thought it was required per example.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    See this tutorial: https://www.b4x.com/android/forum/threads/96815/#content

    All the project files (excluding the layout files) are empty. They are copied when needed from the shared folder when you run the project. Don't modify the project specific files. Only the files in the shared folder.
     
    giga likes this.
  5. giga

    giga Well-Known Member Licensed User

    Thanks for the help guys. With Gunther suggestion it is working now. I saw the tutorial but will review it again.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice