- Timestamp:
- 2015-06-26 12:13:52 (8 years ago)
- Location:
- 2015/26/FransM/Pixels
- Files:
-
- 1 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/26/FransM/Pixels/Pixels/Pixels/Pixels.cs
r6448 r6460 26 26 Image plutoniumkuva = LoadImage("plutonium"); 27 27 Image kukkakuva = LoadImage("Kukka"); 28 Image seinakuva2 = LoadImage(" ");28 Image seinakuva2 = LoadImage("seinä2"); 29 29 30 30 Inventory inventory; 31 31 32 32 public override void Begin() 33 33 { 34 34 LuoKentta(); 35 35 36 36 SmoothTextures = false; 37 37 38 38 inventory = new Inventory(); 39 inventory.Left = Screen.Left + 100;39 inventory.Left = Screen.Left + 100; 40 40 Add(inventory); 41 41 … … 72 72 IsMouseVisible = true; 73 73 Camera.StayInLevel = true; 74 Mouse.ListenMovement(0.0, delegate(AnalogState h) { 74 Mouse.ListenMovement(0.0, delegate(AnalogState h) 75 { 75 76 if (Mouse.PositionOnScreen.Y > Screen.Top - 100) 76 77 { … … 82 83 } 83 84 }, ""); 84 85 85 86 IsFullScreen = true; 86 87 } … … 93 94 EsineLuoja(paikka, "TNT"); 94 95 } 95 else if (arpa <= 70) 96 else if (arpa <= 70) 96 97 { 97 98 EsineLuoja(paikka, "plutonium"); … … 101 102 EsineLuoja(paikka, "Kukka"); 102 103 } 103 104 104 105 105 106 } … … 127 128 } 128 129 129 130 130 131 } 131 132 … … 219 220 220 221 void LuoTaso6(Vector paikka, double leveys, double korkeus) 221 222 222 { 223 223 PhysicsObject taso6 = PhysicsObject.CreateStaticObject(leveys, korkeus); … … 252 252 } 253 253 254 void LuoTaso9(Vector paikka, double leveys, double korkeus) 254 void LuoTaso9(Vector paikka, double leveys, double korkeus) 255 255 { 256 256 PhysicsObject taso9 = PhysicsObject.CreateStaticObject(leveys, korkeus); 257 taso9.IgnoresExplosions = true; 257 258 taso9.Position = paikka; 258 taso9.Image = kivi3kuva;259 taso9.Image = seinakuva2; 259 260 taso9.CollisionIgnoreGroup = 1; 260 261 Add(taso9); 261 } 262 262 263 264 } 263 265 } 264 266 -
2015/26/FransM/Pixels/Pixels/Pixels/Pixels.csproj.Debug.cachefile
r6448 r6460 15 15 Content\Kivi3.xnb 16 16 Content\Kukka.xnb 17 Content\seinÀ2.xnb 17 18 Content\CaveMusicX.wma -
2015/26/FransM/Pixels/Pixels/Pixels/obj/x86/Debug/ContentPipeline-{23DE9823-17E1-4AFC-BB04-6AA018C329F7}.xml
r6448 r6460 108 108 <Options>None</Options> 109 109 <Output>C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\Alin.xnb</Output> 110 <Time>2015-06-2 4T14:25:49.5664991+03:00</Time>110 <Time>2015-06-26T12:06:21.3814332+03:00</Time> 111 111 </Item> 112 112 <Item> … … 146 146 <Output>C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\Kukka.xnb</Output> 147 147 <Time>2015-06-26T11:11:34.598157+03:00</Time> 148 </Item> 149 <Item> 150 <Source>seinä2.png</Source> 151 <Name>seinä2</Name> 152 <Importer>TextureImporter</Importer> 153 <Processor>TextureProcessor</Processor> 154 <Options>None</Options> 155 <Output>C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\seinä2.xnb</Output> 156 <Time>2015-06-26T12:04:56.3586193+03:00</Time> 148 157 </Item> 149 158 <BuildSuccessful>true</BuildSuccessful> -
2015/26/FransM/Pixels/Pixels/Pixels/obj/x86/Debug/Pixels.csproj.FileListAbsolute.txt
r6448 r6460 24 24 C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\Kivi3.xnb 25 25 C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\Kukka.xnb 26 C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\seinÀ2.xnb -
2015/26/FransM/Pixels/Pixels/Pixels/obj/x86/Debug/cachefile-{23DE9823-17E1-4AFC-BB04-6AA018C329F7}-targetpath.txt
r6448 r6460 16 16 Content\Kivi3.xnb 17 17 Content\Kukka.xnb 18 Content\seinÀ2.xnb -
2015/26/FransM/Pixels/Pixels/PixelsContent/PixelsContent.contentproj
r6448 r6460 157 157 </Compile> 158 158 </ItemGroup> 159 <ItemGroup> 160 <Compile Include="seinä2.png"> 161 <Name>seinä2</Name> 162 <Importer>TextureImporter</Importer> 163 <Processor>TextureProcessor</Processor> 164 </Compile> 165 </ItemGroup> 159 166 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 160 167 <!-- 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.