Jump to content
  • Advertisement
Sign in to follow this  
ms75214

video background

This topic is 2806 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

I made a shooter game in C++, and I would like a video of some clouds to loop continuously in the background. Any ideas how to do this? I'm not sure how to load such a video.

Share this post


Link to post
Share on other sites
Advertisement
If your camera is static, like duck hunt or similar, a simple solution is a few cloud sprites that move along the screen. Start them at a position that is <N on the axis of travel(probably the x axis), and update them until such time that their position is >M, then zap them back to a beginning position. Where M and N are both outside the view volume. No one will realize that the same 4 clouds have been scrolling past them all day.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!