Specific question

This is a discussion on Specific question within the Game Programming forums, part of the General Programming Boards category; hi again, i am going to make this as short & simple as possible. how do you move images around, ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    9

    Specific question

    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

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    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

  3. #3
    Registered User
    Join Date
    Apr 2002
    Posts
    139
    a floppy disk...

    (sorry couldn't help myself)
    "The most common form of insanity is a combination of disordered passions and disordered intellect with gradations and variations almost infinite."

  4. #4
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    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.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  5. #5
    Registered User
    Join Date
    Feb 2002
    Posts
    57
    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).

  6. #6
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    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 . Double buffering/Page flipping is probably used in every GUI/Application...
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 01:14 PM
  2. library/linking question - linux(ubuntu) specific
    By Stonehambey in forum Tech Board
    Replies: 2
    Last Post: 12-10-2008, 09:54 AM
  3. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM
  4. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 03:57 PM
  5. Accessing a Specific Text Line Inside CEditView :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-14-2002, 09:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21