1. Charlie Guse
  2. Ludum Dare 48 #21

Commits

Cha...@Animus.hsd1.in.comcast.net.  committed e2a7778

Change the beginning level's wording slightly and made it so birds spawn randomly rather than only on keywords

  • Participants
  • Parent commits 832d668
  • Branches default

Comments (0)

Files changed (2)

File RunEscape/RunEscape/RunEscape/AQuickLevel.cs

View file
  • Ignore whitespace
 //Press_escape_to_begin._Welcome_To_Run_Escape._Space_stops_you_and_escape_makes_run_you jump
-//Yo_dawg,_I_heard_you_like_escaping_from_Ludum_Dare_with_your_escaped_character_while_pressing_escape
-namespace RunEscape{ //_making_bigger_platforms
+//Yo_dawg,_I_heard_you_like_escaping_from_the_Ludum_Dare_monster_with_your_escaped_character_while_pressing_escape
+namespace RunEscape{ //_making_this_a_bigger_platform_since_it_is_the_first_level_and_all
     //_This_doesn't_do_anything._I_just_wanted_to_make_it_the_first_level.
     class AQuickLevel{}}
 //Onto_the_code_now

File RunEscape/RunEscape/RunEscape/WordManager.cs

View file
  • Ignore whitespace
                 foreach (var word in newWords)
                 {
                     StreamingWords.Enqueue(word);
-                    if (word.WordToDisplay.Keyword)
+                    if (RandomProvider.Random.Next(5) < 2)
                         Birds.Enqueue(new Birds(word));
                 }
             }