🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

I am a naughty monkey.

Published February 26, 2006
Advertisement
        public static void KickOff() {            basero icc = image_manager.manager.Load("StudioLogo");            icc.rerect(new identical_rect(ro_root.guiroot.tblr));            renderable.AlphaFadeEffect Fader = new renderable.AlphaFadeEffect(icc);            Fader.OnEnd += delegate() {                baseso moo = sound_manager.manager.Load("moo");                moo.OnEnd += delegate(baseso src) {                    renderable.AlphaFadeEffect DeFader = new renderable.AlphaFadeEffect(icc, true);                    DeFader.OnEnd += TransitionTwo;                };                moo.Play();            };            Fader.push_onto(ro_root.guiroot);        }


Oddly enough (if perhaps slightly unsuprising), the nested anonymous delegates behave properly. The logo fades in, "moo" is played, and then the logo fades out.
Previous Entry Middling Progress
Next Entry Monday...
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement