Jump to content

Search the Community

Showing results for tags 'phaser help tileset'.

  • 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 everyone, I have a problem which doesn't seem to be covered by the api or examples (that I have found), so hoping someone can help. I have this code, where I am programatically creating a tile map: map.addTilesetImage('venicebeach_fg', null, settings.tile.width, settings.tile.height); map.addTilesetImage('venicebeach_mid', null, settings.tile.width, settings.tile.height); currentLayer = map.create( 'fg', settings.world.tile_width, settings.world.tile_height, settings.tile.width, settings.tile.height ); currentLayer.resizeWorld();What I am looking for is to be able to say currentLayer.setTilesetImage or something? (http://phaser.io/docs/2.4.4/Phaser.Tilemap.html#create - no param) I don't really want to have to addTilesetImage in a certain order or something, that is not maintainable. The only 'answers' I have seen have said to use Tiled, but that is not an option in this case (please do not suggest that). Thanks for any help Edit: Just to be clear I plan on creating multiple layers. I'm not necessarily looking to change tilesetImage on the fly while the game is running.
×
×
  • Create New...