Changeset 5638 for 2014


Ignore:
Timestamp:
2014-07-24 14:58:58 (5 years ago)
Author:
oomahutt
Message:
 
Location:
2014/30/OonaH
Files:
3 added
14 edited

Legend:

Unmodified
Added
Removed
  • 2014/30/OonaH/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2.cs

    r5632 r5638  
    99public class GoldenMaknae2 : PhysicsGame 
    1010{ 
    11  
    12     #region Olioiden nimeaminen 
    1311    PlatformCharacter Kookie; 
    1412    PhysicsObject reuna; 
    1513    PhysicsObject tavarat; 
     14    PhysicsObject pilvi; 
    1615    Label pisteNaytto; 
    1716    IntMeter pisteLaskuri; 
    1817    List<Label> valikonKohdat; 
    1918 
    20  
    21  
    22     #endregion 
    2319    #region kuvien lataaminen 
    2420    Image KookieKuva = LoadImage("Kookie"); 
    2521    Image LetterKuva = LoadImage("Letter"); 
    2622    Image RapmonKuva = LoadImage("Rapmon"); 
     23    Image Pilvi1Kuva = LoadImage("Pilvi1"); 
     24 
    2725    #endregion 
    2826    #region nopeudet 
     
    4745    { 
    4846        ClearAll(); 
     47 
     48        Level.BackgroundColor = Color.Ivory; 
     49 
     50        //Widget lista = new Widget(new VerticalLayout()); 
     51       // lista.BorderColor = Color.Black; 
     52        //lista.Color = Color.Transparent; 
     53        //Add(lista); 
     54 
     55        //lista.Add(new Label("kissa")); 
     56 
     57        //Widget laatikko = new Widget(100, 20); 
     58        //laatikko.Color = Color.Blue; 
     59        //lista.Add(laatikko); 
     60 
     61        //lista.Add(new Widget(taulunKuva)); 
     62 
     63        //lista.Add(new Label("koira")); 
     64 
     65        Widget tausta = new Widget(new VerticalLayout()); 
     66        tausta.Color = Color.Ivory; 
     67        Add(tausta); 
     68 
     69        tausta.Add(new Label("falkjhfaögafjöa")); 
     70 
     71 
    4972 
    5073        valikonKohdat = new List<Label>(); 
     
    160183        PhysicsObject vasenReuna = Level.CreateLeftBorder(); 
    161184        vasenReuna.Restitution = 1.0; 
     185 
     186        //täälläkin pilviä 
     187        LuoPilvia(-100, 500, Pilvi1Kuva); 
     188 
    162189    } 
    163190 
     
    174201    } 
    175202 
     203    void LuoPilvia(double x, double y, Image Kuva) 
     204    { 
     205 
     206        //TODO: pilvien luomisessa häikkää. 
     207         
     208        pilvi.X = x; 
     209        pilvi.Y = y; 
     210        pilvi.Image = Kuva; 
     211        Add(pilvi); 
     212    } 
    176213    void ToinenOsuma(PhysicsObject reuna, PhysicsObject Hyung) 
    177214    { 
     
    260297        Add(rajahdys); 
    261298        kohde.Destroy(); 
    262         Timer.SingleShot(2, Tuhoa); 
     299        Timer.SingleShot(2, Valikko); 
    263300        ClearControls(); 
    264301 
    265     } 
    266  
    267     void Tuhoa() 
    268     { 
    269         AloitaPeli(); 
    270  
    271   
    272302    } 
    273303    #endregion 
  • 2014/30/OonaH/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2.csproj.Debug.cachefile

    r5618 r5638  
    33Content\Rapmon.xnb 
    44Content\Kentta.xnb 
     5Content\Pilvi1.xnb 
    56Content\Kentta.txt 
  • 2014/30/OonaH/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2/bin/x86/Debug/Content/Kentta.txt

    r5632 r5638  
    99................................................................ 
    1010................................................................ 
    11 ................................................................ 
     11..............%................................................. 
    1212................................................................ 
    1313................................................................ 
  • 2014/30/OonaH/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2/obj/x86/Debug/ContentPipeline-{6494C56A-28E2-4B1B-97F3-D805E8298F10}.xml

    r5632 r5638  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\OonaH\GoldenMaknae2\GoldenMaknae2\GoldenMaknae2\bin\x86\Debug\Content\Kentta.xnb</Output> 
    38       <Time>2014-07-24T14:27:19.514434+03:00</Time> 
     38      <Time>2014-07-24T14:47:27.786434+03:00</Time> 
     39    </Item> 
     40    <Item> 
     41      <Source>Pilvi1.png</Source> 
     42      <Name>Pilvi1</Name> 
     43      <Importer>TextureImporter</Importer> 
     44      <Processor>TextureProcessor</Processor> 
     45      <Options>None</Options> 
     46      <Output>C:\MyTemp\OonaH\GoldenMaknae2\GoldenMaknae2\GoldenMaknae2\bin\x86\Debug\Content\Pilvi1.xnb</Output> 
     47      <Time>2014-07-24T14:42:33.720434+03:00</Time> 
    3948    </Item> 
    4049    <BuildSuccessful>true</BuildSuccessful> 
  • 2014/30/OonaH/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2/obj/x86/Debug/GoldenMaknae2.csproj.FileListAbsolute.txt

    r5618 r5638  
    1212C:\MyTemp\OonaH\GoldenMaknae2\GoldenMaknae2\GoldenMaknae2\bin\x86\Debug\Content\Kentta.xnb 
    1313C:\MyTemp\OonaH\GoldenMaknae2\GoldenMaknae2\GoldenMaknae2\bin\x86\Debug\Content\Kentta.txt 
     14C:\MyTemp\OonaH\GoldenMaknae2\GoldenMaknae2\GoldenMaknae2\bin\x86\Debug\Content\Pilvi1.xnb 
  • 2014/30/OonaH/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2/obj/x86/Debug/cachefile-{6494C56A-28E2-4B1B-97F3-D805E8298F10}-targetpath.txt

    r5618 r5638  
    33Content\Rapmon.xnb 
    44Content\Kentta.xnb 
     5Content\Pilvi1.xnb 
    56Content\Kentta.txt 
  • 2014/30/OonaH/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2Content/GoldenMaknae2Content.contentproj

    r5618 r5638  
    7474    </Compile> 
    7575  </ItemGroup> 
     76  <ItemGroup> 
     77    <Compile Include="Pilvi1.png"> 
     78      <Name>Pilvi1</Name> 
     79      <Importer>TextureImporter</Importer> 
     80      <Processor>TextureProcessor</Processor> 
     81    </Compile> 
     82  </ItemGroup> 
    7683  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    7784  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2014/30/OonaH/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2Content/Kentta.txt

    r5632 r5638  
    99................................................................ 
    1010................................................................ 
    11 ................................................................ 
     11..............%................................................. 
    1212................................................................ 
    1313................................................................ 
Note: See TracChangeset for help on using the changeset viewer.