Results 1 to 4 of 4

Thread: Refreshing screen is too slow [Resolved]

  1. #1

    Thread Starter
    Hyperactive Member Arachnid13's Avatar
    Join Date
    Jan 2003
    Location
    England
    Posts
    327

    Resolved Refreshing screen is too slow [Resolved]

    hey, im working on a copy of the msn game bejeweled, i havent got very far at the moment but when the user clicks on the screen it selects the jewel they have clicked, but it takes ages to draw the screen each time... ive played around with the options a bit, like taking autoredraw off, but it ends up ruining the program... pls take a look and help me speed it up!
    Attached Files Attached Files
    Last edited by Arachnid13; May 11th, 2005 at 07:37 AM. Reason: Resolved
    Do you wake up in the morning feeling sleepy and grumpy? Then you must be Snow White

  2. #2

    Thread Starter
    Hyperactive Member Arachnid13's Avatar
    Join Date
    Jan 2003
    Location
    England
    Posts
    327

    Re: Refreshing screen is too slow

    *bump*
    Do you wake up in the morning feeling sleepy and grumpy? Then you must be Snow White

  3. #3
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Refreshing screen is too slow

    There really isn't anything big I can see that would make it faster. I would suggest using an offscreen backbuffer so the DC you are BitBlt'ing too doesn't have to have that little wait updating. If you Blit everything to an offscreen backbuffer, then to the Forms DC, it might have a slightly better effect, and not show the rollover.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  4. #4

    Thread Starter
    Hyperactive Member Arachnid13's Avatar
    Join Date
    Jan 2003
    Location
    England
    Posts
    327

    Re: Refreshing screen is too slow

    dont worry, it's fixed now anyway, vb crashed and when i reopened the project it was pretty much instant, maybe i changed something but i cant really rememeber what! its lookin pretty good so far tho, should have it finished soon and ill post in the codebank
    Do you wake up in the morning feeling sleepy and grumpy? Then you must be Snow White

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