CurlyBrace Posted March 22, 2014 Share Posted March 22, 2014 Hello! How can i change map position?I need to offset map from 0,0. Here are the code: http://pastebin.com/MgV3JhvD The only working method i found - to change _y property of every layer likeblockLayer._y = -2;But i NOT am sure, how can this affect camera scroll or something. Link to comment Share on other sites More sharing options...
Lotti Posted March 30, 2014 Share Posted March 30, 2014 up! need this info too! Link to comment Share on other sites More sharing options...
Lotti Posted March 30, 2014 Share Posted March 30, 2014 http://www.html5gamedevs.com/topic/4881-moving-tilemap-physics-body-position-update-20/ Link to comment Share on other sites More sharing options...
CurlyBrace Posted March 31, 2014 Author Share Posted March 31, 2014 http://www.html5gamedevs.com/topic/4881-moving-tilemap-physics-body-position-update-20/ Thanks! So frustrating ._. Link to comment Share on other sites More sharing options...
Lotti Posted March 31, 2014 Share Posted March 31, 2014 yep. i "resolved" using a matrix that define which sprites must be on the screen Link to comment Share on other sites More sharing options...
Recommended Posts