I`m wanting to use Fastpixelwrite/read to create a nice `laser` effect for a 2d game ( as in JETPAC or the arcade version of DEFENDER )
What i`m looking for is a way of calculating the fading/pulsing of colours to get a smooth transition from one colour to another over a fixed period of time.
eg.dark torquoise to light torquoise then fade back to black(transparent)
over ...say 1 second
Then use the same routine to do say... red to bright yellow then
back to black (transparent)
Hope this makes sense ...
Any ideas please
GP
What i`m looking for is a way of calculating the fading/pulsing of colours to get a smooth transition from one colour to another over a fixed period of time.
eg.dark torquoise to light torquoise then fade back to black(transparent)
over ...say 1 second
Then use the same routine to do say... red to bright yellow then
back to black (transparent)
Hope this makes sense ...
Any ideas please
GP