- Timestamp:
- 2011-06-28 14:58:38 (12 years ago)
- 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 17 17 Image pelaajanKuva = LoadImage("norsu"); 18 18 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 19 24 20 25 SoundEffect maaliAani = LoadSoundEffect("maali"); … … 35 40 { 36 41 TileMap kentta = TileMap.FromFile("kentta1.txt"); 37 kentta['#'] = lisaa Taso;42 kentta['#'] = lisaamaa; 38 43 kentta['*'] = lisaaTahti; 39 44 kentta['N'] = lisaaPelaaja; 45 kentta['%'] = lisaakivi; 46 kentta 47 40 48 kentta.Insert(RUUDUN_KOKO, RUUDUN_KOKO); 41 49 Level.CreateBorders(); 42 50 Level.Background.CreateGradient(Color.White, Color.SkyBlue); 43 51 } 44 45 PhysicsObject lisaa Taso()52 53 PhysicsObject lisaamaa() 46 54 { 47 PhysicsObject taso= PhysicsObject.CreateStaticObject(RUUDUN_KOKO, RUUDUN_KOKO);55 PhysicsObject maa = PhysicsObject.CreateStaticObject(RUUDUN_KOKO, RUUDUN_KOKO); 48 56 taso.Color = Color.Green; 49 57 return taso; -
2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix/world of Chuckland fix fix/kentta1.txt
r2228 r2238 1 *2 ##3 1 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 %%%%%%%%%%%%%%%%%%%%%%#################%%%%%%%%%%%%#%#########################%%%%%####################################################%%#################%%%#%%%%%#%%%%%%%%%%%%########################################################## 6 29 7 * *8 ## ## ##9 30 10 * * * *11 ## ## ## ##12 31 13 * * * *14 ## ## ## ## ##15 32 16 N 17 ###################### 33
Note: See TracChangeset
for help on using the changeset viewer.