• Content Count

  • Joined

  • Last visited

  1. Hello, I've recently tried to install this plugin and it isn't working. I downloaded the phaser-tiled.js file, placed it in the same folder as phaser.min.js, wrote some code, and all i got was a blank canvas. Any advice? Here's my code. <!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Practice</title> <script src="js/phaser.min.js"></script> <script src="js/phaser-tiled.js"></script> <style type="text/css"> body { margin: 0; } </style></head><body><script type="text/javascript">var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });function preload() { game.add.plugin(Phaser.Plugin.Tiled); game.load.pack('my-tiledmap', 'assets/tiles.json'); }function create() { var map = game.add.tiledmap('my-tiledmap'); }