webdeveloper_issy Posted June 2, 2016 Share Posted June 2, 2016 Hi, I am currently developing a multiplayer web game. URL: bit.ly/1XTgB7 Now there are two things that get me crazy right now - map optimization. What I am currently trying: The map is 6400px by 6400px. To optimize it I think its good to cut the map in pieces of 100px by 100px and only show those pieces that are within the users viewport. I couldn't really work it out, I have done the cutting part but showing those within the viewport is what i fail at. Is it the right way to go? What other optimizations are possible? I currenly use .cacheAsBitmap = true. - Fall down bug When the player walks to the bottom of the map and shoots down every object other than the player 'falls'. What is the cause of this and how can I solve it? When I shoot left it does not do that Any help would be much appreciated Ps. Please keep the URL private Quote Link to comment Share on other sites More sharing options...
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.