Hey coolbloke, and thanks for your comment. Actually, yes I load all the map data into memory (in this example, it comes from a XML file), but I only redraw the area displayed on screen (45*45 tiles if I remember well). The code is available on nymeria.fr (and will be updated each week).
Hey, nice demo. Are you loading all the map data into memory or are you paging it? Also, when moving the map around, are you redrawing the entire canvas every frame?
Hey coolbloke, and thanks for your comment. Actually, yes I load all the map data into memory (in this example, it comes from a XML file), but I only redraw the area displayed on screen (45*45 tiles if I remember well). The code is available on nymeria.fr (and will be updated each week).
louisgandelin 10 months ago
@louisgandelin : Salut, le lien sur nymeria.fr ne fonctionne plus.
DaveTendon 4 months ago
Hey, nice demo. Are you loading all the map data into memory or are you paging it? Also, when moving the map around, are you redrawing the entire canvas every frame?
coolbloke1324 10 months ago