Sleeping, but not sleeping...

This is a discussion on Sleeping, but not sleeping... within the Game Programming forums, part of the General Programming Boards category; I'm in the process of making a game, the graphics a bad, you are a green block who fights char(235) ...

  1. #1
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361

    Sleeping, but not sleeping...

    I'm in the process of making a game, the graphics a bad, you are a green block who fights char(235) sgwigly things, and you throw * as ninja stars. I'm making it in console with CHAR_INFO and WriteConsoleOutput(). I have a problem. When I throw a ninja star, everything stops; you can't move, nor can the enemy. I do this so you can actually see the star going across the screen. But I want to be able to move too. Sorry if this is vague, if anyone wants to see some code I'll post it.
    Stan The Man. Beatles fan

    When I was a child,
    I spoke as a child,
    I thought as a child,
    I reasoned as a child.
    When I became a man,
    I put childish ways behind me"
    (the holy bible, Paul, in his first letter to the Cor. 13:11)

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    sure, i would like to see some code

  3. #3
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361

    Here.

    Here it is:
    Attached Files Attached Files
    Stan The Man. Beatles fan

    When I was a child,
    I spoke as a child,
    I thought as a child,
    I reasoned as a child.
    When I became a man,
    I put childish ways behind me"
    (the holy bible, Paul, in his first letter to the Cor. 13:11)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 02-19-2009, 11:46 PM
  2. In Linux, how to know what process is sleeping
    By meili100 in forum Tech Board
    Replies: 2
    Last Post: 07-28-2008, 03:52 PM
  3. sleeping for some seconds
    By bartleby84 in forum C Programming
    Replies: 15
    Last Post: 10-05-2007, 05:56 AM
  4. Extra Sleeping Info...
    By ale_jrb in forum C++ Programming
    Replies: 11
    Last Post: 05-15-2004, 08:15 AM

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