Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Simple Motion [10/10]

This program draws a moving text on the screen.

Exercise:

The animated text leaves a trail. Can you remove the trail?


Solution

for #i=300..0 -=5
	{
	clearScr(); << insert this line only
	... (the rest of code)
	

Another possibility is to use fillScr(/black) statement.

Loading...