Changeset 5100
- Timestamp:
- 2014-06-25 14:50:59 (9 years ago)
- Location:
- 2014/26/OttoW
- Files:
-
- 19 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/26/OttoW/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last Stand/Pelaaja.cs
r5067 r5100 4 4 using System.Text; 5 5 using Jypeli; 6 using Jypeli.Assets; 6 7 7 8 public class Pelaaja : PhysicsObject 8 9 { 9 10 public bool IsOnGround { get; set; } 10 public IntMeter Elamat { get; set; } 11 public IntMeter Elamat { get; set; } 12 13 private AssaultRifle LyontiAse { get; set; } 14 private AssaultRifle PotkuAse { get; set; } 15 16 private Animation kavelyOikealle = new Animation(Sticman_The_Last_Stand.Peli.kavelyAnimaatio); 17 private Animation kavelyVasemmalle = new Animation(Image.Mirror(Sticman_The_Last_Stand.Peli.kavelyAnimaatio)); 18 private Image seisomisKuva = Sticman_The_Last_Stand.Peli.pelaajanKuva; 19 private Image lyontiKuva = Sticman_The_Last_Stand.Peli.lyontiKuva; 20 private Image lyontiKuvaPeilattu = Image.Mirror(Sticman_The_Last_Stand.Peli.lyontiKuva); 21 private Image potkuKuva = Sticman_The_Last_Stand.Peli.potkuKuva; 22 private Image potkuKuvaPeilattu = Image.Mirror(Sticman_The_Last_Stand.Peli.potkuKuva); 23 24 25 private bool onkoLyomassa = false; 26 private bool onkoPotkaisemassa = false; 11 27 12 28 public Pelaaja(double width, double height, int elamat) 13 : base(width, height)29 : base(width, height) 14 30 { 15 31 this.IsOnGround = true; 16 32 this.Elamat = new IntMeter(elamat, 0, elamat); 17 33 this.Elamat.LowerLimit += Destroy; 34 35 this.LyontiAse = new AssaultRifle(10, 5); 36 this.LyontiAse.IsVisible = false; 37 this.LyontiAse.InfiniteAmmo = true; 38 this.Add(LyontiAse); 39 this.PotkuAse = new AssaultRifle(10, 5); 40 this.PotkuAse.IsVisible = false; 41 this.PotkuAse.InfiniteAmmo = true; 42 this.Add(PotkuAse); 43 44 kavelyOikealle.FPS = 3; 45 kavelyVasemmalle.FPS = 3; 46 } 47 48 public void Lyo() 49 { 50 PhysicsObject ammus = this.LyontiAse.Shoot(); 51 52 if (ammus == null) return; 53 54 ammus.IsVisible = false; 55 ammus.MaximumLifetime = TimeSpan.FromSeconds(0.05); 56 57 Sticman_The_Last_Stand.Peli.AddCollisionHandler<PhysicsObject, PhysicsObject>(ammus, "taistelu", delegate(PhysicsObject a, PhysicsObject kohde) { HyokkaysOsui(a, kohde, 10); }); 58 Sticman_The_Last_Stand.Peli.AddCollisionHandler<PhysicsObject, PhysicsObject>(ammus, "vihollinen", delegate(PhysicsObject a, PhysicsObject kohde) { HyokkaysOsui(a, kohde, 10); }); 59 60 onkoLyomassa = true; 61 Timer.SingleShot(0.3, delegate { onkoLyomassa = false; }); 62 } 63 64 private void HyokkaysOsui(PhysicsObject ammus, PhysicsObject vihollinen, int damage) 65 { 66 ammus.Destroy(); 67 if (vihollinen.Tag.ToString() == "taistelu") 68 { 69 Pelaaja p = vihollinen as Pelaaja; 70 p.Elamat.Value -= damage; 71 return; 72 } 73 Vihollinen v = vihollinen as Vihollinen; 74 v.Elamat.Value -= damage; 75 } 76 77 public void Potkaise() 78 { 79 PhysicsObject ammus = this.PotkuAse.Shoot(); 80 81 if (ammus == null) return; 82 83 ammus.IsVisible = false; 84 ammus.MaximumLifetime = TimeSpan.FromSeconds(0.75); 85 86 Sticman_The_Last_Stand.Peli.AddCollisionHandler<PhysicsObject, PhysicsObject>(ammus, "vihollinen", delegate(PhysicsObject a, PhysicsObject kohde) { HyokkaysOsui(a, kohde, 15); }); 87 88 onkoPotkaisemassa = true; 89 Timer.SingleShot(0.3, delegate { onkoPotkaisemassa = false; }); 90 } 91 92 public override void Update(Time time) 93 { 94 if (onkoLyomassa) 95 { 96 if (this.Velocity.X > 0) 97 this.Image = lyontiKuva; 98 if (this.Velocity.X <= 0) 99 this.Image = lyontiKuvaPeilattu; 100 base.Update(time); 101 return; 102 } 103 104 if (onkoPotkaisemassa) 105 { 106 if (this.Velocity.X > 0) 107 this.Image = potkuKuva; 108 if (this.Velocity.X <= 0) 109 this.Image = potkuKuvaPeilattu; 110 base.Update(time); 111 return; 112 } 113 114 if (this.Velocity.X > 10) 115 { 116 this.LyontiAse.Angle = Angle.FromDegrees(0); 117 this.PotkuAse.Angle = Angle.FromDegrees(0); 118 if (this.Animation != kavelyOikealle) 119 { 120 this.Animation = kavelyOikealle; 121 this.Animation.Start(); 122 } 123 } 124 if (this.Velocity.X < -10) 125 { 126 this.LyontiAse.Angle = Angle.FromDegrees(180); 127 this.PotkuAse.Angle = Angle.FromDegrees(0); 128 if (this.Animation != kavelyVasemmalle) 129 { 130 this.Animation = kavelyVasemmalle; 131 this.Animation.Start(); 132 } 133 } 134 if (this.Velocity.X > -10 && this.Velocity.X < 10) 135 { 136 this.Animation = null; 137 this.Image = seisomisKuva; 138 } 139 140 base.Update(time); 18 141 } 19 142 } -
2014/26/OttoW/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last Stand.csproj.Debug.cachefile
r5067 r5100 1 1 Content\LAYOUT.xnb 2 Content\pelaajan kuva.xnb 3 Content\kavely anim.xnb 4 Content\lyonti anim.xnb 5 Content\kavely anim2.xnb 6 Content\potku anim.xnb 7 Content\background 1.xnb 8 Content\street fighter background.xnb 9 Content\valikon tausta.xnb -
2014/26/OttoW/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last Stand/Sticman_The_Last_Stand.cs
r5067 r5100 9 9 public class Sticman_The_Last_Stand : PhysicsGame 10 10 { 11 Pelaaja[] Pelaajat = new Pelaaja[2]; 11 public static Sticman_The_Last_Stand Peli; 12 public Pelaaja[] Pelaajat = new Pelaaja[2]; 12 13 enum Pelimuoto { Yksinpeli, Moninpeli, Survival } 13 14 14 15 ColorTileMap ruudut; 15 int pelaajaLKM = 0; 16 17 public Image pelaajanKuva = LoadImage("pelaajan kuva"); 18 public Image lyontiKuva = LoadImage("lyonti anim"); 19 public Image potkuKuva = LoadImage("potku anim"); 20 public Image[] kavelyAnimaatio = LoadImages("kavely anim", "kavely anim2"); 21 Image taustaKuva; 16 22 17 23 public override void Begin() 18 24 { 25 Peli = this; 19 26 LuoAlkuvalikko(); 27 taustaKuva = LoadImage("valikon tausta"); 28 Level.Background.Image = taustaKuva; 20 29 } 21 30 22 31 void AloitaPeli(Pelimuoto muoto) 23 32 { 33 ClearAll(); 24 34 LuoKentta(); 25 35 if (muoto == Pelimuoto.Yksinpeli) 26 36 { 27 37 //LuoPelaaja(new Vector(Level.Left + 100, Level.Bottom + 100), 1); 28 pelaajaLKM = 1;29 38 ruudut = ColorTileMap.FromLevelAsset("LAYOUT"); 30 39 ruudut.SetTileMethod(Color.Black, LuoSeina); 31 40 ruudut.SetTileMethod(Color.Azure, LuoTaso); 32 ruudut.SetTileMethod(Color.Red, LuoPelaaja );41 ruudut.SetTileMethod(Color.Red, LuoPelaaja, 1, "yksinpeli"); 33 42 //ruudut.SetTileMethod(Color.BrightGreen, LuoPelaaja); 34 43 … … 39 48 if (muoto == Pelimuoto.Moninpeli) 40 49 { 41 pelaajaLKM = 2; 50 51 ruudut = ColorTileMap.FromLevelAsset("LAYOUT"); 52 ruudut.SetTileMethod(Color.Black, LuoSeina); 53 ruudut.SetTileMethod(Color.Azure, LuoTaso); 54 ruudut.SetTileMethod(Color.Red, LuoPelaaja, 1, "taistelu"); 55 ruudut.SetTileMethod(Color.YellowGreen, LuoPelaaja, 2, "taistelu"); 56 ruudut.Execute(); 42 57 //LuoPelaaja(new Vector(Level.Left + 100, Level.Bottom + 100), 1); 43 58 //LuoPelaaja(new Vector(Level.Right - 100, Level.Bottom + 100), 2); … … 45 60 if (muoto == Pelimuoto.Survival) 46 61 { 47 pelaajaLKM = 2; 62 ruudut = ColorTileMap.FromLevelAsset("LAYOUT"); 63 ruudut.SetTileMethod(Color.Black, LuoSeina); 64 ruudut.SetTileMethod(Color.Azure, LuoTaso); 65 ruudut.SetTileMethod(Color.Gray, LuoPelaaja, 1, "coop"); 66 ruudut.SetTileMethod(Color.Cyan, LuoPelaaja, 2, "coop"); 67 ruudut.Execute(); 48 68 //LuoPelaaja(new Vector(Level.Left + 100, Level.Bottom + 100), 1); 49 69 //LuoPelaaja(new Vector(Level.Right - 100, Level.Bottom + 100), 2); … … 51 71 52 72 LuoOhjaimet(muoto); 73 Camera.ZoomFactor += 0.075; 53 74 PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 54 75 Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); … … 59 80 Gravity = new Vector(0.0, -800.0); 60 81 Level.Size = new Vector(Screen.Width, Screen.Height); 82 61 83 /* PhysicsObject alaReuna = Level.CreateBottomBorder(); 62 84 alaReuna.Tag = "lattia"; 85 * 63 86 64 87 … … 81 104 PhysicsObject taso = PhysicsObject.CreateStaticObject(leveys, korkeus); 82 105 taso.Position = paikka; 83 taso.Color = Color.Black; 106 taso.Tag = "lattia"; 107 taso.Color = Color.Gray; 84 108 Add(taso); 85 109 } 86 110 87 void LuoPelaaja(Vector paikka, double leveys, double korkeus )111 void LuoPelaaja(Vector paikka, double leveys, double korkeus, int numero, String tagi) 88 112 { 89 int numero = pelaajaLKM; 90 Pelaaja p = new Pelaaja(leveys, korkeus, 100); 91 p.Position = paikka; 113 Pelaaja p = new Pelaaja(500, 500, 100); 114 p.Position = new Vector(paikka.X, paikka.Y + 750); 115 //p.CanRotate = false; 116 p.Restitution = 0.1; 117 p.Image = pelaajanKuva; 118 //p.TextureFillsShape = true; 119 p.Shape = Shape.FromImage(pelaajanKuva); 120 p.Tag = tagi; 121 p.CanRotate = false; 122 p.KineticFriction = 0.0; 123 p.LinearDamping = 0.95; 124 p.Animation = new Animation(kavelyAnimaatio); 125 p.Animation.FPS = 3; 126 p.Animation.Start(); 92 127 Add(p); 93 128 Pelaajat[numero - 1] = p; … … 98 133 void LuoVihollinen(Vector paikka) 99 134 { 100 Vihollinen vihu = new Vihollinen( 100, 100, 100);135 Vihollinen vihu = new Vihollinen(50, 50, 100); 101 136 vihu.Position = paikka; 137 vihu.Tag = "vihollinen"; 138 vihu.IgnoresCollisionResponse = true; 102 139 Add(vihu); 103 140 } … … 108 145 Keyboard.Listen(Key.A, ButtonState.Down, Liiku, "Pelaaja 1 liikkuu vasen", Pelaajat[0], new Vector(-500.0, 0.0)); 109 146 Keyboard.Listen(Key.D, ButtonState.Down, Liiku, "Pelaaja 1 liikkuu oikea", Pelaajat[0], new Vector(500.0, 0.0)); 110 147 Keyboard.Listen(Key.F, ButtonState.Pressed, Pelaajat[0].Lyo, "Pelaaja 1 lyö"); 148 Keyboard.Listen(Key.S, ButtonState.Pressed, Pelaajat[0].Potkaise, "Pelaaja 1 potkaise"); 111 149 if (muoto == Pelimuoto.Moninpeli || muoto == Pelimuoto.Survival) 112 150 { … … 114 152 Keyboard.Listen(Key.Left, ButtonState.Down, Liiku, "Pelaaja 2 liikkuu vasen", Pelaajat[1], new Vector(-500.0, 0.0)); 115 153 Keyboard.Listen(Key.Right, ButtonState.Down, Liiku, "Pelaaja 2 liikkuu oikea", Pelaajat[1], new Vector(500.0, 0.0)); 154 Keyboard.Listen(Key.J, ButtonState.Pressed, Pelaajat[1].Lyo, "Pelaaja 2 lyö"); 155 Keyboard.Listen(Key.Down, ButtonState.Pressed, Pelaajat[1].Potkaise, "Pelaaja 2 potkaise"); 116 156 } 117 157 } … … 119 159 void Hyppaa(Pelaaja pelaaja) 120 160 { 121 if (pelaaja.IsOnGround) 161 if (pelaaja.IsOnGround) 122 162 { 123 pelaaja.Hit(new Vector(0.0, 500.0));163 pelaaja.Hit(new Vector(0.0, 1000.0)); 124 164 pelaaja.IsOnGround = false; 125 165 } … … 136 176 "Yksinpeli", "Moninpeli", "Survival", "Lopeta"); 137 177 Add(alkuValikko); 178 alkuValikko.SetButtonColor(Color.Black); 179 alkuValikko.SetButtonTextColor(Color.Red); 138 180 alkuValikko.AddItemHandler(0, delegate { AloitaPeli(Pelimuoto.Yksinpeli); }); 139 181 alkuValikko.AddItemHandler(1, delegate { AloitaPeli(Pelimuoto.Moninpeli); }); -
2014/26/OttoW/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last Stand/Vihollinen.cs
r5067 r5100 15 15 this.Elamat = new IntMeter(elamat, 0, elamat); 16 16 this.Elamat.LowerLimit += Destroy; 17 FollowerBrain seuraajanAivot = new FollowerBrain(Sticman_The_Last_Stand.Peli.Pelaajat[0]); 18 seuraajanAivot.Speed = 200; 19 this.Brain = seuraajanAivot; 17 20 } 18 21 } -
2014/26/OttoW/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last Stand/obj/x86/Debug/ContentPipeline-{1C233C96-0670-4892-86F8-54BDFB238D36}.xml
r5067 r5100 9 9 <Options>None</Options> 10 10 <Output>C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\LAYOUT.xnb</Output> 11 <Time>2014-06-24T14:47:17.5700198+03:00</Time> 11 <Time>2014-06-25T14:18:09.0078727+03:00</Time> 12 </Item> 13 <Item> 14 <Source>pelaajan kuva.png</Source> 15 <Name>pelaajan kuva</Name> 16 <Importer>TextureImporter</Importer> 17 <Processor>TextureProcessor</Processor> 18 <Options>None</Options> 19 <Output>C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\pelaajan kuva.xnb</Output> 20 <Time>2014-06-25T13:44:51.9331852+03:00</Time> 21 </Item> 22 <Item> 23 <Source>kavely anim.png</Source> 24 <Name>kavely anim</Name> 25 <Importer>TextureImporter</Importer> 26 <Processor>TextureProcessor</Processor> 27 <Options>None</Options> 28 <Output>C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\kavely anim.xnb</Output> 29 <Time>2014-06-25T13:44:56.18161+03:00</Time> 30 </Item> 31 <Item> 32 <Source>lyonti anim.png</Source> 33 <Name>lyonti anim</Name> 34 <Importer>TextureImporter</Importer> 35 <Processor>TextureProcessor</Processor> 36 <Options>None</Options> 37 <Output>C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\lyonti anim.xnb</Output> 38 <Time>2014-06-25T13:44:47.6337553+03:00</Time> 39 </Item> 40 <Item> 41 <Source>kavely anim2.png</Source> 42 <Name>kavely anim2</Name> 43 <Importer>TextureImporter</Importer> 44 <Processor>TextureProcessor</Processor> 45 <Options>None</Options> 46 <Output>C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\kavely anim2.xnb</Output> 47 <Time>2014-06-25T13:46:01.8661778+03:00</Time> 48 </Item> 49 <Item> 50 <Source>potku anim.png</Source> 51 <Name>potku anim</Name> 52 <Importer>TextureImporter</Importer> 53 <Processor>TextureProcessor</Processor> 54 <Options>None</Options> 55 <Output>C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\potku anim.xnb</Output> 56 <Time>2014-06-25T13:49:12.7612654+03:00</Time> 57 </Item> 58 <Item> 59 <Source>background 1.png</Source> 60 <Name>background 1</Name> 61 <Importer>TextureImporter</Importer> 62 <Processor>TextureProcessor</Processor> 63 <Options>None</Options> 64 <Output>C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\background 1.xnb</Output> 65 <Time>2014-06-25T14:13:26.6516399+03:00</Time> 66 </Item> 67 <Item> 68 <Source>street fighter background.png</Source> 69 <Name>street fighter background</Name> 70 <Importer>TextureImporter</Importer> 71 <Processor>TextureProcessor</Processor> 72 <Options>None</Options> 73 <Output>C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\street fighter background.xnb</Output> 74 <Time>2014-06-25T14:16:47.1836911+03:00</Time> 75 </Item> 76 <Item> 77 <Source>valikon tausta.png</Source> 78 <Name>valikon tausta</Name> 79 <Importer>TextureImporter</Importer> 80 <Processor>TextureProcessor</Processor> 81 <Options>None</Options> 82 <Output>C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\valikon tausta.xnb</Output> 83 <Time>2014-06-25T14:47:13.2962841+03:00</Time> 12 84 </Item> 13 85 <BuildSuccessful>true</BuildSuccessful> -
2014/26/OttoW/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last Stand/obj/x86/Debug/Sticman The Last Stand.csproj.FileListAbsolute.txt
r5067 r5100 8 8 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\obj\x86\Debug\Sticman The Last Stand.pdb 9 9 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\LAYOUT.xnb 10 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\pelaajan kuva.xnb 11 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\kavely anim.xnb 12 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\lyonti anim.xnb 13 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\kavely anim2.xnb 14 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\potku anim.xnb 15 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\background 1.xnb 16 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\street fighter background.xnb 17 C:\MyTemp\OttoW\Sticman The Last Stand\Sticman The Last Stand\Sticman The Last Stand\bin\x86\Debug\Content\valikon tausta.xnb -
2014/26/OttoW/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last Stand/obj/x86/Debug/cachefile-{1C233C96-0670-4892-86F8-54BDFB238D36}-targetpath.txt
r5067 r5100 1 1 Content\LAYOUT.xnb 2 Content\pelaajan kuva.xnb 3 Content\kavely anim.xnb 4 Content\lyonti anim.xnb 5 Content\kavely anim2.xnb 6 Content\potku anim.xnb 7 Content\background 1.xnb 8 Content\street fighter background.xnb 9 Content\valikon tausta.xnb -
2014/26/OttoW/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last StandContent/Sticman The Last StandContent.contentproj
r5067 r5100 52 52 </Compile> 53 53 </ItemGroup> 54 <ItemGroup> 55 <Compile Include="pelaajan kuva.png"> 56 <Name>pelaajan kuva</Name> 57 <Importer>TextureImporter</Importer> 58 <Processor>TextureProcessor</Processor> 59 </Compile> 60 </ItemGroup> 61 <ItemGroup> 62 <Compile Include="kavely anim.png"> 63 <Name>kavely anim</Name> 64 <Importer>TextureImporter</Importer> 65 <Processor>TextureProcessor</Processor> 66 </Compile> 67 </ItemGroup> 68 <ItemGroup> 69 <Compile Include="lyonti anim.png"> 70 <Name>lyonti anim</Name> 71 <Importer>TextureImporter</Importer> 72 <Processor>TextureProcessor</Processor> 73 </Compile> 74 </ItemGroup> 75 <ItemGroup> 76 <Compile Include="kavely anim2.png"> 77 <Name>kavely anim2</Name> 78 <Importer>TextureImporter</Importer> 79 <Processor>TextureProcessor</Processor> 80 </Compile> 81 </ItemGroup> 82 <ItemGroup> 83 <Compile Include="potku anim.png"> 84 <Name>potku anim</Name> 85 <Importer>TextureImporter</Importer> 86 <Processor>TextureProcessor</Processor> 87 </Compile> 88 </ItemGroup> 89 <ItemGroup> 90 <Compile Include="background 1.png"> 91 <Name>background 1</Name> 92 <Importer>TextureImporter</Importer> 93 <Processor>TextureProcessor</Processor> 94 </Compile> 95 </ItemGroup> 96 <ItemGroup> 97 <Compile Include="street fighter background.png"> 98 <Name>street fighter background</Name> 99 <Importer>TextureImporter</Importer> 100 <Processor>TextureProcessor</Processor> 101 </Compile> 102 </ItemGroup> 103 <ItemGroup> 104 <Compile Include="valikon tausta.png"> 105 <Name>valikon tausta</Name> 106 <Importer>TextureImporter</Importer> 107 <Processor>TextureProcessor</Processor> 108 </Compile> 109 </ItemGroup> 54 110 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 55 111 <!-- 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.