Results 1 to 2 of 2

Thread: how do i use this without messing up the game

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    55

    Post

    i have a game going and im usin the move method inside a loop for smooth animation but when an enemy bounces around the screen like one of those screensavers i cant click on anything else how do i fix this

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    Could be you forgot to call DoEvents in your loop?

    -
    While 1
    DoEvents 'Get Windows Messages
    Wend
    -

    ------------------
    [email protected]
    ...
    Every program can be reduced to one instruction which doesn't work.


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