1 decade ago by tarrent
Hi All,
I'd like to know how are images from an AnimationSheet rendered on canvas. Are they saved saved in an offscreen canvas before rendering?
Suppose I have a 1200x100 sprite sheet of a walking person with each frame 100x100 in size. This will make me have 12 pcs of 100x100 animation frames.
I am interested to know if I can save more gpu/cpu usage if the 1200x100 sprite sheet image will be saved in an offscreen canvas first, before rendering on .draw(). Or is Impact doing this already?
Thanks
I'd like to know how are images from an AnimationSheet rendered on canvas. Are they saved saved in an offscreen canvas before rendering?
Suppose I have a 1200x100 sprite sheet of a walking person with each frame 100x100 in size. This will make me have 12 pcs of 100x100 animation frames.
I am interested to know if I can save more gpu/cpu usage if the 1200x100 sprite sheet image will be saved in an offscreen canvas first, before rendering on .draw(). Or is Impact doing this already?
Thanks