Changeset 5661 for 2014/30/AarniAR
- Timestamp:
- 2014-07-25 09:39:46 (9 years ago)
- Location:
- 2014/30/AarniAR
- Files:
-
- 2 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/30/AarniAR/AdventureOfStarKid/AdventureOfStarKid/AdventureOfStarKid/AdventureOfStarKid.cs
r5646 r5661 32 32 private Image Healing = LoadImage("Healing"); 33 33 const double nopeus = 200; 34 const double hyppyNopeus = 750;34 const double hyppyNopeus = 350; 35 35 const int RUUDUN_KOKO = 40; 36 36 PlasmaCannon pelaajan1Ase; … … 105 105 Vihu stumper = new Vihu(leveys - 4, korkeus - 4); 106 106 stumper.IgnoresCollisionResponse = false; 107 107 108 stumper.Position = paikka; 108 109 stumper.Image = tahtiKuva; … … 111 112 PlatformWandererBrain tasoAivot = new PlatformWandererBrain(); 112 113 tasoAivot.Speed = 100; 113 114 tasoAivot.TriesToJump = false; 115 stumper.CollisionIgnoreGroup = 2; 114 116 stumper.Brain = tasoAivot; 115 117 … … 190 192 void Ammu(PlasmaCannon Ase) 191 193 { 192 Ase.Shoot(); 193 pelaaja1.Animation = new Animation(shootinganimation); 194 pelaaja1.Animation.Start(); 194 PhysicsObject ammus = Ase.Shoot(); 195 if (ammus != null) 196 { 197 ammus.IgnoresCollisionResponse = true; 198 pelaaja1.Animation = new Animation(shootinganimation); 199 pelaaja1.Animation.Start(); 200 } 195 201 } 196 202 -
2014/30/AarniAR/AdventureOfStarKid/AdventureOfStarKid/AdventureOfStarKid/obj/x86/Debug/ContentPipeline-{ECF942E0-B21C-45ED-8977-79F4B42A7C44}.xml
r5646 r5661 36 36 <Options>None</Options> 37 37 <Output>C:\MyTemp\AarniAR\AdventureOfStarKid\AdventureOfStarKid\AdventureOfStarKid\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2014-07-2 4T14:39:19.03348+03:00</Time>38 <Time>2014-07-25T09:29:14.7353146+03:00</Time> 39 39 </Item> 40 40 <Item> -
2014/30/AarniAR/AdventureOfStarKid/AdventureOfStarKid/AdventureOfStarKidContent/kentta1.txt
r5646 r5661 1 * 1 *2 ## ## #####3 #### #### ####4 * *5 ## ##6 1 7 * * 8 ## ## ## 9 H 10 * * * * ## 11 ## ## ## ## * 12 # 13 * * * * * 1 14 ## ## ## ## ## # # 15 * ## 16 * * * * # H # ** * # * # *# ## 17 ########################################################################################################################################## # 18 ###########################################################################################################################################N## 19 ############################################################################################################################################# 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ############################## 27 # 28 # * 29 # * ## 30 # # ## 31 # N * # # 32 ######################## ######### #########
Note: See TracChangeset
for help on using the changeset viewer.