- Timestamp:
- 2012-06-29 12:39:04 (11 years ago)
- Location:
- 2012/26/OssiV/Archers' revenge
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
2012/26/OssiV/Archers' revenge/Archers' revenge/Archers' revenge/Archers__revenge.cs
r3396 r3414 35 35 GameObject jousipyssy1; 36 36 Boolean ninjalyo; 37 Boolean heittokaynnissa = false 37 Boolean heittokaynnissa = false; 38 38 Boolean pelaaja1kuolinilmotus = false; 39 39 Boolean pelaaja2kuolinilmotus = false; … … 43 43 public override void Begin() 44 44 { 45 //luoikkuna(); 45 46 luoAlkuvalikko(); 46 47 } … … 54 55 55 56 57 } 58 void luoikkuna() 59 { 60 Window ikkuna = new Window(); 61 VerticalLayout la = new VerticalLayout(); 62 la.Spacing = 20; 63 ikkuna.Layout = la; 64 Label title = new Label("Tarina"); 65 ikkuna.Add(title); 66 Label tarina = new Label("Eeppinen tarina siitä miten alienit ovat vallanneet maan ja pelaajan täytyy piestä ne..."); 67 tarina.Width = 300; 68 tarina.SizeMode = TextSizeMode.Wrapped; 69 ikkuna.Add(tarina); 70 Add(ikkuna); 71 72 56 73 } 57 74 void PainettiinValikonNappia(int valinta) … … 103 120 kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 104 121 Level.CreateBorders(); 105 Level.Background.CreateGradient(Color.White, Color.SkyBlue); 122 Level.Background.CreateGradient(Color.White, Color.SkyBlue); 123 MessageDisplay.Add("Jousimiehen kaveri on kaapattu ja sinun tehtvänä on pelastaa hänet ja tappaa Mörkö."); 124 MessageDisplay.BackgroundColor = Color.Transparent; 106 125 } 107 126 void luoPelaajan2HPlaskuri() … … 113 132 pisteNaytto.Y = Screen.Top - 100; 114 133 pisteNaytto.TextColor = Color.Black; 115 pisteNaytto.Color = Color. White;116 134 pisteNaytto.Color = Color.Transparent; 135 117 136 pisteNaytto.BindTo(hpLaskuri2); 118 137 Add(pisteNaytto); … … 126 145 pisteNaytto.Y = Screen.Top - 100; 127 146 pisteNaytto.TextColor = Color.Black; 128 pisteNaytto.Color = Color. White;147 pisteNaytto.Color = Color.Transparent; 129 148 130 149 pisteNaytto.BindTo(hpLaskuri1);
Note: See TracChangeset
for help on using the changeset viewer.