October 2nd, 2013, 05:18 PM
Changing the color of a bitmap.
Before we start, this is my first project to my programming class, so don't laugh at me , please.
So, i have to create a "bouncer" that move through the screen eternally. I need to do 2 changes on this code. First, the bitmap need to change its collor to Yellow ( 255, 255, 0) every time it touches the corners of the screen (left or right). Second, it needs to turn black (invisible) every time it touches the up side or the bottom of the screen.
Here ir the code: