tslusny Posted June 2, 2012 Author Share Posted June 2, 2012 Hello i have problem… :PI resized my PicScreen and i set maxx and maxy correctly and everything is working fine. BUTMy basic size is 24x16, if i set size to 24x17 or 25x16 or 25x17 i can go offscreen for 1 tile and when i moving my screen in game *shakes*. Other sizes work flawlessly. Pls help me Link to comment Share on other sites More sharing options...
Ruins of Hell Posted June 2, 2012 Share Posted June 2, 2012 Make sure you have deleted your maps or changed the width and heights of all the maps to the new MapX and MapY.If that doesn't work, can you post your MAX_MAPY, MAX_MAPX, and the width and height of the picScreen so we can verify that you did it correctly? Link to comment Share on other sites More sharing options...
tslusny Posted June 3, 2012 Author Share Posted June 3, 2012 Yes i deleted all maps, WIDTH = 800, HEIGHT = 544, MaxX= 24, MaxY= 16 Link to comment Share on other sites More sharing options...
abhi2011 Posted June 3, 2012 Share Posted June 3, 2012 Why would MaxX/Y be greater than their supposed values. That will cause bugs like that. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted June 3, 2012 Share Posted June 3, 2012 If you do a similar thing on a default copy of Origins (set the MapX to MaxX + 1 and MapY to MaxY + 1), does the error occur? Link to comment Share on other sites More sharing options...
abhi2011 Posted June 3, 2012 Share Posted June 3, 2012 Doesn't the tutorial tell to do it like this. X/32-1? and y/32-1? Link to comment Share on other sites More sharing options...
Wilfre Posted June 3, 2012 Share Posted June 3, 2012 It does Link to comment Share on other sites More sharing options...
Ruins of Hell Posted June 4, 2012 Share Posted June 4, 2012 @abhi2011:> Doesn't the tutorial tell to do it like this. X/32-1? and y/32-1?It seems right over here. (800/32 - 1 == 24 and 544/32 - 1 == 16). I assumed he got this when changing the size in the Map Settings. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now