Jump to content

Search the Community

Showing results for tags 'tiled object layer'.

  • 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. Is it currently possible to use a polygon object in a Tiled object layer for collision detection? The file I'm playing with is here: https://github.com/ltruelove/bunnygame/blob/master/resources/hill.json. All the other files needed to look at it in Tiled are in the same folder. I've been reading through the forums and the closest thing I could find was a post talking about the map having a collisionLayer property but when I try to console.log that out of the map and layer objects they're both undefined. Maybe I'm doing it wrong? I'm trying to make a level where the player has to run uphill. I can get the tiles to work as blocks like I've seen in most of the examples, but I've not been able to figure out what I need to do to tell it to use my "Collision" layer.
×
×
  • Create New...