- Timestamp:
- 2015-06-23 15:00:36 (8 years ago)
- Location:
- 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora.csproj.Debug.cachefile
r6171 r6192 10 10 Content\kentta1.xnb 11 11 Content\kentta2.xnb 12 Content\kentta3.xnb 13 Content\kentta4.xnb 14 Content\kentta5.xnb 15 Content\kentta6.xnb 16 Content\kentta7.xnb 17 Content\kentta8.xnb 18 Content\kentta9.xnb 19 Content\kentta10.xnb 20 Content\kentta11.xnb 21 Content\kentta12.xnb 22 Content\kentta4pohja.xnb -
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack_to_Agora.cs
r6171 r6192 21 21 PlatformCharacter taistelija; 22 22 23 int kenttanro = 1;23 int kenttanro = 4; 24 24 // int Kenttanro = -1; 25 25 public override void Begin() … … 59 59 chuckinkavely = LoadAnimation("pelaajaliikkuu"); 60 60 SmoothTextures = false; 61 62 ColorTileMap pohjaLevy = ColorTileMap.FromLevelAsset("kentta4pohja"); 63 pohjaLevy.SetTileMethod(Color.Gold, Luopohja); 64 pohjaLevy.SetTileMethod(Color.Cyan, Luotaistelija); 65 pohjaLevy.Execute(1, 1); 66 67 68 61 69 Level.Background.Image = LoadImage("kentta"+kenttanro); 62 70 //Level.Background.Image = level1; 63 Level.Background.Color = Color.Black;64 Level.Width = 2000;65 Level.Height = 1200;71 //Level.Background.Color = Color.Black; 72 //Level.Width = 2000; 73 //Level.Height = 1200; 66 74 Level.Background.FitToLevel(); 67 75 Gravity = new Vector(0, -2500); 68 76 69 PhysicsObject pohja = Level.CreateBottomBorder();70 pohja.Y = Level.Bottom + 100;71 pohja.IsVisible = false;77 // PhysicsObject pohja = Level.CreateBottomBorder(); 78 // pohja.Y = Level.Bottom + 100; 79 //pohja.IsVisible = false; 72 80 PhysicsObject vasenreuna = Level.CreateLeftBorder(); 73 81 vasenreuna.X -= 75; 74 82 vasenreuna.Tag = "vasenreuna"; 75 PhysicsObject oikeareuna = Level.CreateRightBorder();76 oikeareuna.X += 75;77 oikeareuna.Tag = "oikeareuna";83 //PhysicsObject oikeareuna = Level.CreateRightBorder(); 84 //oikeareuna.X += 75; 85 //oikeareuna.Tag = "oikeareuna"; 78 86 79 87 80 Luotaistelija();81 Varjo(pohja);88 89 //Varjo(pohja); 82 90 83 91 IsFullScreen = true; … … 89 97 } 90 98 91 void Luotaistelija( )99 void Luotaistelija(Vector paikka, double leveys, double korkeus) 92 100 { 93 101 94 taistelija = new PlatformCharacter( 75, 75);102 taistelija = new PlatformCharacter(15, 15); 95 103 taistelija.Shape = Shape.Circle; 96 104 taistelija.Animation = new Animation(chuckinkavely); 97 105 taistelija.Animation.Start(); 98 taistelija.Position = new Vector(900, 0);106 taistelija.Position = paikka; 99 107 100 108 Keyboard.Listen(Key.A, ButtonState.Down, Liikuta, null, taistelija, -nopeus); … … 131 139 } 132 140 133 141 void Luopohja(Vector paikka, double leveys, double korkeus) 142 { 143 PhysicsObject pala = PhysicsObject.CreateStaticObject(leveys, korkeus); 144 pala.Position = paikka; 145 pala.Color = Color.Transparent; 146 Add(pala); 147 } 134 148 135 149 } -
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/obj/x86/Debug/Attack to Agora.csproj.FileListAbsolute.txt
r6171 r6192 18 18 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta1.xnb 19 19 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta2.xnb 20 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta3.xnb 21 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta4.xnb 22 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta5.xnb 23 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta6.xnb 24 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta7.xnb 25 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta8.xnb 26 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta9.xnb 27 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta10.xnb 28 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta11.xnb 29 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta12.xnb 30 C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta4pohja.xnb -
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/obj/x86/Debug/cachefile-{2930AD0E-5824-4386-8008-3C0C45D1DA86}-targetpath.txt
r6171 r6192 10 10 Content\kentta1.xnb 11 11 Content\kentta2.xnb 12 Content\kentta3.xnb 13 Content\kentta4.xnb 14 Content\kentta5.xnb 15 Content\kentta6.xnb 16 Content\kentta7.xnb 17 Content\kentta8.xnb 18 Content\kentta9.xnb 19 Content\kentta10.xnb 20 Content\kentta11.xnb 21 Content\kentta12.xnb 22 Content\kentta4pohja.xnb -
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to AgoraContent/Attack to AgoraContent.contentproj
r6171 r6192 80 80 </Compile> 81 81 </ItemGroup> 82 <ItemGroup> 83 <Compile Include="kentta3.png"> 84 <Name>kentta3</Name> 85 <Importer>TextureImporter</Importer> 86 <Processor>TextureProcessor</Processor> 87 </Compile> 88 </ItemGroup> 89 <ItemGroup> 90 <Compile Include="kentta4.png"> 91 <Name>kentta4</Name> 92 <Importer>TextureImporter</Importer> 93 <Processor>TextureProcessor</Processor> 94 </Compile> 95 </ItemGroup> 96 <ItemGroup> 97 <Compile Include="kentta5.png"> 98 <Name>kentta5</Name> 99 <Importer>TextureImporter</Importer> 100 <Processor>TextureProcessor</Processor> 101 </Compile> 102 </ItemGroup> 103 <ItemGroup> 104 <Compile Include="kentta6.png"> 105 <Name>kentta6</Name> 106 <Importer>TextureImporter</Importer> 107 <Processor>TextureProcessor</Processor> 108 </Compile> 109 </ItemGroup> 110 <ItemGroup> 111 <Compile Include="kentta7.png"> 112 <Name>kentta7</Name> 113 <Importer>TextureImporter</Importer> 114 <Processor>TextureProcessor</Processor> 115 </Compile> 116 </ItemGroup> 117 <ItemGroup> 118 <Compile Include="kentta8.png"> 119 <Name>kentta8</Name> 120 <Importer>TextureImporter</Importer> 121 <Processor>TextureProcessor</Processor> 122 </Compile> 123 </ItemGroup> 124 <ItemGroup> 125 <Compile Include="kentta9.png"> 126 <Name>kentta9</Name> 127 <Importer>TextureImporter</Importer> 128 <Processor>TextureProcessor</Processor> 129 </Compile> 130 </ItemGroup> 131 <ItemGroup> 132 <Compile Include="kentta10.png"> 133 <Name>kentta10</Name> 134 <Importer>TextureImporter</Importer> 135 <Processor>TextureProcessor</Processor> 136 </Compile> 137 </ItemGroup> 138 <ItemGroup> 139 <Compile Include="kentta11.png"> 140 <Name>kentta11</Name> 141 <Importer>TextureImporter</Importer> 142 <Processor>TextureProcessor</Processor> 143 </Compile> 144 </ItemGroup> 145 <ItemGroup> 146 <Compile Include="kentta12.png"> 147 <Name>kentta12</Name> 148 <Importer>TextureImporter</Importer> 149 <Processor>TextureProcessor</Processor> 150 </Compile> 151 </ItemGroup> 152 <ItemGroup> 153 <Compile Include="kentta4pohja.png"> 154 <Name>kentta4pohja</Name> 155 <Importer>TextureImporter</Importer> 156 <Processor>TextureProcessor</Processor> 157 </Compile> 158 </ItemGroup> 82 159 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 83 160 <!-- 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.