Example #1
0
 public static void InitialSetup()
 {
     // Load textures into graphics memory space
     Texture.InitialSetup();
     Sound.InitialSetup();
     DialogSpeaker.InitialSetup();
 }
Example #2
0
 protected SceneThree(PositronGame game) :
     base(game)
 {
     SceneEntry += (sender, e) => {
         var           stanzas = new List <DialogStanza>();
         DialogSpeaker speaker = DialogSpeaker.Get("protagonist");
         stanzas.Add(new DialogStanza(speaker, "This room is eerily empty..."));
         var dialog = new Dialog(e.To.HUD, "Dialog", stanzas);
         dialog.Begin();
     };
 }
Example #3
0
 public SceneCredits(PositronGame game) :
     base(game)
 {
     SceneEntry += (sender, e) => {
         var           stanzas = new List <DialogStanza>();
         DialogSpeaker speaker = null;//DialogSpeaker.Get("protagonist");
         stanzas.Add(new DialogStanza(speaker,
                                      "Artwork:           Music:             Programming:\n" +
                                      "Fernando Corrales  A-Zu-Ra            Vince BG    \n" +
                                      "Megan Groden       Laurence Simmonds  Will Pham   \n" +
                                      "Vince BG           Vince BG                       \n" +
                                      "                   Will Pham                      \n"));
         var dialog = new Dialog(e.To.HUD, "Dialog", stanzas);
         dialog.DialogEnd += (sender2, e2) =>
         {
             _Game.CurrentScene = ((Scene)_Game.Scenes["SceneFirstMenu"]);
         };
         dialog.Begin();
     };
     SetupPlayerOnExit();
     MainTimer.Restart();
 }
Example #4
0
 public DialogStanza(DialogSpeaker speaker, string message)
 {
     Speaker = speaker;
     Message = message;
 }
Example #5
0
 public DialogStanza(DialogSpeaker speaker, string message)
 {
     Speaker = speaker;
     Message = message;
 }