Heppell08 Posted April 30, 2014 Share Posted April 30, 2014 The code i use is layered to work in a certain way and create items in a certain and stack friendly way. Example is i have: 1st ---Backdrop2nd --- Map3rd --- player4th --- texts5th --- UI6th --- hidden UI stuff It is created and killed to the order above so i dont end up with the player under the map or the map above everything etc. Link to comment Share on other sites More sharing options...
Heppell08 Posted April 30, 2014 Share Posted April 30, 2014 I've sent a reply to your DM with a link to the files. Have a look at the comments and the code and you should be able to carry on from there. Link to comment Share on other sites More sharing options...
Heppell08 Posted April 30, 2014 Share Posted April 30, 2014 Also, I noticed that you didn't resizeWorld(); after layer creation. That was a HUGE issue.You must resize the world everytime you load a tile map. I added them parts into your code you sent me. Link to comment Share on other sites More sharing options...
cortex Posted April 30, 2014 Author Share Posted April 30, 2014 Ok, I think this case is closed so you can "lock" this topicif it's what you do here. Big thank to Heppell08! Heppell08 1 Link to comment Share on other sites More sharing options...
Recommended Posts