Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

BeanDog

How to do overlays - not in DX docs!!!

This topic is 6932 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Why don''t they document how to do DDraw overlays in the DX7.0a docs? I can''t find it anyway. So how is it done? Could be useful for sidescrollers, whatever that may need layers. Bean Dog

Share this post


Link to post
Share on other sites
Advertisement
Hi, there is an Section about Overlay surfaces, look under DDRAW->Essentials->Surfaces->OVerlay there you find the following infos :

Overlay Surfaces
This section contains information about DirectDraw overlay surface support. The following topics are discussed:

Overlay Surface Overview
Significant DDCAPS Members and Flags
Source and Destination Rectangles
Boundary and Size Alignment
Minimum and Maximum Stretch Factors
Overlay Color Keys
Positioning Overlay Surfaces
Creating Overlay Surfaces
Overlay Z-Orders
Flipping Overlay Surfaces

For information about implementing overlay surfaces, see Tutorial 6: Using Overlay Surfaces.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!