Answer the question
In order to leave comments, you need to log in
Draw object outside Canvas or check coordinates and skip?
There is a Canvas on which I draw a map of the game.
The map consists of many sprites, some of which are located outside the screen, i.e. their coordinates do not fall into the Canvas area.
What is better in terms of performance: draw these sprites outside the drawing area or check their coordinates and if they are outside the area, then skip?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question