Click to See Complete Forum and Search --> : Speeding up your code
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.
Fox
Mar 16th, 2000, 04:49 PM
Thats one point, but if you need better performance take DirectX or better: Code in C++ ;)
KENNNY
Mar 17th, 2000, 01:11 AM
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 :)
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?
Fox
Mar 17th, 2000, 06:06 PM
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 ;)).
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.