Hi,
I have the following code which draws a rectangle with two lines bordering it.I'd like the white lines to become visible gradually from left to right, something like a progress bar being displayed (0 to 100%).Any tips on how to achieve this ? Thanks in advance.
I have the following code which draws a rectangle with two lines bordering it.I'd like the white lines to become visible gradually from left to right, something like a progress bar being displayed (0 to 100%).Any tips on how to achieve this ? Thanks in advance.
Graphics 800,600,0 SetColor 0,160,0 ' change color to green DrawRect 0,250,800,100 ' draw green box SetColor 255,255,255 ' change color to white DrawLine 0,250,800,250 ' draw white line DrawLine 0,350,800,350 ' draw white line no. 2 Flip While Not KeyHit(Key_escape) Wend