Changeset 9338 for 2017/31


Ignore:
Timestamp:
2017-08-02 11:54:05 (2 years ago)
Author:
npo17_86
Message:

Hahmo modelit tehty?

Location:
2017/31/OskariP
Files:
6 added
16 edited

Legend:

Unmodified
Added
Removed
  • 2017/31/OskariP/Alienharvester/Alienharvester/Alienharvester/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r9325 r9338  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\OskariP\Alienharvester\Alienharvester\Alienharvester\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2017-08-01T13:36:27.5143779+03:00</Time> 
     38      <Time>2017-08-01T13:49:32.2306745+03:00</Time> 
    3939    </Item> 
    4040    <BuildSuccessful>true</BuildSuccessful> 
  • 2017/31/OskariP/Alienharvester2/Alienharvester2/Alienharvester2/Alienharvester2.cs

    r9325 r9338  
    99public class Alienharvester2 : PhysicsGame 
    1010{ 
     11    Image olionkuva = LoadImage("Adrian"); 
    1112    const double nopeus = 200; 
    1213    const double hyppyNopeus = 750; 
     
    3233        pelaaja1.Weapon = new AssaultRifle(30, 10); 
    3334        pelaaja1.Weapon.ProjectileCollision = AmmusOsui; 
     35        PhysicsObject vortigaunt = new PhysicsObject(40, 20); 
     36        vortigaunt.Shape = Shape.Rectangle; 
     37        Add(vortigaunt); 
     38        vortigaunt.Color = Color.DarkGreen; 
     39        PhysicsObject gargantuan = new PhysicsObject(200, 50); 
     40        gargantuan.Shape = Shape.Rectangle; 
     41        Add(gargantuan); 
     42        gargantuan.Color = Color.DarkBlue; 
     43         
    3444    } 
    3545 
     
    6575    void LisaaPelaaja(Vector paikka, double leveys, double korkeus) 
    6676    { 
    67          
     77 
    6878        AssaultRifle pyssy = new AssaultRifle(20, 5); 
    6979        pyssy.Angle += Angle.FromDegrees(1); 
     
    7484        AddCollisionHandler(pelaaja1, "tahti", TormaaTahteen); 
    7585        Add(pelaaja1); 
     86 
    7687    } 
    7788    void AmmusOsui(PhysicsObject ammus, PhysicsObject kohde) 
  • 2017/31/OskariP/Alienharvester2/Alienharvester2/Alienharvester2/Alienharvester2.csproj

    r9325 r9338  
    116116  </ItemGroup> 
    117117  <ItemGroup> 
     118    <Content Include="Adrian.png" /> 
    118119    <Content Include="Game.ico" /> 
    119120    <Content Include="GameThumbnail.png" /> 
     121    <Content Include="gargantua.png" /> 
     122    <Content Include="vortigaunt.png" /> 
    120123  </ItemGroup> 
    121124  <ItemGroup> 
  • 2017/31/OskariP/Alienharvester2/Alienharvester2/Alienharvester2/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r9325 r9338  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\OskariP\Alienharvester2\Alienharvester2\Alienharvester2\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2017-08-01T14:56:19.522739+03:00</Time> 
     38      <Time>2017-08-01T14:56:51.627703+03:00</Time> 
    3939    </Item> 
    4040    <BuildSuccessful>true</BuildSuccessful> 
Note: See TracChangeset for help on using the changeset viewer.