Changeset 7407 for 2016/24


Ignore:
Timestamp:
2016-06-17 10:24:10 (7 years ago)
Author:
eemjohla
Message:
 
Location:
2016/24/EemeliL/Pong
Files:
6 added
9 edited

Legend:

Unmodified
Added
Removed
  • 2016/24/EemeliL/Pong/Pong.cs

    r7295 r7407  
    3838    void LuoKentta() 
    3939    { 
    40         pallo = new PhysicsObject(40.0, 40.0); 
     40        pallo = new PhysicsObject(70.0, 70.0); 
    4141        pallo.Shape = Shape.Circle; 
    4242        pallo.Color = RandomGen.NextColor(); 
     
    4444        pallo.Y = 0.0; 
    4545        pallo.Restitution = 2.0; 
     46        pallo.Image = LoadImage("PallonKuva"); 
    4647 
    4748        Add(pallo); 
     
    7172 
    7273 
    73         Level.Background.Color = Color.Blue; 
     74        Level.Background.Image = LoadImage("Taustakuva"); 
     75        Level.Background.Color = RandomGen.NextColor(); 
    7476 
    7577        AddCollisionHandler(pallo, KasittelePallonTormays); 
     
    8587    PhysicsObject LuoMaila(double X, double Y) 
    8688    { 
    87         PhysicsObject maila = PhysicsObject.CreateStaticObject(20.0, 100.0); 
    88         maila.Shape = Shape.Hexagon; 
     89        PhysicsObject maila = PhysicsObject.CreateStaticObject(20.0, 130.0); 
     90        maila.Shape = Shape.Circle; 
    8991        maila.X = X; 
    9092        maila.Y = Y; 
     
    190192        pelaajan1Pisteet.Value = 0; 
    191193        pelaajan2Pisteet.Value = 0; 
    192       
    193        } 
     194        ClearAll(); 
     195        Begin(); 
     196 
     197    } 
    194198 
    195199} 
  • 2016/24/EemeliL/Pong/Pong/Pong/obj/x86/Debug/ContentPipeline-{DEDB9D28-5879-4871-A6B4-04925B47CDA3}.xml

    r7267 r7407  
    22<XnaContent xmlns:Pipeline="Microsoft.Xna.Framework.Content.Pipeline"> 
    33  <Asset Type="Pipeline:BuildItemCollection"> 
     4    <Item> 
     5      <Source>Taustakuva.png</Source> 
     6      <Name>Taustakuva</Name> 
     7      <Importer>TextureImporter</Importer> 
     8      <Processor>TextureProcessor</Processor> 
     9      <Options>None</Options> 
     10      <Output>C:\MyTemp\EemeliL\Pong\Pong\Pong\bin\x86\Debug\Content\Taustakuva.xnb</Output> 
     11      <Time>2016-06-17T10:11:28.715129+03:00</Time> 
     12    </Item> 
     13    <Item> 
     14      <Source>PallonKuva.png</Source> 
     15      <Name>PallonKuva</Name> 
     16      <Importer>TextureImporter</Importer> 
     17      <Processor>TextureProcessor</Processor> 
     18      <Options>None</Options> 
     19      <Output>C:\MyTemp\EemeliL\Pong\Pong\Pong\bin\x86\Debug\Content\PallonKuva.xnb</Output> 
     20      <Time>2016-06-17T10:19:44.8638933+03:00</Time> 
     21    </Item> 
    422    <BuildSuccessful>true</BuildSuccessful> 
    523    <Settings> 
     
    1634    <Assemblies> 
    1735      <Assembly> 
     36        <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\TextFileContentExtension.dll</Key> 
     37        <Value>2015-02-09T20:18:44+02:00</Value> 
     38      </Assembly> 
     39      <Assembly> 
     40        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.XImporter.dll</Key> 
     41        <Value>2011-09-01T16:22:30+03:00</Value> 
     42      </Assembly> 
     43      <Assembly> 
     44        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.VideoImporters.dll</Key> 
     45        <Value>2011-09-01T16:22:30+03:00</Value> 
     46      </Assembly> 
     47      <Assembly> 
     48        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.TextureImporter.dll</Key> 
     49        <Value>2011-09-01T16:22:30+03:00</Value> 
     50      </Assembly> 
     51      <Assembly> 
     52        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.FBXImporter.dll</Key> 
     53        <Value>2011-09-01T16:22:30+03:00</Value> 
     54      </Assembly> 
     55      <Assembly> 
     56        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.EffectImporter.dll</Key> 
     57        <Value>2011-09-01T16:22:30+03:00</Value> 
     58      </Assembly> 
     59      <Assembly> 
     60        <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.AudioImporters.dll</Key> 
     61        <Value>2011-09-01T16:22:30+03:00</Value> 
     62      </Assembly> 
     63      <Assembly> 
     64        <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\AnimationExtension.dll</Key> 
     65        <Value>2015-02-17T22:27:18+02:00</Value> 
     66      </Assembly> 
     67      <Assembly> 
    1868        <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> 
    1969        <Value>2015-09-16T12:26:20.8291525+03:00</Value> 
  • 2016/24/EemeliL/Pong/Pong/Pong/obj/x86/Debug/Pong.csproj.FileListAbsolute.txt

    r7267 r7407  
    77C:\MyTemp\EemeliL\Pong\Pong\Pong\obj\x86\Debug\Pong.exe 
    88C:\MyTemp\EemeliL\Pong\Pong\Pong\obj\x86\Debug\Pong.pdb 
     9C:\MyTemp\EemeliL\Pong\Pong\Pong\bin\x86\Debug\Content\Taustakuva.xnb 
     10C:\MyTemp\EemeliL\Pong\Pong\Pong\bin\x86\Debug\Content\PallonKuva.xnb 
  • 2016/24/EemeliL/Pong/Pong/PongContent/PongContent.contentproj

    r7267 r7407  
    4545    <Reference Include="AnimationExtension" /> 
    4646  </ItemGroup> 
     47  <ItemGroup> 
     48    <Compile Include="Taustakuva.png"> 
     49      <Name>Taustakuva</Name> 
     50      <Importer>TextureImporter</Importer> 
     51      <Processor>TextureProcessor</Processor> 
     52    </Compile> 
     53  </ItemGroup> 
     54  <ItemGroup> 
     55    <Compile Include="PallonKuva.png"> 
     56      <Name>PallonKuva</Name> 
     57      <Importer>TextureImporter</Importer> 
     58      <Processor>TextureProcessor</Processor> 
     59    </Compile> 
     60  </ItemGroup> 
    4761  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    4862  <!--  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.