Jump to content
  • Advertisement
Sign in to follow this  
quantumgamez

2 Questions

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

My first question is is there away to have an image say a logo and have it zoomed in to the pic of just the letters, and then have the game zoom out where you can see the rest of the logo. I was thinking maybe if I used the logo as a sprite then set a timer to it, then after 30 seconds just showed the entire pic by either showing the entire image, or clearing screen then showing the image that they were previousely viewing as a sprite clip only then seeing the entire image; however, it won't look like it's constantly zooming out it'll be just one frame after 30 seconds or whatever I set the timer to be. Also, the Timer tutorial at lazy foo productions is a little confusing to me. Is there any easier way to setup a timer just to elapse 30 seconds for a splash screen then go to the menu? For some reason the timer tutorial is confusing me. Thanks in advance, c.s. Finch

Share this post


Link to post
Share on other sites
Advertisement
Certainly it's possible. But what technology are you talking about? Is this SDL with C++? If so, it's unlikely to give you good performance on zooming in and out on graphics - that's better done with OpenGL.

You can easily write your own timing code using SDL_GetTicks(). Check the time at the start, and keep showing the splash screen until the current time is 30 seconds past the time that you started.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!