Results 1 to 5 of 5

Thread: Speeding up your code

  1. #1
    Guest
    i just made a small little game and it runs great on my computer but i noticed when i run it on a 486 it runs pretty slow at times. i was wondering if i post my game here if anyone can tell me what i can do to make the game run smoother. I have quite an idea why its slow on a 486, its because i dont use bitblt i move image boxes around the screen instead of drawing it by code. anyway is anyone willing to have a quick look at my game and tell me what i can do to speed it up without getting rid of any features? thanks ahead of time.

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Thats one point, but if you need better performance take DirectX or better: Code in C++

  3. #3
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355
    isn't a 486 a bit optimistic?
    anyway, use BitBlt to speed up the graphics, or use DX. But I doubt a 486 will have graphics card that's compatible with DX
    buzzwords are the language of fools

  4. #4
    Guest
    will it be hard to convert about 20 imageboxes to work with bitblt? most of them sit in place but are animated but the character you control moves a lot so is bitblt ok to use in this case?

  5. #5
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    You don't have to convert anything... Look at some examples and you'll see that it's nearly the same like with images (But even faster ).

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