hi
again, i am going to make this as short & simple as possible.
how do you move images around, and if u can please provide sample code or a link to the info. thanks
e-mail me [email protected].
my site is http://www.brainshrinker.cjb.net
Printable View
hi
again, i am going to make this as short & simple as possible.
how do you move images around, and if u can please provide sample code or a link to the info. thanks
e-mail me [email protected].
my site is http://www.brainshrinker.cjb.net
What platform? What library?
This board is a public help board, not your own private one. This board has a email alert feature... see that you learn how to use it.
Edit:: I noticed how ironic the title of this post is :)
a floppy disk...
(sorry couldn't help myself)
The common method (whatever OS and compler you use) is to draw the image at a certain (X Y) position. The you change the (X Y) coordinates a little and draw it again. Repeat this several times.
The result is that the image appears to move.
double buffering/backbuffering works best. that way the images don't flicker. (this is for windows, i don't know what else you use it for = | ). www.gametutorials has a tutorial on it, it is called "Displaying multiple bitmaps". It also is on the rest of the tutorials that have moving objects (or whatever you wanna call it).
DOS perhaps :rolleyes:. Double buffering/Page flipping is probably used in every GUI/Application...Quote:
Originally posted by Tazar_Azar
double buffering/backbuffering works best. that way the images don't flicker. (this is for windows, i don't know what else you use it for = | )