Changeset 5970 for 2015/24/ohjaajat/Dungeon/Dungeon
- Timestamp:
- 2015-06-09 22:05:09 (8 years ago)
- Location:
- 2015/24/ohjaajat/Dungeon/Dungeon
- Files:
-
- 10 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/24/ohjaajat/Dungeon/Dungeon/Dungeon/Dungeon.cs
r5969 r5970 61 61 static Image kulttuuriKuva3 = LoadImage("spurdo"); 62 62 Image[] huoneKuvat = new Image[] { kulttuuriKuva1, kulttuuriKuva2, kulttuuriKuva3 }; 63 #endregion 63 Image[] vihuKuvat = LoadImages((from i in Enumerable.Range(1, 10) select String.Format("v{0:0000}", i)).ToArray()); 64 #endregion 64 65 65 66 int[] hinnat = new int[] { 100, 200, 300 }; … … 151 152 void LuoBarbaareja() 152 153 { 153 PhysicsObject barbaari = new PhysicsObject(RUUDUN_KOKO * 0. 3, RUUDUN_KOKO * 0.3);154 PhysicsObject barbaari = new PhysicsObject(RUUDUN_KOKO * 0.4, RUUDUN_KOKO * 0.4); 154 155 barbaari.Color = Color.Red; 155 156 //barbaari.Position = RandomGen.NextVector(Level.Right, Level.Bottom, Level.Left, Level.Top); 156 157 barbaari.Position = spawn.Position; 158 barbaari.Animation = new Animation(vihuKuvat); 159 barbaari.Animation.FPS = 10; 160 barbaari.Animation.Start(); 157 161 Add(barbaari); 158 162 } -
2015/24/ohjaajat/Dungeon/Dungeon/Dungeon/Dungeon.csproj.Debug.cachefile
r5966 r5970 6 6 Content\nyan.xnb 7 7 Content\spurdo.xnb 8 Content\v0001.xnb 9 Content\v0002.xnb 10 Content\v0003.xnb 11 Content\v0004.xnb 12 Content\v0005.xnb 13 Content\v0006.xnb 14 Content\v0007.xnb 15 Content\v0008.xnb 16 Content\v0009.xnb 17 Content\v0010.xnb -
2015/24/ohjaajat/Dungeon/Dungeon/DungeonContent/DungeonContent.contentproj
r5966 r5970 90 90 </Compile> 91 91 </ItemGroup> 92 <ItemGroup> 93 <Compile Include="v0001.png"> 94 <Name>v0001</Name> 95 <Importer>TextureImporter</Importer> 96 <Processor>TextureProcessor</Processor> 97 </Compile> 98 <Compile Include="v0002.png"> 99 <Name>v0002</Name> 100 <Importer>TextureImporter</Importer> 101 <Processor>TextureProcessor</Processor> 102 </Compile> 103 <Compile Include="v0003.png"> 104 <Name>v0003</Name> 105 <Importer>TextureImporter</Importer> 106 <Processor>TextureProcessor</Processor> 107 </Compile> 108 <Compile Include="v0004.png"> 109 <Name>v0004</Name> 110 <Importer>TextureImporter</Importer> 111 <Processor>TextureProcessor</Processor> 112 </Compile> 113 <Compile Include="v0005.png"> 114 <Name>v0005</Name> 115 <Importer>TextureImporter</Importer> 116 <Processor>TextureProcessor</Processor> 117 </Compile> 118 <Compile Include="v0006.png"> 119 <Name>v0006</Name> 120 <Importer>TextureImporter</Importer> 121 <Processor>TextureProcessor</Processor> 122 </Compile> 123 <Compile Include="v0007.png"> 124 <Name>v0007</Name> 125 <Importer>TextureImporter</Importer> 126 <Processor>TextureProcessor</Processor> 127 </Compile> 128 <Compile Include="v0008.png"> 129 <Name>v0008</Name> 130 <Importer>TextureImporter</Importer> 131 <Processor>TextureProcessor</Processor> 132 </Compile> 133 <Compile Include="v0009.png"> 134 <Name>v0009</Name> 135 <Importer>TextureImporter</Importer> 136 <Processor>TextureProcessor</Processor> 137 </Compile> 138 <Compile Include="v0010.png"> 139 <Name>v0010</Name> 140 <Importer>TextureImporter</Importer> 141 <Processor>TextureProcessor</Processor> 142 </Compile> 143 </ItemGroup> 92 144 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 93 145 <!-- 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.