I hate graphics programming. Even though Allegro was the hardest to set up for Dev C++, the commands are easy. BUT THEY ARE STILL ANNOYING THE LIVING HECK OUTTA ME!
I want to make a class that works like this:
Picture pic("file.bmp");
pic.set_tran(000, 000, 000);
pic.draw_to_screen(x, y);
pic.set_motion(x, y); //objects heading, for like a bullet
pic.clear();
pic.draw(x,y);
I've gotten the picture to load, and display, but when it moves, it just erases itself, whecther i clear the screen or not.
Can some one help me with this?
Thank you.