|
-
Nov 5th, 2002, 09:20 AM
#1
Thread Starter
Hyperactive Member
-
Nov 5th, 2002, 09:32 AM
#2
Addicted Member
This is a matter of the order in which you draw things. Usually you'll have layers that represent different parts of the game - the first layer would be the ground, the next layer could be the sprites, the last layer could be objects which would obscure the sprites (buildings, trees, etc.).
-
Nov 5th, 2002, 09:40 AM
#3
Thread Starter
Hyperactive Member
...
A question: How do you define a sprite?
I'm using a user control donwloaded from here, it allows me to make a picturebox transparent. My sprites are done in this way... So if I draw a line in the form it doesn't matter... My sprite will rest on foreground...
Do i have to change my mind??
Thx
-
Nov 5th, 2002, 10:02 AM
#4
Addicted Member
you know i would just create a bitmap using the api, allapi.net is good for that information. then just draw the bitmap using bitblt (again, allapi.net). When you want to make it go behind, just draw the background first. i can give you an example, if your interested.
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
|