Changeset 6192 for 2014/30


Ignore:
Timestamp:
2015-06-23 15:00:36 (8 years ago)
Author:
iisaaira
Message:
 
Location:
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora.csproj.Debug.cachefile

    r6171 r6192  
    1010Content\kentta1.xnb 
    1111Content\kentta2.xnb 
     12Content\kentta3.xnb 
     13Content\kentta4.xnb 
     14Content\kentta5.xnb 
     15Content\kentta6.xnb 
     16Content\kentta7.xnb 
     17Content\kentta8.xnb 
     18Content\kentta9.xnb 
     19Content\kentta10.xnb 
     20Content\kentta11.xnb 
     21Content\kentta12.xnb 
     22Content\kentta4pohja.xnb 
  • 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack_to_Agora.cs

    r6171 r6192  
    2121    PlatformCharacter taistelija; 
    2222    
    23     int kenttanro = 1; 
     23    int kenttanro = 4; 
    2424  //  int Kenttanro = -1; 
    2525    public override void Begin() 
     
    5959        chuckinkavely = LoadAnimation("pelaajaliikkuu"); 
    6060        SmoothTextures = false; 
     61 
     62        ColorTileMap pohjaLevy = ColorTileMap.FromLevelAsset("kentta4pohja"); 
     63        pohjaLevy.SetTileMethod(Color.Gold, Luopohja); 
     64        pohjaLevy.SetTileMethod(Color.Cyan, Luotaistelija); 
     65        pohjaLevy.Execute(1, 1); 
     66 
     67 
     68         
    6169        Level.Background.Image = LoadImage("kentta"+kenttanro); 
    6270        //Level.Background.Image = level1; 
    63         Level.Background.Color = Color.Black; 
    64         Level.Width = 2000; 
    65         Level.Height = 1200; 
     71        //Level.Background.Color = Color.Black; 
     72        //Level.Width = 2000; 
     73        //Level.Height = 1200; 
    6674        Level.Background.FitToLevel(); 
    6775        Gravity = new Vector(0, -2500); 
    6876 
    69         PhysicsObject pohja = Level.CreateBottomBorder(); 
    70         pohja.Y = Level.Bottom + 100; 
    71         pohja.IsVisible = false; 
     77       // PhysicsObject pohja = Level.CreateBottomBorder(); 
     78       // pohja.Y = Level.Bottom + 100; 
     79        //pohja.IsVisible = false; 
    7280        PhysicsObject vasenreuna = Level.CreateLeftBorder(); 
    7381        vasenreuna.X -= 75; 
    7482        vasenreuna.Tag = "vasenreuna"; 
    75         PhysicsObject oikeareuna = Level.CreateRightBorder(); 
    76         oikeareuna.X += 75; 
    77         oikeareuna.Tag = "oikeareuna"; 
     83        //PhysicsObject oikeareuna = Level.CreateRightBorder(); 
     84        //oikeareuna.X += 75; 
     85        //oikeareuna.Tag = "oikeareuna"; 
    7886 
    7987 
    80         Luotaistelija(); 
    81         Varjo(pohja); 
     88      
     89        //Varjo(pohja); 
    8290 
    8391        IsFullScreen = true; 
     
    8997    } 
    9098 
    91     void Luotaistelija() 
     99    void Luotaistelija(Vector paikka, double leveys, double korkeus) 
    92100    { 
    93101 
    94         taistelija = new PlatformCharacter(75, 75); 
     102        taistelija = new PlatformCharacter(15, 15); 
    95103        taistelija.Shape = Shape.Circle; 
    96104        taistelija.Animation = new Animation(chuckinkavely); 
    97105        taistelija.Animation.Start(); 
    98         taistelija.Position = new Vector(900, 0); 
     106        taistelija.Position = paikka; 
    99107 
    100108        Keyboard.Listen(Key.A, ButtonState.Down, Liikuta, null, taistelija, -nopeus); 
     
    131139    } 
    132140 
    133      
     141    void Luopohja(Vector paikka, double leveys, double korkeus) 
     142    { 
     143        PhysicsObject pala = PhysicsObject.CreateStaticObject(leveys, korkeus); 
     144        pala.Position = paikka; 
     145        pala.Color = Color.Transparent; 
     146        Add(pala); 
     147    } 
    134148    
    135149} 
  • 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/obj/x86/Debug/Attack to Agora.csproj.FileListAbsolute.txt

    r6171 r6192  
    1818C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta1.xnb 
    1919C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta2.xnb 
     20C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta3.xnb 
     21C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta4.xnb 
     22C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta5.xnb 
     23C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta6.xnb 
     24C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta7.xnb 
     25C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta8.xnb 
     26C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta9.xnb 
     27C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta10.xnb 
     28C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta11.xnb 
     29C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta12.xnb 
     30C:\MyTemp\MitjaK\Attack to Agora\Attack to Agora\Attack to Agora\Attack to Agora\bin\x86\Debug\Content\kentta4pohja.xnb 
  • 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/obj/x86/Debug/cachefile-{2930AD0E-5824-4386-8008-3C0C45D1DA86}-targetpath.txt

    r6171 r6192  
    1010Content\kentta1.xnb 
    1111Content\kentta2.xnb 
     12Content\kentta3.xnb 
     13Content\kentta4.xnb 
     14Content\kentta5.xnb 
     15Content\kentta6.xnb 
     16Content\kentta7.xnb 
     17Content\kentta8.xnb 
     18Content\kentta9.xnb 
     19Content\kentta10.xnb 
     20Content\kentta11.xnb 
     21Content\kentta12.xnb 
     22Content\kentta4pohja.xnb 
  • 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to AgoraContent/Attack to AgoraContent.contentproj

    r6171 r6192  
    8080    </Compile> 
    8181  </ItemGroup> 
     82  <ItemGroup> 
     83    <Compile Include="kentta3.png"> 
     84      <Name>kentta3</Name> 
     85      <Importer>TextureImporter</Importer> 
     86      <Processor>TextureProcessor</Processor> 
     87    </Compile> 
     88  </ItemGroup> 
     89  <ItemGroup> 
     90    <Compile Include="kentta4.png"> 
     91      <Name>kentta4</Name> 
     92      <Importer>TextureImporter</Importer> 
     93      <Processor>TextureProcessor</Processor> 
     94    </Compile> 
     95  </ItemGroup> 
     96  <ItemGroup> 
     97    <Compile Include="kentta5.png"> 
     98      <Name>kentta5</Name> 
     99      <Importer>TextureImporter</Importer> 
     100      <Processor>TextureProcessor</Processor> 
     101    </Compile> 
     102  </ItemGroup> 
     103  <ItemGroup> 
     104    <Compile Include="kentta6.png"> 
     105      <Name>kentta6</Name> 
     106      <Importer>TextureImporter</Importer> 
     107      <Processor>TextureProcessor</Processor> 
     108    </Compile> 
     109  </ItemGroup> 
     110  <ItemGroup> 
     111    <Compile Include="kentta7.png"> 
     112      <Name>kentta7</Name> 
     113      <Importer>TextureImporter</Importer> 
     114      <Processor>TextureProcessor</Processor> 
     115    </Compile> 
     116  </ItemGroup> 
     117  <ItemGroup> 
     118    <Compile Include="kentta8.png"> 
     119      <Name>kentta8</Name> 
     120      <Importer>TextureImporter</Importer> 
     121      <Processor>TextureProcessor</Processor> 
     122    </Compile> 
     123  </ItemGroup> 
     124  <ItemGroup> 
     125    <Compile Include="kentta9.png"> 
     126      <Name>kentta9</Name> 
     127      <Importer>TextureImporter</Importer> 
     128      <Processor>TextureProcessor</Processor> 
     129    </Compile> 
     130  </ItemGroup> 
     131  <ItemGroup> 
     132    <Compile Include="kentta10.png"> 
     133      <Name>kentta10</Name> 
     134      <Importer>TextureImporter</Importer> 
     135      <Processor>TextureProcessor</Processor> 
     136    </Compile> 
     137  </ItemGroup> 
     138  <ItemGroup> 
     139    <Compile Include="kentta11.png"> 
     140      <Name>kentta11</Name> 
     141      <Importer>TextureImporter</Importer> 
     142      <Processor>TextureProcessor</Processor> 
     143    </Compile> 
     144  </ItemGroup> 
     145  <ItemGroup> 
     146    <Compile Include="kentta12.png"> 
     147      <Name>kentta12</Name> 
     148      <Importer>TextureImporter</Importer> 
     149      <Processor>TextureProcessor</Processor> 
     150    </Compile> 
     151  </ItemGroup> 
     152  <ItemGroup> 
     153    <Compile Include="kentta4pohja.png"> 
     154      <Name>kentta4pohja</Name> 
     155      <Importer>TextureImporter</Importer> 
     156      <Processor>TextureProcessor</Processor> 
     157    </Compile> 
     158  </ItemGroup> 
    82159  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    83160  <!--  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.