Changeset 8133 for 2016


Ignore:
Timestamp:
2016-07-27 10:28:41 (3 years ago)
Author:
almajono
Message:
 
Location:
2016/30/AleksiN/name/name
Files:
5 added
8 edited

Legend:

Unmodified
Added
Removed
  • 2016/30/AleksiN/name/name/name/name.cs

    r8115 r8133  
    99public class name : PhysicsGame 
    1010{ 
     11 
     12    Image tire = LoadImage("tire"); 
    1113    PhysicsStructure tires = new PhysicsStructure(); 
    1214    public override void Begin() 
     15 
    1316    { 
    14        points(); 
     17 
     18        IsFullScreen = true; 
     19 
     20        spawnTires(); 
     21        points(); 
     22        keys(); 
     23         
    1524 
    1625        Surface level = Surface.CreateBottom(Level, 30, 100, 10, 100); 
    1726        Add(level); 
    18  
    1927        Gravity = new Vector(0.0, -800.0); 
    2028 
     29    } 
     30 
     31    void spawnTires() 
     32    { 
    2133        PhysicsObject leftTire = new PhysicsObject(50.0, 50.0, Shape.Circle); 
    2234        PhysicsObject rightTire = new PhysicsObject(50.0, 50.0, Shape.Circle); 
     
    2739        tires = new PhysicsStructure(leftTire, rightTire); 
    2840        Add(tires); 
    29  
     41    } 
     42    void keys() 
     43    { 
    3044        Keyboard.Listen(Key.Left, ButtonState.Down, movement, null, new Vector(-2000, 0)); 
    3145        Keyboard.Listen(Key.Right, ButtonState.Down, movement, null, new Vector(2000, 0)); 
    3246        Keyboard.Listen(Key.Up, ButtonState.Down, angle, null, new Vector(-500, 0)); 
    3347        Keyboard.Listen(Key.Down, ButtonState.Down, angle, null, new Vector(500, 0)); 
    34  
    3548        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
    3649    } 
    37  
    3850    void movement(Vector movement) 
    3951    { 
    4052        tires.Push(movement); 
    4153    } 
    42  
    4354    void angle(Vector angle) 
    4455    { 
    4556 
    4657    } 
    47  
    4858    IntMeter pointCounter; 
    49  
    5059    void points() 
    5160    { 
  • 2016/30/AleksiN/name/name/name/obj/x86/Debug/ContentPipeline-{49567990-B47B-4392-B766-C40B385D6A4B}.xml

    r8096 r8133  
    22<XnaContent xmlns:Pipeline="Microsoft.Xna.Framework.Content.Pipeline"> 
    33  <Asset Type="Pipeline:BuildItemCollection"> 
     4    <Item> 
     5      <Source>tire.png</Source> 
     6      <Name>tire</Name> 
     7      <Importer>TextureImporter</Importer> 
     8      <Processor>TextureProcessor</Processor> 
     9      <Options>None</Options> 
     10      <Output>C:\MyTemp\AleksiN\name\name\name\bin\x86\Debug\Content\tire.xnb</Output> 
     11      <Time>2016-07-27T10:06:19.1460791+03: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> 
    1960        <Value>2015-09-16T13:59:25.0277415+03:00</Value> 
  • 2016/30/AleksiN/name/name/name/obj/x86/Debug/name.csproj.FileListAbsolute.txt

    r8096 r8133  
    77C:\MyTemp\AleksiN\name\name\name\obj\x86\Debug\name.pdb 
    88C:\MyTemp\AleksiN\name\name\name\obj\x86\Debug\name.csprojResolveAssemblyReference.cache 
     9C:\MyTemp\AleksiN\name\name\name\bin\x86\Debug\Content\tire.xnb 
  • 2016/30/AleksiN/name/name/nameContent/nameContent.contentproj

    r8096 r8133  
    4545    <Reference Include="AnimationExtension" /> 
    4646  </ItemGroup> 
     47  <ItemGroup> 
     48    <Compile Include="tire.png"> 
     49      <Name>tire</Name> 
     50      <Importer>TextureImporter</Importer> 
     51      <Processor>TextureProcessor</Processor> 
     52    </Compile> 
     53  </ItemGroup> 
    4754  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    4855  <!--  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.