Computer Science Canada Help with Erasing while dragging objects |
Author: | Sceyef [ Fri Dec 12, 2014 7:24 pm ] | ||
Post subject: | Help with Erasing while dragging objects | ||
so like, I have never liked animating in turing. Here's my code. It's a simple drag-an-object program. Primitive, as the object centers on your cursor and stuff, but it works.
Now here's what I need: I am currently erasing the red square with CLS. Later I need to add a background. How can I do that? Try it yourself, but when I attempt to put the usual identical object with colorbg, there are.. problems..? Even If I make the object bigger. It doesn't erase properly. :/ halp |
Author: | Zren [ Fri Dec 12, 2014 7:33 pm ] | ||
Post subject: | RE:Help with Erasing while dragging objects | ||
Draw things that appear underneath first, then draw the thing on top second.
|