Changeset 4465 for 2013/27


Ignore:
Timestamp:
2013-07-05 11:32:37 (6 years ago)
Author:
teematma
Message:
 
Location:
2013/27/TeemuM/Game/Game
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 2013/27/TeemuM/Game/Game/Game/Enemies.cs

    r4452 r4465  
    6565    { 
    6666        FollowerBrain brain = new FollowerBrain(follow); 
    67         brain.Speed = 200; 
     67        brain.Speed = 100; 
    6868        brain.Active = true; 
    6969        this.Brain = brain; 
  • 2013/27/TeemuM/Game/Game/Game/Game.cs

    r4452 r4465  
    199199 
    200200        Timer t = new Timer(); 
    201         t.Interval = 0.1; 
     201        t.Interval = 0.5; 
    202202        t.Timeout += delegate() { SpawnZombie(); }; 
    203203        t.Start(); 
  • 2013/27/TeemuM/Game/Game/Game/Player.cs

    r4452 r4465  
    9595        RemoveWeapon(); 
    9696        if (itemName.ToLower() == "cannon") 
     97        { 
    9798            weapon = new Cannon(75, 25); 
     99        } 
    98100        else if (itemName.ToLower() == "plasmacannon") 
    99101            weapon = new PlasmaCannon(75, 25); 
     
    131133        Game.Keyboard.Listen(right, ButtonState.Down, delegate { MovePlayer(new Vector(speed, 0)); }, null); 
    132134        Game.Keyboard.Listen(left, ButtonState.Down, delegate { MovePlayer(new Vector(-speed, 0)); }, null); 
    133         Game.Mouse.Listen(shoot, ButtonState.Pressed, Shoot, null); 
     135        Game.Mouse.Listen(shoot, ButtonState.Down, Shoot, null); 
    134136    } 
    135137 
  • 2013/27/TeemuM/Game/Game/GameContent/GameContent.contentproj

    r4448 r4465  
    146146    </Compile> 
    147147  </ItemGroup> 
     148  <ItemGroup> 
     149    <Compile Include="transparent.png"> 
     150      <Name>transparent</Name> 
     151      <Importer>TextureImporter</Importer> 
     152      <Processor>TextureProcessor</Processor> 
     153    </Compile> 
     154  </ItemGroup> 
    148155  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    149156  <!--  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.