Changeset 8569 for 2017


Ignore:
Timestamp:
2017-06-13 12:00:05 (2 years ago)
Author:
npo17_16
Message:

reunat

Location:
2017/24/IlariI/piXgel GAmE/piXgel GAmE
Files:
4 added
7 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel_GAmE/piXgel_GAmE.cs

    r8555 r8569  
    77using Jypeli.Widgets; 
    88 
    9 public class piXgel_GAmE :PhysicsGame 
     9public class piXgel_GAmE : PhysicsGame 
    1010{ 
     11 
     12    PhysicsObject hahmo; 
    1113    public override void Begin() 
    1214    { 
    13         // Kirjoita ohjelmakoodisi tähän 
     15         
     16        LuoKentta(); 
     17        // TODO: Kirjoita ohjelmakoodisi tähän(); 
    1418 
    1519 
     
    1923 
    2024    } 
     25 
     26    void LuoKentta() 
     27    { 
     28        hahmo = new PhysicsObject(25.0, 30.0); 
     29 
     30        Add(hahmo); 
     31 
     32        PhysicsObject ylareuna = Level.CreateTopBorder(); 
     33        PhysicsObject alareuna = Level.CreateBottomBorder(); 
     34        PhysicsObject vasenreuna = Level.CreateLeftBorder(); 
     35        PhysicsObject oikeareuna = Level.CreateRightBorder(); 
     36        //Level.CreateBorders(1.0, true); 
     37 
     38        Level.Background.Color = Color.Aqua; 
     39        Camera.Zoom(1.0); 
     40 
     41 
     42 
     43    } 
    2144} 
  • 2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel_GAmE/piXgel_GAmE.csproj

    r8555 r8569  
    120120  </ItemGroup> 
    121121  <ItemGroup> 
    122     <ProjectReference Include="..\piXgel_GAmEContent\piXgel_GAmEContent.contentproj"> 
    123       <Name>piXgel_GAmEContent</Name> 
    124       <XnaReferenceType>Content</XnaReferenceType> 
    125     </ProjectReference> 
    126   </ItemGroup> 
    127   <ItemGroup> 
    128122    <BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client"> 
    129123      <Visible>False</Visible> 
     
    152146    </BootstrapperPackage> 
    153147  </ItemGroup> 
     148  <ItemGroup> 
     149    <ProjectReference Include="..\piXgel GAmEContent\piXgel GAmEContent.contentproj"> 
     150      <Project>{7E219295-6DBC-42BE-B9CE-5D789E28771B}</Project> 
     151      <Name>piXgel GAmEContent</Name> 
     152      <XnaReferenceType>Content</XnaReferenceType> 
     153    </ProjectReference> 
     154  </ItemGroup> 
    154155  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 
    155156  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" /> 
Note: See TracChangeset for help on using the changeset viewer.