Hi folks, me again.
Scenario, 2D top down game.
While messing about with something really abstract, (just learning stuff) I wondered about tracing the movement of a sprite. Imagine a car game where you drift around a corner and leave some lovely black lines, but you can see the skid marks disparaging after time as you drive around. In this case the author is obviously drawing sprites, or at least a list of textures on top of the background, and when the lifetime of the object is reached it’s removed.
This made me think, why not draw the ‘skid marks’ on the background texture? A bonus would be, if I make subtle changes to the colours of pixels the effect could build up over time.
So I guess there are two questions.
- Can I write/change the colour of pixels of a content.load texture during run time.
- If possible, is this a heavy overhead?
Tired and signing off.