CharlesCraft50 Posted October 6, 2016 Share Posted October 6, 2016 After I make my tilemap large, my game is not starting, It is always crashing in browser, but if I try to make my tilemap small, It will works perfectly without lag. I really need my tilemap to be large because my game is long. Can someone help me? Link to comment Share on other sites More sharing options...
megmut Posted October 6, 2016 Share Posted October 6, 2016 Can you share a console log and see if / where the error was thrown? If there isn't anything, then put stack traces and step through your code until you can pinpoint the issue. You don't have to make the whole map in one go, you should look into occlusion culling, or a similar technology. Link to comment Share on other sites More sharing options...
CharlesCraft50 Posted October 7, 2016 Author Share Posted October 7, 2016 How can I do occlusion culling in my game?, Can you give me a code example. Link to comment Share on other sites More sharing options...
Recommended Posts