SanAndreasUnity
SanAndreasUnity copied to clipboard
Minimap can be loaded faster by not using SetPixel() ?
trafficstars
Can it really ?
There are 144 TXDs to load. Each one contains single texture. Each texture is 128x128. This results in 144x128x128 (2.4M) SetPixel()/GetPixel() calls.
The loading step should be profiled. Maybe texture loading takes most of the time.
Could you just download some hd version of gtasa map, and load it as asset as a whole?
But that way we can't support modded minimaps.