New answers tagged

0

What do you think about rendering 2-3 states of the game world? Like, one which is "the stuff below the player", another which is "the stuff above the player", and more to suit your needs. Then simply render these in their respective order stuff below player -> player -> stuff above player Then instead of re-collecting the image ...


1

Even though the map is "small" at 100x100 with two layers, that's still 20,000 draw calls per frame. One optimization is to only draw the tiles that are visible such as limiting your camera's viewable area and zoom levels so you can't see more than a few hundred tiles at once. You'll have to implement the ability to query if a tile is visible to ...


Top 50 recent answers are included