which is faster moving image on canvas or moving whole canvas
Lets say i am making a game in which there is background that is dynamic.
Now in a setup where i am using multiple canvas, so one canvas dedicated
for background as it doesn't need to update as often, Also Map is not
infinite it's big but not that big.
So in should i move redraw the map at every move. Or move the whole canvas
which then would act like a layer.
Any ideas?
Will use css to clip map to size of game.
While it's true i have not tried anything but that is because i dont know
what to try. I'd make both but wont know which one is working. Basically i
am clueless in bench marking sector.
No comments:
Post a Comment