andrew-peng-144 / js-explore-game

0 stars 0 forks source link

see if faster if save tileset as 2x zoomed png. #9

Open andrew-peng-144 opened 3 years ago

andrew-peng-144 commented 3 years ago

canvas has to do a 2x scale for each tile on screen every frame which may be wasting computations. instead just store a 2x scaled version of the tileset and see if it is faster.