- Timestamp:
- 2016-07-01 13:07:41 (6 years ago)
- Location:
- 2016/26/JennyN/UnicornJump
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/26/JennyN/UnicornJump/UnicornJump/UnicornJump/UnicornJump.cs
r7615 r7631 18 18 Image sateenkaariKuva = LoadImage("sateenkaari"); 19 19 Image punainenlaatikkoKuva = LoadImage("punainenlaatikko"); 20 21 22 23 24 25 20 public override void Begin() 26 21 { 27 // MediaPlayer.Play("yksisarvinen");28 //MediaPlayer.IsRepeating = true;22 MediaPlayer.Play("pink_fluffy"); 23 MediaPlayer.IsRepeating = true; 29 24 MessageDisplay.Add("Tervetuloa UnicornJumpiin! Tehtävänäsi on johdattaa yksisarvinen ylös sateenkaaren päälle ja väistellä porkkanoita. Yksisarvinen kasvaa aina, kun syöt porkkanan."); 30 25 … … 84 79 { 85 80 Timer.SingleShot(4.0, Exit); 86 MessageDisplay.Add("Voitit !");81 MessageDisplay.Add("Voitit pelin!"); 87 82 } 88 83 void LisaaTahti(Vector paikka, double leveys, double korkeus) … … 103 98 AddCollisionHandler(pelaaja1, "porkkana", TormaaPorkkanaan); 104 99 AddCollisionHandler(pelaaja1, "sateenkaari", TormaaSateenkaareen); 105 AddCollisionHandler(pelaaja1, "porkkana", CollisionHandler.IncreaseObjectSize( 1, 1));100 AddCollisionHandler(pelaaja1, "porkkana", CollisionHandler.IncreaseObjectSize(0.2, 0.2)); 106 101 //AddCollisionHandler(pelaaja1, "punainenlaatikko", PelaajaTormaaLaatikkoon); 107 102 Add(pelaaja1); … … 170 165 void LopetaPeli() 171 166 { 172 Timer.SingleShot( 4.0, Exit);167 Timer.SingleShot(10.0, Exit); 173 168 MessageDisplay.Add("Yksisarvinen painaa liikaa, se ei jaksa enää hyppiä!"); 174 169 } -
2016/26/JennyN/UnicornJump/UnicornJump/UnicornJump/UnicornJump.csproj.Debug.cachefile
r7615 r7631 8 8 Content\Call to Adventure.xnb 9 9 Content\yksisarvinen.xnb 10 Content\pink_fluffy.xnb 10 11 Content\Call to Adventure.wma 11 12 Content\yksisarvinen.wma 13 Content\pink_fluffy.wma -
2016/26/JennyN/UnicornJump/UnicornJump/UnicornJump/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml
r7615 r7631 85 85 <Time>2016-07-01T11:23:12.4748273+03:00</Time> 86 86 </Item> 87 <Item> 88 <Source>pink_fluffy.mp3</Source> 89 <Name>pink_fluffy</Name> 90 <Importer>Mp3Importer</Importer> 91 <Processor>SongProcessor</Processor> 92 <Options>None</Options> 93 <Output>C:\MyTemp\JennyN\UnicornJump\UnicornJump\UnicornJump\bin\x86\Debug\Content\pink_fluffy.xnb</Output> 94 <Extra>C:\MyTemp\JennyN\UnicornJump\UnicornJump\UnicornJump\bin\x86\Debug\Content\pink_fluffy.wma</Extra> 95 <Time>2016-07-01T12:24:15.0669318+03:00</Time> 96 </Item> 87 97 <BuildSuccessful>true</BuildSuccessful> 88 98 <Settings> -
2016/26/JennyN/UnicornJump/UnicornJump/UnicornJump/obj/x86/Debug/UnicornJump.csproj.FileListAbsolute.txt
r7615 r7631 18 18 C:\MyTemp\JennyN\UnicornJump\UnicornJump\UnicornJump\bin\x86\Debug\Content\Call to Adventure.wma 19 19 C:\MyTemp\JennyN\UnicornJump\UnicornJump\UnicornJump\bin\x86\Debug\Content\yksisarvinen.wma 20 C:\MyTemp\JennyN\UnicornJump\UnicornJump\UnicornJump\bin\x86\Debug\Content\pink_fluffy.xnb 21 C:\MyTemp\JennyN\UnicornJump\UnicornJump\UnicornJump\bin\x86\Debug\Content\pink_fluffy.wma -
2016/26/JennyN/UnicornJump/UnicornJump/UnicornJump/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt
r7615 r7631 10 10 Content\yksisarvinen.xnb 11 11 Content\yksisarvinen.wma 12 Content\pink_fluffy.xnb 13 Content\pink_fluffy.wma -
2016/26/JennyN/UnicornJump/UnicornJump/UnicornJumpContent/UnicornJumpContent.contentproj
r7615 r7631 108 108 </Compile> 109 109 </ItemGroup> 110 <ItemGroup> 111 <Compile Include="pink_fluffy.mp3"> 112 <Name>pink_fluffy</Name> 113 <Importer>Mp3Importer</Importer> 114 <Processor>SongProcessor</Processor> 115 </Compile> 116 </ItemGroup> 110 117 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 111 118 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset
for help on using the changeset viewer.