Changeset 2847
- Timestamp:
- 2012-06-07 17:12:51 (11 years ago)
- Location:
- 2012/23/HannesM/The Game of Rooms/The Game of Rooms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
2012/23/HannesM/The Game of Rooms/The Game of Rooms/The Game of Rooms/The_Game_of_Rooms.cs
r2842 r2847 44 44 ruudut.SetTileMethod('>', luoseina9); 45 45 ruudut.SetTileMethod('&', luoseina10); 46 ruudut.SetTileMethod('O', luoseina11); 47 ruudut.SetTileMethod('Y', luoseina12); 48 ruudut.SetTileMethod('8', luoseina13); 46 49 ruudut.Execute(); 47 50 … … 187 190 } 188 191 192 void luoseina11(Vector paikka, double leveys, double korkeus) 193 { 194 PhysicsObject seina11 = PhysicsObject.CreateStaticObject(leveys, korkeus); 195 seina11.Position = paikka; 196 seina11.Shape = Shape.Rectangle; 197 seina11.Image = LoadImage("seinaO"); 198 Add(seina11); 199 } 200 201 void luoseina12(Vector paikka, double leveys, double korkeus) 202 { 203 PhysicsObject seina12 = PhysicsObject.CreateStaticObject(leveys, korkeus); 204 seina12.Position = paikka; 205 seina12.Shape = Shape.Rectangle; 206 seina12.Image = LoadImage("seinaY"); 207 Add(seina12); 208 } 209 210 void luoseina13(Vector paikka, double leveys, double korkeus) 211 { 212 PhysicsObject seina13 = PhysicsObject.CreateStaticObject(leveys, korkeus); 213 seina13.Position = paikka; 214 seina13.Shape = Shape.Rectangle; 215 seina13.Image = LoadImage("seina8"); 216 Add(seina13); 217 } 218 189 219 void luotikkaat(Vector paikka, double leveys, double korkeus) 190 220 { -
2012/23/HannesM/The Game of Rooms/The Game of Rooms/The Game of RoomsContent/The Game Of Rooms (map1).txt
r2842 r2847 1 1 ?==============B=================================< 2 R RR2 R O R 3 3 R D LL R 4 4 R V D V V V V LL R 5 *==StttE====B==================================== R6 R ttt RR5 *==StttE====B====================================Y 6 R ttt O R 7 7 R ttt D R 8 8 R ttt V D V V V R … … 11 11 Rttt R R tttR 12 12 Rttt H A R R tttR 13 *============ RR E==R14 R R R E=====R15 R D D E=== =====R16 R H A P D V V V D E=== ========R13 *============Y R E==R 14 R O O E===88R 15 R D D E===88888R 16 R H A P D V V V D E===88888888R 17 17 >================================================& -
2012/23/HannesM/The Game of Rooms/The Game of Rooms/The Game of RoomsContent/The Game of RoomsContent.contentproj
r2842 r2847 171 171 </Compile> 172 172 </ItemGroup> 173 <ItemGroup> 174 <Compile Include="seinaO.png"> 175 <Name>seinaO</Name> 176 <Importer>TextureImporter</Importer> 177 <Processor>TextureProcessor</Processor> 178 </Compile> 179 </ItemGroup> 180 <ItemGroup> 181 <Compile Include="seinaY.png"> 182 <Name>seinaY</Name> 183 <Importer>TextureImporter</Importer> 184 <Processor>TextureProcessor</Processor> 185 </Compile> 186 </ItemGroup> 187 <ItemGroup> 188 <Compile Include="seina8.png"> 189 <Name>seina8</Name> 190 <Importer>TextureImporter</Importer> 191 <Processor>TextureProcessor</Processor> 192 </Compile> 193 </ItemGroup> 173 194 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 174 195 <!-- 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.