Thread: hey

  1. #1
    Flash Animator, OF DOOOOM bluehead's Avatar
    Join Date
    Nov 2001


    How would i get a little char to shoot and walk at the same time?
    #if _emo
      #define stereo_type_i_dislike

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    You will have to place everything in a huge loop. Inside of your loop you continually update the character and when the correct button is pressed you would execute the set of animations that shoots. You may have to draw frames of the character walking and shooting in order for it to look perfect.

    To get multiple key presses you will have to write an interrupt handler for the keyboard. Add 128 to the scan code to get the code for multiple presses. This will not work if the NumLock is on and you will get some very strange key events in your program.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hey
    By REMY in forum C++ Programming
    Replies: 1
    Last Post: 01-22-2003, 11:06 PM
  2. hey all
    By iain in forum A Brief History of
    Replies: 7
    Last Post: 10-10-2002, 10:22 PM
  3. hey moa news
    By harryP in forum C++ Programming
    Replies: 2
    Last Post: 09-10-2002, 06:59 PM
  4. Hey, check out this project...
    By bluehead in forum C++ Programming
    Replies: 8
    Last Post: 11-07-2001, 06:13 PM
  5. Hey Guys
    By D4050 in forum C Programming
    Replies: 0
    Last Post: 10-01-2001, 06:20 AM