Jump to content

Search the Community

Showing results for tags 'multilayer'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi, There is an easy way to render multiple layers of a map created in Tiled? I tried this solution, but it's not working for me. This is my code: // Phaser version v2.0.2 "Ghealdan" - Built: Fri Mar 28 2014 01:30:50function preload() { game.load.tilemap('map', 'assets/tilemaps/maps/adv.json', null, Phaser.Tilemap.TILED_JSON); game.load.image('tiles', 'assets/tilemaps/tiles/adv.png');}var map;var layer = {};function create() { map = game.add.tilemap('map'); map.addTilesetImage('adv','tiles'); layer[0] = map.createLayer('Tile Layer 1'); layer[0].resizeWorld(); layer[1] = map.createLayer('Tile Layer 2'); layer[1].resizeWorld();}But it's only rendering the first defined layer... What I am doing wrong??
×
×
  • Create New...