Results 1 to 4 of 4

Thread: Is this a flaw or what?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    7

    Unhappy Is this a flaw or what?

    I created a crude game in VB 5.0 Enterprise, and encountered once major (and to my knowledge unavoidable) flaw. I move a gif image around the screen by manipulating the image.Left and image.Top properties, yet whenever the image moves it begins to flash, even more so if the image is a transparent gif. Is there any way to prevent/fix this?


    [Edited by SOUL-JAH on 07-18-2000 at 05:36 AM]

  2. #2
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Games, games ...

    Serious, I don't know. But if you finish your game, pl. send me a copy for review. I enjoy gaming sooooooo much!
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    For hiding and showing cursor

    Declaration:
    Code:
    Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
    Usage:
    Code:
    ShowCursor 0 'Hides cursor
    
    ShowCursor 1 'Shows cursor
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  4. #4
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Talking Hiding Cursor

    Wow, I can actually help someone here!

    Try looking at the showcursor API call (know it's confusing but this is used to hide the cursor too)

    Cool link on how to use it at :http://www.vbapi.com/ref/s/showcursor.html

    As for the other one, that I can't help, know I am way out of my depth & waffling, but could you not have a timer object, and on a fast interval (say 100) refresh the screen?

    Just an idea, that will probably not work, so I will shut up now.

    :Cool:

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