Specific question [Archive] - C Board

PDA

View Full Version : Specific question


Shiftytitan702
05-01-2002, 10:33 PM
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 dippie74@hotmail.com.

my site is http://www.brainshrinker.cjb.net

Dual-Catfish
05-01-2002, 10:40 PM
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 :)

lostminds
05-02-2002, 03:05 AM
a floppy disk...

(sorry couldn't help myself)

Magos
05-02-2002, 05:03 AM
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.

Tazar_Azar
05-02-2002, 01:24 PM
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).

Magos
05-02-2002, 01:32 PM
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 = | )
DOS perhaps :rolleyes:. Double buffering/Page flipping is probably used in every GUI/Application...