Jump to content

  • Log In with Google      Sign In   
  • Create Account


Sprites in Direct_Draw with vb


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 08 December 1999 - 04:34 AM

How do you make a sprite with direct_Draw in vb.
thanx

Sponsor:

#2 Zombie   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 December 1999 - 03:35 AM

Well, you perhaps have Directx7 SDK, so you should study the DDraw examples 1-4, 4 is the best. That is very clear example about it.
Basically, you just create a surface,Surfdesc and Rect for it and then blit it to backbuffer.

#3 Erick   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 December 1999 - 04:32 AM

Yep,

Also Specify a color key for your bitmap
and when you blit to your buffer, your would incorporate your specified colorkey in your final parameter


#4 Erick   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 December 1999 - 04:34 AM

Sorry my first reply was a tad vague

Specifying a colorkey will privide transparency in your background

------------------
Erick





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS