Ignore:
Timestamp:
2016-11-19 14:56:37 (3 years ago)
Author:
jotapoti
Message:
 
Location:
2016/koodauskerho/AaroA/FysiikkaPeli1/FysiikkaPeli1/FysiikkaPeli1
Files:
3 added
7 edited

Legend:

Unmodified
Added
Removed
  • 2016/koodauskerho/AaroA/FysiikkaPeli1/FysiikkaPeli1/FysiikkaPeli1/FysiikkaPeli1.cs

    r8343 r8367  
    1111public class FysiikkaPeli1 : PhysicsGame 
    1212{ 
     13    PhysicsObject olio = new PhysicsObject(40.0, 40.0); 
     14 
    1315    Vector nopeusYlos = new Vector(0, 200); 
    1416    Vector nopeusAlas = new Vector(0, -200); 
    15  
     17    Image olionkuva = LoadImage("MLGKissa"); 
    1618    PhysicsObject pallo; 
    1719    PhysicsObject maila1; 
     
    3436    void LuoKentta() 
    3537    { 
    36         pallo = new PhysicsObject(40.0, 40.0); 
     38        pallo = new PhysicsObject(150, 100); 
     39        pallo.Image = olionkuva; 
    3740        pallo.Shape = Shape.Circle; 
    3841        pallo.X = -200.0; 
     
    6770        alaReuna.KineticFriction = 0.0; 
    6871 
    69         Level.BackgroundColor = Color.Black; 
    70  
    71         Camera.ZoomToLevel(); 
     72    Level.Background.CreateStars(10000); 
     73    Camera.ZoomToLevel(); 
    7274    } 
    7375 
     
    107109    } 
    108110 
    109     void KasittelePallonTormays(PhysicsObject pallo, PhysicsObject kohde) 
     111    void KasittelePallonTormays(PhysicsObject kissa, PhysicsObject kohde) 
    110112    { 
    111113        if (kohde == oikeaReuna) 
  • 2016/koodauskerho/AaroA/FysiikkaPeli1/FysiikkaPeli1/FysiikkaPeli1/obj/x86/Debug/ContentPipeline-{566C875E-D1D6-49C7-9059-1FA4CF0D7D1F}.xml

    r8343 r8367  
    22<XnaContent xmlns:Pipeline="Microsoft.Xna.Framework.Content.Pipeline"> 
    33  <Asset Type="Pipeline:BuildItemCollection"> 
     4    <Item> 
     5      <Source>MLGKissa.png</Source> 
     6      <Name>MLGKissa</Name> 
     7      <Importer>TextureImporter</Importer> 
     8      <Processor>TextureProcessor</Processor> 
     9      <Options>None</Options> 
     10      <Output>C:\MyTemp\AaroA\FysiikkaPeli1\FysiikkaPeli1\FysiikkaPeli1\bin\x86\Debug\Content\MLGKissa.xnb</Output> 
     11      <Time>2016-11-19T11:39:12.9348721+02:00</Time> 
     12    </Item> 
    413    <BuildSuccessful>true</BuildSuccessful> 
    514    <Settings> 
     
    1625    <Assemblies> 
    1726      <Assembly> 
     27        <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\TextFileContentExtension.dll</Key> 
     28        <Value>2015-02-09T20:18:44+02:00</Value> 
     29      </Assembly> 
     30      <Assembly> 
     31        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.XImporter.dll</Key> 
     32        <Value>2011-09-01T16:22:30+03:00</Value> 
     33      </Assembly> 
     34      <Assembly> 
     35        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.VideoImporters.dll</Key> 
     36        <Value>2011-09-01T16:22:30+03:00</Value> 
     37      </Assembly> 
     38      <Assembly> 
     39        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.TextureImporter.dll</Key> 
     40        <Value>2011-09-01T16:22:30+03:00</Value> 
     41      </Assembly> 
     42      <Assembly> 
     43        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.FBXImporter.dll</Key> 
     44        <Value>2011-09-01T16:22:30+03:00</Value> 
     45      </Assembly> 
     46      <Assembly> 
     47        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.EffectImporter.dll</Key> 
     48        <Value>2011-09-01T16:22:30+03:00</Value> 
     49      </Assembly> 
     50      <Assembly> 
     51        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.AudioImporters.dll</Key> 
     52        <Value>2011-09-01T16:22:30+03:00</Value> 
     53      </Assembly> 
     54      <Assembly> 
     55        <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\AnimationExtension.dll</Key> 
     56        <Value>2015-02-17T22:27:18+02:00</Value> 
     57      </Assembly> 
     58      <Assembly> 
    1859        <Key>C:\Windows\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 
    19         <Value>2015-09-16T19:06:04.2493246+03:00</Value> 
     60        <Value>2015-09-16T12:49:20.0687193+03:00</Value> 
    2061      </Assembly> 
    2162    </Assemblies> 
  • 2016/koodauskerho/AaroA/FysiikkaPeli1/FysiikkaPeli1/FysiikkaPeli1/obj/x86/Debug/FysiikkaPeli1.csproj.FileListAbsolute.txt

    r8343 r8367  
    77C:\MyTemp\AaroA\FysiikkaPeli1\FysiikkaPeli1\FysiikkaPeli1\obj\x86\Debug\FysiikkaPeli1.exe 
    88C:\MyTemp\AaroA\FysiikkaPeli1\FysiikkaPeli1\FysiikkaPeli1\obj\x86\Debug\FysiikkaPeli1.pdb 
     9C:\MyTemp\AaroA\FysiikkaPeli1\FysiikkaPeli1\FysiikkaPeli1\bin\x86\Debug\Content\MLGKissa.xnb 
Note: See TracChangeset for help on using the changeset viewer.