|
-
May 26th, 2002, 01:43 PM
#1
Thread Starter
Member
bitblt runing real slow
i have recently figured out how to use bitblt, and i made a game with it, right now its nothing but a character moving on a screen, this is because it runs REAL slow, if i press down, it takes about 7 seconds to move down. It was runing smoothely yesterday, but when i started it today, it ran real slow. Any help on making it run smoother?
-
May 26th, 2002, 03:58 PM
#2
Good Ol' Platypus
Are you using TransparentBlt by any chance? It is a huge memory hog. Restart your computer and see if that helps, if not.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
May 27th, 2002, 06:41 AM
#3
Fanatic Member
bitblt shouldnt be running slow at all, perhaps you done some bad code design?
paste your code ( if it aint too big ), someone might be able to see whats wrong
-
May 27th, 2002, 09:41 AM
#4
Thread Starter
Member
the problem is it runs slow on my computer, i tried compiling it to an EXE but that didnt help. On my friends comp it works fine, its just that it worked perfect on my computer 2 days ago...
-
Jun 2nd, 2002, 05:36 PM
#5
Addicted Member
You're probably passing it bad parameters. Just because your image is clipped when it's copied doesn't mean it won't slow down the blit. if you try and copy a 1280x1024 image onto a 640x480 screen, it'll be slower than explicitly copying a 640x480 piece.
"1 4m 4 1337 #4xz0r!'
Janus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|