Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Fade out intro

Author
Message
Nick Stone
13
Years of Service
User Offline
Joined: 27th Jan 2011
Location:
Posted: 28th Jan 2011 02:33
Hi guys
I'm totaly new to DBPRO and i am trying to add a small intro to a pong tutorial i have been following.

I want two title screens to show, the first will fade out over about 5 seconds and into the next.

I have searched the forum and treid the methods posted in some of the code snippets but i can get it to work.

any help i would be greatfull for


LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 28th Jan 2011 19:10 Edited at: 30th Jan 2011 02:11
Hi and welcome to the TGC forum. I quickly wrote some code that should work to fade out and in the images using sprites. This assumes you are manually using SYNC (i.e. SYNC ON : SYNC RATE 60 at the beginning of your program).




Hope this helps,

LB

Nick Stone
13
Years of Service
User Offline
Joined: 27th Jan 2011
Location:
Posted: 30th Jan 2011 19:39
Thanks LBFN it worked like a charm

Login to post a reply

Server time is: 2024-11-23 03:50:56
Your offset time is: 2024-11-23 03:50:56