Changeset 2238 for 2011/26


Ignore:
Timestamp:
2011-06-28 14:58:38 (12 years ago)
Author:
saselamp
Message:

Talletus.

Location:
2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix
Files:
15 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix/world of Chuckland fix fix/Peli.cs

    r2228 r2238  
    1717    Image pelaajanKuva = LoadImage("norsu"); 
    1818    Image tahtiKuva = LoadImage("tahti"); 
     19    Image kiviKuva = LoadImage("kivi"); 
     20    Image puuKuva = LoadImage("puu"); 
     21    Image maaKuva = LoadImage("maa"); 
     22    Image metalliKuva = LoadImage("metalli"); 
     23 
    1924 
    2025    SoundEffect maaliAani = LoadSoundEffect("maali"); 
     
    3540    { 
    3641        TileMap kentta = TileMap.FromFile("kentta1.txt"); 
    37         kentta['#'] = lisaaTaso; 
     42        kentta['#'] = lisaamaa; 
    3843        kentta['*'] = lisaaTahti; 
    3944        kentta['N'] = lisaaPelaaja; 
     45        kentta['%'] = lisaakivi; 
     46        kentta 
     47 
    4048        kentta.Insert(RUUDUN_KOKO, RUUDUN_KOKO); 
    4149        Level.CreateBorders(); 
    4250        Level.Background.CreateGradient(Color.White, Color.SkyBlue); 
    4351    } 
    44  
    45     PhysicsObject lisaaTaso() 
     52     
     53    PhysicsObject lisaamaa() 
    4654    { 
    47         PhysicsObject taso = PhysicsObject.CreateStaticObject(RUUDUN_KOKO, RUUDUN_KOKO); 
     55        PhysicsObject maa = PhysicsObject.CreateStaticObject(RUUDUN_KOKO, RUUDUN_KOKO); 
    4856        taso.Color = Color.Green; 
    4957        return taso; 
  • 2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix/world of Chuckland fix fix/kentta1.txt

    r2228 r2238  
    1          * 
    2          ## 
    31 
    4        *    * 
    5        ##  ## 
     2             BBBBB 
     3          BBBBBBBBBBBBBBB 
     4             BBBBBBBBB                                                                                                                                                                                   BBBBBBBBBBBBB 
     5                                                                                                                                                                                                      BBBBBBBBBBBBBBB 
     6                                                                                                                                                                                                                   BBBB 
     7                                                                                                                                                                                                                     B 
     8                                                                                                                                                                                                                     B 
     9                                                                                                                                                                                                   // 
     10                                                             ///                                                                                                              /                  //()/ 
     11                                                            //////          //                                                                                                ////               ///()// 
     12                                                         ////()()///        ///                                                                                              //()//             ////()/// 
     13                                                           //()()//       //()//                                                                                             /()/                 /()/ 
     14%%                                                          /()()/         /()/                                                                                               ()                   () 
     15##                                                           ()()  ()       ()                                                                                              ==()====     ==========()==() 
     16###     N       ====================================   ======()()==()=======()======                                                                                        #########  ################## 
     17####################################################   ######################################                                                                                 ####     ######## ### 
     18####################################################   ####################%%%%%%%%%%%%%%%%                                                                                              ########### 
     19%%###############                                                               %%%%%                                                                                                      ###########  ======= 
     20%%###############                                                                                                                                                                           %%%%%%%%%%%%###### 
     21%%##################                                                                                                                                                                        ##%%%%%%%%%%#######################################################                                                                                                                                           %%#%%%%%%%%%%%##%##### 
     22%%################################################ %%%%                                                                                             ###                                     #########################^^########### 
     23%%##################################################### %%%%%                 %%                                                                    ###                                   ####%%%%%%%^^^^^^^^^^^^^^^^^^########## 
     24%%###########################################################;;;;;;;;;;;;;;;##%%%%%=============================     ========                      #####=============================########^^^^^^^^^^^^^^%%%%%%%%%%%%%%%%######### 
     25###########^^^^^^^^^^#########################################;;;;;;;;;;;;;#####################################;;;;#########;;;;;;;;;;;;############################################################################################ 
     26##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%;;;;;;;;;;; ###%%%%%%%%%%%%%%%%%%%% #############;;;;%%%%%%%%%;;;;;;;;;;;;#######%%%%%%%%%%%%%######%#######%##%%%##%##%%%%##%%%%########################%################ 
     27#######################################%%%%%%%%%%%%%%%%%%%%##################%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%############%%%%#%%%%%###%%%%#%#%####%%%%#%%%##%%%%#%%%%%%%%%%%%%%%%%%%%%%%######%####%#%###%##% 
     28%%%%%%%%%%%%%%%%%%%%%%#################%%%%%%%%%%%%#%#########################%%%%%####################################################%%#################%%%#%%%%%#%%%%%%%%%%%%########################################################## 
    629 
    7      *        * 
    8      ##  ##  ## 
    930 
    10    *    *  *    *      
    11    ##  ##  ##  ## 
    1231 
    13  *    *       *   * 
    14  ##  ##  ##  ##  ## 
    1532 
    16         N 
    17 ###################### 
     33 
Note: See TracChangeset for help on using the changeset viewer.