Results 1 to 2 of 2

Thread: Character Movement

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Character Movement

    I'm making a game and moving the character simply by the arrow keys. I want to make it so if you hold down the arrow keys, the character will continue to move until you let go. Right now, you just press it and he moves once.

    How can I make this work?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Nevermind.

    I had the code in the KeyUp event instead of the KeyDown
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width