Thread: I need movement...

  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, 09:01 AM
  3. Movement problem...
    By Umoniel in forum C Programming
    Replies: 2
    Last Post: 11-10-2002, 12:46 PM
  4. cursor movement and appearance
    By beginner in forum Game Programming
    Replies: 1
    Last Post: 11-06-2002, 06:42 PM
  5. Movement
    By drdroid in forum C++ Programming
    Replies: 5
    Last Post: 02-09-2002, 11:02 AM