I was just having a think about optimising some code and I was woondering about what the advantages/disadvantages would be for a particular case:
When dealing with light decal sprites on a spaceship that blink on and off, there's two ways I thought of to approach this, both easy to implement.
((Bear in mind, the sprites in question are recorded as Types))
One way (and the current way Im using) Is to alter the alpha level of the sprites at regular intervals.
aAnotherr possiblity is just to have Animated textures that show the blinking.
Any ideas on what's quicker/memory-efficient?
When dealing with light decal sprites on a spaceship that blink on and off, there's two ways I thought of to approach this, both easy to implement.
((Bear in mind, the sprites in question are recorded as Types))
One way (and the current way Im using) Is to alter the alpha level of the sprites at regular intervals.
aAnotherr possiblity is just to have Animated textures that show the blinking.
Any ideas on what's quicker/memory-efficient?