paledoor Posted February 28, 2017 Report Share Posted February 28, 2017 Hello, all. I'm a web dev student, new to phaser, and I'm using it to make my final project. I'm having a devil of a time with the tile map functionality. I've scoured google, looked at every tutorial and guide I can find, and it's just not working. Here's my repo: https://github.com/Brad-Chapin/daky-in-monsterland Basically, the sprite is rendering, but the tile set isn't. I've double and triple checked my file and path names, my JSON structure, everything I can think of, but I'm not getting anywhere. Any advice would be appreciated. Thanks in advance, and happy coding. Quote Link to comment Share on other sites More sharing options...
ldd Posted February 28, 2017 Report Share Posted February 28, 2017 https://github.com/Brad-Chapin/daky-in-monsterland/blob/master/js/main.js Your code doesn't include a tilemap. Follow this example: https://phaser.io/examples/v2/tilemaps/blank-tilemap Additionally, looking at your repo, I cannot find a tileset in https://github.com/Brad-Chapin/daky-in-monsterland/tree/master/assets Are you sure you included it, and pushed to github your latest code? paledoor 1 Quote Link to comment Share on other sites More sharing options...
paledoor Posted February 28, 2017 Author Report Share Posted February 28, 2017 I was making frequent changes, trying to correct the problem, and in all likelyhood, I hadn't pushed the most recent changes. As it turns out, a really silly error was the source of my grief- I was testing whether my naming convention was the problem, and I did a bad thing: find/replace... so I was referencing a JSON object that didn't exist >.< Short version, I think I got it sorted out. Thanks very much for taking the time to look and respond. =) ldd 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.