objects/oCredits1/draw.gml
From spelunky.gmk, Spelunky Classic 1.1's source, © 2008, 2009 Derek Yu and Mossmouth, LLC, shown whole under the Spelunky User License v1.1b. Extracted by spelunky.ai's tools, an unofficial fan project, one file per script or event; the // ==== lines are the extractor's, naming each action of the event. Some scripts are others' work that Derek Yu credits in the source's readme.txt: Martin Piecyk's platform engine, ChevyRay's view scaling scripts and tsg1zzn's Super Sound System.
oCredits1's draw event, 86 lines of GML.
if (drawStatus == 1){ draw_set_font(global.myFont); draw_set_color(c_yellow); draw_text(16, 16, "SPELUNKY");}else if (drawStatus == 2){ draw_set_font(global.myFontSmall); draw_set_color(c_yellow); draw_text(16, 16, "A GAME BY"); // draw_set_font(global.myFontSmall); draw_set_color(c_white); draw_text(64, 32, "DEREK YU");}else if (drawStatus == 3){ draw_set_font(global.myFontSmall); draw_set_color(c_yellow); draw_text(16, 16, "PLATFORM ENGINE"); draw_set_color(c_white); draw_text(16, 24, "MARTIN PIECYK"); draw_set_color(c_yellow); draw_text(16, 40, "SOUND EFFECTS MADE USING"); draw_set_color(c_white); draw_text(16, 48, "DR PETTER'S SFXR"); draw_set_color(c_yellow); draw_text(16, 64, "SCREEN SCALING CODE"); draw_set_color(c_white); draw_text(16, 72, "CHEVYRAY");}else if (drawStatus == 4){ draw_set_font(global.myFontSmall); draw_set_color(c_yellow); draw_text(16, 16, "MUSIC BY"); draw_set_color(c_white); draw_text(32, 32, "GEORGE BUZINKAI"); draw_text(32, 48, "JONATHAN PERRY");}else if (drawStatus == 5){ draw_set_font(global.myFontSmall); draw_set_color(c_yellow); draw_text(16, 16, "BETA TESTING BY"); draw_set_color(c_white); draw_text(16, 24, "ANNABELLE K."); draw_text(16, 32, "BENZIDO"); draw_text(16, 40, "CHUTUP"); draw_text(16, 48, "CORPUS"); draw_text(16, 56, "GENERALVALTER"); draw_text(16, 64, "GUERT"); draw_text(16, 72, "GRAHAM GORING"); draw_text(16, 80, "HAOWAN"); draw_text(16, 88, "HIDEOUS"); draw_text(16, 96, "INANE"); // draw_text(128, 24, "INCREPARE"); draw_text(128, 32, "KAO"); draw_text(128, 40, "MARK JOHNS"); draw_text(128, 48, "MELLY"); draw_text(128, 56, "PAUL ERES"); draw_text(128, 64, "SUPER JOE"); draw_text(128, 72, "TANTAN"); draw_text(128, 80, "TEAM QUIGGAN"); draw_text(128, 88, "TERRY"); draw_text(128, 96, "XION"); draw_text(128, 104, "ZAPHOS");}else if (drawStatus == 6){ draw_set_font(global.myFontSmall); draw_set_color(c_yellow); draw_text(16, 16, "THANKS FOR PLAYING!"); // draw_set_font(global.myFontSmall); draw_set_color(c_white); draw_text(32, 32, "SEE YOU NEXT ADVENTURE!");}if (fadeIn or fadeOut){ draw_set_color(c_black); draw_set_alpha(fadeLevel); draw_rectangle(0, 0, 320, 240, false); draw_set_alpha(1);}