ivanix Posted May 2, 2014 Share Posted May 2, 2014 Hello, I have modified phaser.js for isometric support.At the moment, the code can load and display isometric tilemaps created from Tiled.I have an example that shows scrolling and tile selection from mouse working. A few questions: 1) I would to see about making the mods as a plugin, but not sure how to do this.Can a plugin override other objects or their methods? Right now i have the code tests for the existence of 'iso' property on the game object.If missing, just assume ortho method and the original code is followed, otherwise follow the mods for iso. 2) Where is best place to share the code and sample files for feedback? Can i attach a copy here? I am working with a snapshot of 2.0.3 which i know is now behind current release and dev. After the iso mods are stable I plan to port them to to a clone of the most current dev version on github. I am not sure if that is that right way to contribute, feel free to suggest a better way Link to comment Share on other sites More sharing options...
ivanix Posted May 3, 2014 Author Share Posted May 3, 2014 Attached are screenshots and sample code.iso4phaser.zip Link to comment Share on other sites More sharing options...
presidenten Posted May 3, 2014 Share Posted May 3, 2014 Wow! Nice work! Link to comment Share on other sites More sharing options...
ivanix Posted May 3, 2014 Author Share Posted May 3, 2014 Oops, the road tiles were a bit off alignment.Attached is a drop in replacement. Please note the road tiles were sourced from Kenny over at http://www.kenney.nl/ Link to comment Share on other sites More sharing options...
Recommended Posts