real time game

This is a discussion on real time game within the Game Programming forums, part of the General Programming Boards category; How would I go about creating a real time game in Dev-C++ on Windows XP? I am thinking along the ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    27

    Question real time game

    How would I go about creating a real time game in Dev-C++ on Windows XP? I am thinking along the lines of having the user and some other monster be able to move around the board, but without the user having to wait for the computer and the computer having to wait for the user. Any help would be great.

  2. #2
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669
    In console mode you must use WINAPI function WaitForSingleObject.
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    27
    could you please direct me to a good tutorial or something, or post working code?
    "Computers aren't intelligent, they only think they are."

    **infected by Blizzarddog**
    I am a signature virus. Please add me to your signature so that I may multiply

  4. #4
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669
    Here's my second game. It's called Asteroids 1.0. I made this first in C and then in HC11 assembler. So that's why there's that frame with keyboard. It represents the HC11 development board. Anyway, this game is a good example of how you can use that function. If you'll have any questions about the code don't be afraid to email me.
    Attached Files Attached Files
    Last edited by GaPe; 07-24-2003 at 07:30 AM.
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Real time altering of screen output
    By Eirik in forum Windows Programming
    Replies: 4
    Last Post: 05-14-2009, 01:05 AM
  2. The space time continueimnms mm... (rant)
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 32
    Last Post: 06-27-2004, 02:21 PM
  3. I apologize. Good bye.
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 05-03-2002, 07:51 PM
  4. Neat little (waste of time) game I made for Linux
    By Lynux-Penguin in forum Linux Programming
    Replies: 1
    Last Post: 04-28-2002, 12:45 PM
  5. Replies: 7
    Last Post: 12-12-2001, 10:28 AM

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