- Timestamp:
- 2015-06-10 11:34:09 (8 years ago)
- Location:
- 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience.csproj
r5943 r5981 118 118 </ItemGroup> 119 119 <ItemGroup> 120 <Content Include="bandit Radio.mp3" /> 121 <Content Include="Cheeki Breeki.mp3" /> 120 122 <Content Include="Game.ico" /> 121 123 <Content Include="GameThumbnail.png" /> -
2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience.csproj.Debug.cachefile
r5943 r5981 5 5 Content\lonerNASSE.xnb 6 6 Content\vodka.xnb 7 Content\UzickoKolo.xnb 8 Content\maaBLYAT.xnb 9 Content\CheekiBreeki.xnb 10 Content\UzickoKolo.wma -
2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/AS_Bandit_Experience.cs
r5943 r5981 20 20 public override void Begin() 21 21 { 22 Level.Background.Color = Color.HotPink; 22 Level.Background.Color = Color.BrownGreen; 23 23 24 //IsFullScreen = true; 24 25 Mouse.IsCursorVisible = true; 25 //MediaPlayer.Play(""); //CHEEKI BREEKI ATMOSFEARIC MUSIC26 Camera.Zoom( 4.0);26 MediaPlayer.Play("UzickoKolo"); //CHEEKI BREEKI ATMOSFEARIC MUSIC 27 Camera.Zoom(3.0); 27 28 28 29 Layers[-1].RelativeTransition = new Vector(1.0, 1.0); … … 30 31 bandit = new PhysicsObject(HAHMOJEN_LEVEYS, HAHMOJEN_KORKEUS); 31 32 Image PelaajanKuva = LoadImage("banditNASSE"); 32 bandit.Shape = Shape.FromImage(PelaajanKuva);33 bandit.Shape = Shape.FromImage(PelaajanKuva); 33 34 bandit.Mass = 8.0; 34 35 bandit.LinearDamping = 0.75; … … 43 44 44 45 45 banditAse = new Ase(HAHMOJEN_LEVEYS, HAHMOJEN_KORKEUS, 30, int.MaxValue, 4.0); //koko, lipaskoko, reserviluodit, latausnopeus46 banditAse = new Ase(HAHMOJEN_LEVEYS, HAHMOJEN_KORKEUS, 30, int.MaxValue, 3.0); //koko, lipaskoko, reserviluodit, latausnopeus 46 47 banditAse.FireRate = 11.6; //metriä sekunnissa 47 48 banditAse.Power.Value = 720; //ensimmäisen luodin lähtönopeus 48 49 banditAse.Power.DefaultValue = 720; //muiden luotien lähtönopeus 49 banditAse.AttackSound = null; //väliaikainen 50 //SoundEffect AKSaani = LoadSoundEffect("CheekiBreeki"); 51 //banditAse.AttackSound = AKSaani; //väliaikainen 50 52 banditAse.X = -22.0; 51 53 banditAse.Y = -6.5; … … 63 65 64 66 AddCollisionHandler(bandit, Vodka, ViinaRalli); 65 // 67 //Camera.Follow(bandit); 66 68 67 69 Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); … … 70 72 Keyboard.Listen(Key.W, ButtonState.Down, LiikutaBandit, null, new Vector(0, 1000), bandit); 71 73 Keyboard.Listen(Key.S, ButtonState.Down, LiikutaBandit, null, new Vector(0, -1000), bandit); 72 Keyboard.Listen(Key.Space, ButtonState.Pressed, bandit.Destroy, null); //Tuhoaa Pelaajan testinä74 Keyboard.Listen(Key.Space, ButtonState.Pressed, TuhoaBandit,null); //Tuhoaa Pelaajan 73 75 Keyboard.Listen(Key.R, ButtonState.Pressed, LataaAse, null, banditAse); 74 76 Mouse.Listen(MouseButton.Left, ButtonState.Down, AmmuAseella, "Ammu", banditAse); … … 100 102 if (ammus != null) 101 103 { 102 ammus.Size *= 0.2;104 ammus.Size *= 10.2; 103 105 } 104 106 } … … 143 145 } 144 146 147 void TuhoaBandit() 148 { 149 bandit.Destroy(); 150 banditAse.Destroy(); 151 banditKadet.Destroy(); 152 153 154 155 } 145 156 146 157 } -
2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/obj/x86/Debug/AS Bandit Experience.csproj.FileListAbsolute.txt
r5943 r5981 13 13 C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\lonerNASSE.xnb 14 14 C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\vodka.xnb 15 C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\UzickoKolo.xnb 16 C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\UzickoKolo.wma 17 C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\maaBLYAT.xnb 18 C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\CheekiBreeki.xnb -
2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/obj/x86/Debug/ContentPipeline-{CF2287A8-9A13-468B-8E64-AE02CEDFA772}.xml
r5943 r5981 56 56 <Time>2015-06-09T14:18:32.2063339+03:00</Time> 57 57 </Item> 58 <Item> 59 <Source>UzickoKolo.mp3</Source> 60 <Name>UzickoKolo</Name> 61 <Importer>Mp3Importer</Importer> 62 <Processor>SongProcessor</Processor> 63 <Options>None</Options> 64 <Output>C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\UzickoKolo.xnb</Output> 65 <Extra>C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\UzickoKolo.wma</Extra> 66 <Time>2015-06-10T09:48:41.5927949+03:00</Time> 67 </Item> 68 <Item> 69 <Source>maaBLYAT.png</Source> 70 <Name>maaBLYAT</Name> 71 <Importer>TextureImporter</Importer> 72 <Processor>TextureProcessor</Processor> 73 <Options>None</Options> 74 <Output>C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\maaBLYAT.xnb</Output> 75 <Time>2015-06-10T10:58:16.7561136+03:00</Time> 76 </Item> 77 <Item> 78 <Source>CheekiBreeki.wav</Source> 79 <Name>CheekiBreeki</Name> 80 <Importer>WavImporter</Importer> 81 <Processor>SoundEffectProcessor</Processor> 82 <Options>None</Options> 83 <Output>C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\CheekiBreeki.xnb</Output> 84 <Time>2015-06-10T11:17:45.3125965+03:00</Time> 85 </Item> 58 86 <BuildSuccessful>true</BuildSuccessful> 59 87 <Settings> -
2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/obj/x86/Debug/cachefile-{CF2287A8-9A13-468B-8E64-AE02CEDFA772}-targetpath.txt
r5943 r5981 5 5 Content\lonerNASSE.xnb 6 6 Content\vodka.xnb 7 Content\UzickoKolo.xnb 8 Content\UzickoKolo.wma 9 Content\maaBLYAT.xnb 10 Content\CheekiBreeki.xnb -
2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit ExperienceContent/AS Bandit ExperienceContent.contentproj
r5943 r5981 85 85 </Compile> 86 86 </ItemGroup> 87 <ItemGroup> 88 <Compile Include="UzickoKolo.mp3"> 89 <Name>UzickoKolo</Name> 90 <Importer>Mp3Importer</Importer> 91 <Processor>SongProcessor</Processor> 92 </Compile> 93 </ItemGroup> 94 <ItemGroup> 95 <Compile Include="maaBLYAT.png"> 96 <Name>maaBLYAT</Name> 97 <Importer>TextureImporter</Importer> 98 <Processor>TextureProcessor</Processor> 99 </Compile> 100 </ItemGroup> 101 <ItemGroup> 102 <Compile Include="CheekiBreeki.wav"> 103 <Name>CheekiBreeki</Name> 104 <Importer>WavImporter</Importer> 105 <Processor>SoundEffectProcessor</Processor> 106 </Compile> 107 </ItemGroup> 87 108 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 88 109 <!-- 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.