Sign in to follow this  

video background

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

This topic is 2585 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this