Changeset 6409 for 2015/26


Ignore:
Timestamp:
2015-06-25 23:26:35 (4 years ago)
Author:
jotapoti
Message:

Intron/Alkuvalikon? musiikki lisätty.
Alkuvalikon värejä muutettu.

Location:
2015/26/ohjaajat/HillbillyRun
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2015/26/ohjaajat/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRun.cs

    r6407 r6409  
    262262 
    263263        Keyboard.Listen(Key.Escape, ButtonState.Pressed, SkipIntro, "Skip"); 
     264        Keyboard.Listen(Key.Enter, ButtonState.Pressed, SkipIntro, "Skip"); 
    264265 
    265266        ShowMadeWithJypeli(); 
     
    317318    void ShowBackgroundStory() 
    318319    { 
    319         ShowStoryText(new Queue<string>(new[] { "Innit just da warmest here, sis?", "Seems to me our establishment's a-burnin'.", "...Must've been 'em nasty witches." })); 
     320        MediaPlayer.Play("hillbilly_intro"); 
     321        ShowStoryText(new Queue<string>(new[] { "Innit just da warmest here, sis?", "Seems to me our establishment's a-burnin'.", "...Must've been 'em nasty witches!" })); 
    320322    } 
    321323 
     
    351353    void MainMenu() 
    352354    { 
    353         Level.Background.Color = Color.DarkBlue; 
     355        Level.Background.CreateGradient(Color.DarkBrown, Color.Black); 
     356         
     357        if (MediaPlayer.IsPlaying == false) MediaPlayer.Play("hillbilly_intro"); 
    354358 
    355359        MultiSelectWindow mainmenu = new MultiSelectWindow("Main menu", "Start game", "Credits", "Exit"); 
     
    359363        mainmenu.DefaultCancel = 2; 
    360364        Add(mainmenu); 
     365        mainmenu.Color = Color.DarkBrown; 
     366        mainmenu.FadeColorTo(Color.Brown, 30); 
     367        mainmenu.SetButtonColor(Color.Charcoal); 
     368        mainmenu.SelectionColor = Color.DarkBlue; 
     369        mainmenu.SetButtonTextColor(Color.LightGray); 
     370         
     371 
    361372    } 
    362373 
  • 2015/26/ohjaajat/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRunContent/HillbillyRunContent.contentproj

    r6407 r6409  
    440440  </ItemGroup> 
    441441  <ItemGroup> 
     442    <Compile Include="hillbilly_intro.mp3"> 
     443      <Name>hillbilly_intro</Name> 
     444      <Importer>Mp3Importer</Importer> 
     445      <Processor>SongProcessor</Processor> 
     446    </Compile> 
     447  </ItemGroup> 
     448  <ItemGroup> 
    442449    <Compile Include="lavafloor.png"> 
    443450      <Name>lavafloor</Name> 
Note: See TracChangeset for help on using the changeset viewer.