Cocos2d-JS(TMX Tield Map)

  • OrestHlodan
    Likes 0

    Problem Description

    Hello guys!

    How to load a map correctly? 

    when i use var map = new cc.TMXTiledMap ("res / MapVersion3.0.tmx"); loading tsx and tmx files into the resource.js file, like this: may g_resources = [   "res / MapVersion3.0.tmx",   "res / MapVersion3.0.tsx", ]; Maybe I'm doing something wrong? Errors like: Please load the resource first: res / MapVersion3.0 ../../ Map / MainTileSet.tsx.

  • Sonar Systems admin
    Likes 1

    What happens with this code?

  • OrestHlodan
    Likes 0

    all right, just now on the web test sprite moves animated, and on android moves without animation, what can be the reason?

  • Sonar Systems admin
    Likes 0

    Any warnings in the console?

  • OrestHlodan
    Likes 0

    I do not know, but how can I see the bugs in the console, in android?I do not know, but how can I see the bugs in the console, in android?

  • Sonar Systems admin
    Likes 0

    You need to have the phone connected, is it connected whilst you are debugging?

Login to reply