I need movement...

This is a discussion on I need movement... within the C++ Programming forums, part of the General Programming Boards category; How do you get something to move about the screen in either the console or a win32 app, cause i ...

  1. #1
    Registered User Finchie_88's Avatar
    Join Date
    Aug 2004
    Posts
    154

    Question I need movement...

    How do you get something to move about the screen in either the console or a win32 app, cause i want to expand my horizons in terms of the games that ive been making, i know u need a loop, but i dont have a clue how u link control and movement together, 2D movement is good enough for now, i think that 3D movement is a bit adventurous at the moment...

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    generally you fill a container with something, and display it to the screen, then change something in the container, and redisplay it. This process can be repeated very quickly by the computer, so even if the code seems unbearably awkward you can get satisfactory results. Using standard functions you are limited to ASCII art but using Allegro or DirectX or OpenGL you can use devise very sophisticated versions of the above concept.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Meshes and Movement
    By Dark_Phoenix in forum Game Programming
    Replies: 1
    Last Post: 09-16-2007, 06:26 PM
  2. natural leg movement
    By DavidP in forum Game Programming
    Replies: 32
    Last Post: 01-11-2004, 08:01 AM
  3. Movement problem...
    By Umoniel in forum C Programming
    Replies: 2
    Last Post: 11-10-2002, 11:46 AM
  4. cursor movement and appearance
    By beginner in forum Game Programming
    Replies: 1
    Last Post: 11-06-2002, 05:42 PM
  5. Movement
    By drdroid in forum C++ Programming
    Replies: 5
    Last Post: 02-09-2002, 10:02 AM

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