Changeset 9661


Ignore:
Timestamp:
2018-06-07 14:50:11 (18 months ago)
Author:
eelinjam
Message:
 
Location:
2018/23/EETIL/omapeli
Files:
67 added
27 edited

Legend:

Unmodified
Added
Removed
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/Content/Content.mgcb

    r9620 r9661  
    9898/build:palikka2.png 
    9999 
     100#begin kaktus2.png 
     101/importer:TextureImporter 
     102/processor:TextureProcessor 
     103/processorParam:ColorKeyColor=255,0,255,255 
     104/processorParam:ColorKeyEnabled=True 
     105/processorParam:GenerateMipmaps=False 
     106/processorParam:PremultiplyAlpha=True 
     107/processorParam:ResizeToPowerOfTwo=False 
     108/processorParam:MakeSquare=False 
     109/processorParam:TextureFormat=Color 
     110/build:kaktus2.png 
     111 
     112#begin pÀÀhenkilö kÀvelee1.png 
     113/importer:TextureImporter 
     114/processor:TextureProcessor 
     115/processorParam:ColorKeyColor=255,0,255,255 
     116/processorParam:ColorKeyEnabled=True 
     117/processorParam:GenerateMipmaps=False 
     118/processorParam:PremultiplyAlpha=True 
     119/processorParam:ResizeToPowerOfTwo=False 
     120/processorParam:MakeSquare=False 
     121/processorParam:TextureFormat=Color 
     122/build:pÀÀhenkilö kÀvelee1.png 
     123 
     124#begin pÀÀhenkilö kÀvelee3.png 
     125/importer:TextureImporter 
     126/processor:TextureProcessor 
     127/processorParam:ColorKeyColor=255,0,255,255 
     128/processorParam:ColorKeyEnabled=True 
     129/processorParam:GenerateMipmaps=False 
     130/processorParam:PremultiplyAlpha=True 
     131/processorParam:ResizeToPowerOfTwo=False 
     132/processorParam:MakeSquare=False 
     133/processorParam:TextureFormat=Color 
     134/build:pÀÀhenkilö kÀvelee3.png 
     135 
     136#begin PÀÀhenkilö seisomassa.png 
     137/importer:TextureImporter 
     138/processor:TextureProcessor 
     139/processorParam:ColorKeyColor=255,0,255,255 
     140/processorParam:ColorKeyEnabled=True 
     141/processorParam:GenerateMipmaps=False 
     142/processorParam:PremultiplyAlpha=True 
     143/processorParam:ResizeToPowerOfTwo=False 
     144/processorParam:MakeSquare=False 
     145/processorParam:TextureFormat=Color 
     146/build:PÀÀhenkilö seisomassa.png 
     147 
     148#begin pÀÀhenkilö kÀvelee2.png 
     149/importer:TextureImporter 
     150/processor:TextureProcessor 
     151/processorParam:ColorKeyColor=255,0,255,255 
     152/processorParam:ColorKeyEnabled=True 
     153/processorParam:GenerateMipmaps=False 
     154/processorParam:PremultiplyAlpha=True 
     155/processorParam:ResizeToPowerOfTwo=False 
     156/processorParam:MakeSquare=False 
     157/processorParam:TextureFormat=Color 
     158/build:pÀÀhenkilö kÀvelee2.png 
     159 
     160#begin pÀÀhenkilö kÀvelee4.png 
     161/importer:TextureImporter 
     162/processor:TextureProcessor 
     163/processorParam:ColorKeyColor=255,0,255,255 
     164/processorParam:ColorKeyEnabled=True 
     165/processorParam:GenerateMipmaps=False 
     166/processorParam:PremultiplyAlpha=True 
     167/processorParam:ResizeToPowerOfTwo=False 
     168/processorParam:MakeSquare=False 
     169/processorParam:TextureFormat=Color 
     170/build:pÀÀhenkilö kÀvelee4.png 
     171 
     172#begin pilvi.png 
     173/importer:TextureImporter 
     174/processor:TextureProcessor 
     175/processorParam:ColorKeyColor=255,0,255,255 
     176/processorParam:ColorKeyEnabled=True 
     177/processorParam:GenerateMipmaps=False 
     178/processorParam:PremultiplyAlpha=True 
     179/processorParam:ResizeToPowerOfTwo=False 
     180/processorParam:MakeSquare=False 
     181/processorParam:TextureFormat=Color 
     182/build:pilvi.png 
     183 
     184#begin lentolisko.png 
     185/importer:TextureImporter 
     186/processor:TextureProcessor 
     187/processorParam:ColorKeyColor=255,0,255,255 
     188/processorParam:ColorKeyEnabled=True 
     189/processorParam:GenerateMipmaps=False 
     190/processorParam:PremultiplyAlpha=True 
     191/processorParam:ResizeToPowerOfTwo=False 
     192/processorParam:MakeSquare=False 
     193/processorParam:TextureFormat=Color 
     194/build:lentolisko.png 
     195 
     196#begin palikka3.png 
     197/importer:TextureImporter 
     198/processor:TextureProcessor 
     199/processorParam:ColorKeyColor=255,0,255,255 
     200/processorParam:ColorKeyEnabled=True 
     201/processorParam:GenerateMipmaps=False 
     202/processorParam:PremultiplyAlpha=True 
     203/processorParam:ResizeToPowerOfTwo=False 
     204/processorParam:MakeSquare=False 
     205/processorParam:TextureFormat=Color 
     206/build:palikka3.png 
     207 
     208#begin bossi seisomassa.png 
     209/importer:TextureImporter 
     210/processor:TextureProcessor 
     211/processorParam:ColorKeyColor=255,0,255,255 
     212/processorParam:ColorKeyEnabled=True 
     213/processorParam:GenerateMipmaps=False 
     214/processorParam:PremultiplyAlpha=True 
     215/processorParam:ResizeToPowerOfTwo=False 
     216/processorParam:MakeSquare=False 
     217/processorParam:TextureFormat=Color 
     218/build:bossi seisomassa.png 
     219 
     220#begin P1.png 
     221/importer:TextureImporter 
     222/processor:TextureProcessor 
     223/processorParam:ColorKeyColor=255,0,255,255 
     224/processorParam:ColorKeyEnabled=True 
     225/processorParam:GenerateMipmaps=False 
     226/processorParam:PremultiplyAlpha=True 
     227/processorParam:ResizeToPowerOfTwo=False 
     228/processorParam:MakeSquare=False 
     229/processorParam:TextureFormat=Color 
     230/build:P1.png 
     231 
     232#begin P2.png 
     233/importer:TextureImporter 
     234/processor:TextureProcessor 
     235/processorParam:ColorKeyColor=255,0,255,255 
     236/processorParam:ColorKeyEnabled=True 
     237/processorParam:GenerateMipmaps=False 
     238/processorParam:PremultiplyAlpha=True 
     239/processorParam:ResizeToPowerOfTwo=False 
     240/processorParam:MakeSquare=False 
     241/processorParam:TextureFormat=Color 
     242/build:P2.png 
     243 
     244#begin P3.png 
     245/importer:TextureImporter 
     246/processor:TextureProcessor 
     247/processorParam:ColorKeyColor=255,0,255,255 
     248/processorParam:ColorKeyEnabled=True 
     249/processorParam:GenerateMipmaps=False 
     250/processorParam:PremultiplyAlpha=True 
     251/processorParam:ResizeToPowerOfTwo=False 
     252/processorParam:MakeSquare=False 
     253/processorParam:TextureFormat=Color 
     254/build:P3.png 
     255 
     256#begin P4.png 
     257/importer:TextureImporter 
     258/processor:TextureProcessor 
     259/processorParam:ColorKeyColor=255,0,255,255 
     260/processorParam:ColorKeyEnabled=True 
     261/processorParam:GenerateMipmaps=False 
     262/processorParam:PremultiplyAlpha=True 
     263/processorParam:ResizeToPowerOfTwo=False 
     264/processorParam:MakeSquare=False 
     265/processorParam:TextureFormat=Color 
     266/build:P4.png 
     267 
     268#begin P5.png 
     269/importer:TextureImporter 
     270/processor:TextureProcessor 
     271/processorParam:ColorKeyColor=255,0,255,255 
     272/processorParam:ColorKeyEnabled=True 
     273/processorParam:GenerateMipmaps=False 
     274/processorParam:PremultiplyAlpha=True 
     275/processorParam:ResizeToPowerOfTwo=False 
     276/processorParam:MakeSquare=False 
     277/processorParam:TextureFormat=Color 
     278/build:P5.png 
     279 
    100280#begin kaktus.png 
    101281/importer:TextureImporter 
     
    110290/build:kaktus.png 
    111291 
    112 #begin kaktus2.png 
    113 /importer:TextureImporter 
    114 /processor:TextureProcessor 
    115 /processorParam:ColorKeyColor=255,0,255,255 
    116 /processorParam:ColorKeyEnabled=True 
    117 /processorParam:GenerateMipmaps=False 
    118 /processorParam:PremultiplyAlpha=True 
    119 /processorParam:ResizeToPowerOfTwo=False 
    120 /processorParam:MakeSquare=False 
    121 /processorParam:TextureFormat=Color 
    122 /build:kaktus2.png 
    123  
    124292#begin hyena.png 
    125293/importer:TextureImporter 
     
    134302/build:hyena.png 
    135303 
    136 #begin pÀÀhenkilö kÀvelee1.png 
    137 /importer:TextureImporter 
    138 /processor:TextureProcessor 
    139 /processorParam:ColorKeyColor=255,0,255,255 
    140 /processorParam:ColorKeyEnabled=True 
    141 /processorParam:GenerateMipmaps=False 
    142 /processorParam:PremultiplyAlpha=True 
    143 /processorParam:ResizeToPowerOfTwo=False 
    144 /processorParam:MakeSquare=False 
    145 /processorParam:TextureFormat=Color 
    146 /build:pÀÀhenkilö kÀvelee1.png 
    147  
    148 #begin pÀÀhenkilö kÀvelee3.png 
    149 /importer:TextureImporter 
    150 /processor:TextureProcessor 
    151 /processorParam:ColorKeyColor=255,0,255,255 
    152 /processorParam:ColorKeyEnabled=True 
    153 /processorParam:GenerateMipmaps=False 
    154 /processorParam:PremultiplyAlpha=True 
    155 /processorParam:ResizeToPowerOfTwo=False 
    156 /processorParam:MakeSquare=False 
    157 /processorParam:TextureFormat=Color 
    158 /build:pÀÀhenkilö kÀvelee3.png 
    159  
    160 #begin PÀÀhenkilö seisomassa.png 
    161 /importer:TextureImporter 
    162 /processor:TextureProcessor 
    163 /processorParam:ColorKeyColor=255,0,255,255 
    164 /processorParam:ColorKeyEnabled=True 
    165 /processorParam:GenerateMipmaps=False 
    166 /processorParam:PremultiplyAlpha=True 
    167 /processorParam:ResizeToPowerOfTwo=False 
    168 /processorParam:MakeSquare=False 
    169 /processorParam:TextureFormat=Color 
    170 /build:PÀÀhenkilö seisomassa.png 
    171  
    172 #begin pÀÀhenkilö kÀvelee2.png 
    173 /importer:TextureImporter 
    174 /processor:TextureProcessor 
    175 /processorParam:ColorKeyColor=255,0,255,255 
    176 /processorParam:ColorKeyEnabled=True 
    177 /processorParam:GenerateMipmaps=False 
    178 /processorParam:PremultiplyAlpha=True 
    179 /processorParam:ResizeToPowerOfTwo=False 
    180 /processorParam:MakeSquare=False 
    181 /processorParam:TextureFormat=Color 
    182 /build:pÀÀhenkilö kÀvelee2.png 
    183  
    184 #begin pÀÀhenkilö kÀvelee4.png 
    185 /importer:TextureImporter 
    186 /processor:TextureProcessor 
    187 /processorParam:ColorKeyColor=255,0,255,255 
    188 /processorParam:ColorKeyEnabled=True 
    189 /processorParam:GenerateMipmaps=False 
    190 /processorParam:PremultiplyAlpha=True 
    191 /processorParam:ResizeToPowerOfTwo=False 
    192 /processorParam:MakeSquare=False 
    193 /processorParam:TextureFormat=Color 
    194 /build:pÀÀhenkilö kÀvelee4.png 
    195  
    196 #begin pilvi.png 
    197 /importer:TextureImporter 
    198 /processor:TextureProcessor 
    199 /processorParam:ColorKeyColor=255,0,255,255 
    200 /processorParam:ColorKeyEnabled=True 
    201 /processorParam:GenerateMipmaps=False 
    202 /processorParam:PremultiplyAlpha=True 
    203 /processorParam:ResizeToPowerOfTwo=False 
    204 /processorParam:MakeSquare=False 
    205 /processorParam:TextureFormat=Color 
    206 /build:pilvi.png 
    207  
    208 #begin lentolisko.png 
    209 /importer:TextureImporter 
    210 /processor:TextureProcessor 
    211 /processorParam:ColorKeyColor=255,0,255,255 
    212 /processorParam:ColorKeyEnabled=True 
    213 /processorParam:GenerateMipmaps=False 
    214 /processorParam:PremultiplyAlpha=True 
    215 /processorParam:ResizeToPowerOfTwo=False 
    216 /processorParam:MakeSquare=False 
    217 /processorParam:TextureFormat=Color 
    218 /build:lentolisko.png 
    219  
    220 #begin palikka3.png 
    221 /importer:TextureImporter 
    222 /processor:TextureProcessor 
    223 /processorParam:ColorKeyColor=255,0,255,255 
    224 /processorParam:ColorKeyEnabled=True 
    225 /processorParam:GenerateMipmaps=False 
    226 /processorParam:PremultiplyAlpha=True 
    227 /processorParam:ResizeToPowerOfTwo=False 
    228 /processorParam:MakeSquare=False 
    229 /processorParam:TextureFormat=Color 
    230 /build:palikka3.png 
    231  
     304#begin puu.jpg 
     305/importer:TextureImporter 
     306/processor:TextureProcessor 
     307/processorParam:ColorKeyColor=255,0,255,255 
     308/processorParam:ColorKeyEnabled=True 
     309/processorParam:GenerateMipmaps=False 
     310/processorParam:PremultiplyAlpha=True 
     311/processorParam:ResizeToPowerOfTwo=False 
     312/processorParam:MakeSquare=False 
     313/processorParam:TextureFormat=Color 
     314/build:puu.jpg 
     315 
     316#begin snek.png 
     317/importer:TextureImporter 
     318/processor:TextureProcessor 
     319/processorParam:ColorKeyColor=255,0,255,255 
     320/processorParam:ColorKeyEnabled=True 
     321/processorParam:GenerateMipmaps=False 
     322/processorParam:PremultiplyAlpha=True 
     323/processorParam:ResizeToPowerOfTwo=False 
     324/processorParam:MakeSquare=False 
     325/processorParam:TextureFormat=Color 
     326/build:snek.png 
     327 
     328#begin talo.png 
     329/importer:TextureImporter 
     330/processor:TextureProcessor 
     331/processorParam:ColorKeyColor=255,0,255,255 
     332/processorParam:ColorKeyEnabled=True 
     333/processorParam:GenerateMipmaps=False 
     334/processorParam:PremultiplyAlpha=True 
     335/processorParam:ResizeToPowerOfTwo=False 
     336/processorParam:MakeSquare=False 
     337/processorParam:TextureFormat=Color 
     338/build:talo.png 
     339 
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/Content/kentta1.txt

    r9620 r9661  
    11     
    22        P                    P                             P 
    3                           
    4                          
    5                           
    6                     ##### 
    7                   *II  ##    
    8                   ###      
    9  N   H    * HL  * 
     3                           
     4                           
     5                      /                     * 
     6                 I  ####       *            #               
     7                  *II  ##             I              #                      
     8                  ###                 #     #                              
     9 N     H    * L  *  H #          #I          #  H *         /  B  *  
    1010#################################################################### 
     11#################################################################### 
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/Content/obj/DesktopGL/.mgcontent

    r9620 r9661  
    1919    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/pÀÀhenkilö kÀvelee3.png</File> 
    2020    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/PÀÀhenkilö seisomassa.png</File> 
     21    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/pÀÀhenkilö kÀvelee2.png</File> 
     22    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/pÀÀhenkilö kÀvelee4.png</File> 
     23    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/pilvi.png</File> 
     24    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/lentolisko.png</File> 
     25    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/palikka3.png</File> 
     26    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/bossi seisomassa.png</File> 
     27    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/PÀÀhenkilö ampumassa 2 .png</File> 
     28    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/PÀÀhenkilö ampumassa 1 .png</File> 
     29    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/PÀÀhenkilö ampumassa 3 .png</File> 
     30    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/PÀÀhenkilö ampumassa 4 .png</File> 
     31    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/PÀÀhenkilö ampumassa 5 .png</File> 
    2132  </SourceFiles> 
    2233</SourceFileCollection> 
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/Content/obj/DesktopGL/kentta1.mgcontent

    r9620 r9661  
    22<PipelineBuildEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    33  <SourceFile>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/kentta1.txt</SourceFile> 
    4   <SourceTime>2018-06-06T10:07:25.4879279+03:00</SourceTime> 
     4  <SourceTime>2018-06-07T11:20:13.3006355+03:00</SourceTime> 
    55  <DestFile>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/bin/DesktopGL/kentta1.xnb</DestFile> 
    6   <DestTime>2018-06-06T11:47:44.0811911+03:00</DestTime> 
     6  <DestTime>2018-06-07T11:45:15.574748+03:00</DestTime> 
    77  <Importer>TextFileImporter</Importer> 
    88  <ImporterTime>2018-01-11T19:43:12+02:00</ImporterTime> 
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/Content/obj/Windows/.mgcontent

    r9620 r9661  
    1313    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/palikka.png</File> 
    1414    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/palikka2.png</File> 
    15     <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/kaktus.png</File> 
    1615    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/kaktus2.png</File> 
    17     <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/hyena.png</File> 
    1816    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/pÀÀhenkilö kÀvelee1.png</File> 
    1917    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/pÀÀhenkilö kÀvelee3.png</File> 
     
    2422    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/lentolisko.png</File> 
    2523    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/palikka3.png</File> 
     24    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/bossi seisomassa.png</File> 
     25    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/P1.png</File> 
     26    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/P2.png</File> 
     27    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/P3.png</File> 
     28    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/P4.png</File> 
     29    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/P5.png</File> 
     30    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/kaktus.png</File> 
     31    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/hyena.png</File> 
     32    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/puu.jpg</File> 
     33    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/snek.png</File> 
     34    <File>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/talo.png</File> 
    2635  </SourceFiles> 
    2736</SourceFileCollection> 
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/Content/obj/Windows/hyena.mgcontent

    r9620 r9661  
    22<PipelineBuildEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    33  <SourceFile>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/hyena.png</SourceFile> 
    4   <SourceTime>2018-06-06T10:11:51.9038327+03:00</SourceTime> 
     4  <SourceTime>2018-06-07T13:27:16.18732+03:00</SourceTime> 
    55  <DestFile>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/bin/Windows/hyena.xnb</DestFile> 
    6   <DestTime>2018-06-06T10:12:33.8641924+03:00</DestTime> 
     6  <DestTime>2018-06-07T13:30:06.3877967+03:00</DestTime> 
    77  <Importer>TextureImporter</Importer> 
    88  <ImporterTime>2017-03-01T17:05:36+02:00</ImporterTime> 
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/Content/obj/Windows/kaktus.mgcontent

    r9578 r9661  
    22<PipelineBuildEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    33  <SourceFile>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/kaktus.png</SourceFile> 
    4   <SourceTime>2018-06-05T14:31:38.0385718+03:00</SourceTime> 
     4  <SourceTime>2018-06-07T13:28:35.0415501+03:00</SourceTime> 
    55  <DestFile>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/bin/Windows/kaktus.xnb</DestFile> 
    6   <DestTime>2018-06-05T14:33:15.7963574+03:00</DestTime> 
     6  <DestTime>2018-06-07T13:30:06.3538006+03:00</DestTime> 
    77  <Importer>TextureImporter</Importer> 
    88  <ImporterTime>2017-03-01T17:05:36+02:00</ImporterTime> 
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/Content/obj/Windows/kentta1.mgcontent

    r9620 r9661  
    22<PipelineBuildEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    33  <SourceFile>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/kentta1.txt</SourceFile> 
    4   <SourceTime>2018-06-06T14:01:18.5448076+03:00</SourceTime> 
     4  <SourceTime>2018-06-07T14:38:01.1152257+03:00</SourceTime> 
    55  <DestFile>C:/MyTemp/EETI LINJAMA/omapeli/peli/Omapeli/Omapeli/Content/bin/Windows/kentta1.xnb</DestFile> 
    6   <DestTime>2018-06-06T14:01:19.094257+03:00</DestTime> 
     6  <DestTime>2018-06-07T14:38:01.6332263+03:00</DestTime> 
    77  <Importer>TextFileImporter</Importer> 
    88  <ImporterTime>2018-01-11T19:43:12+02:00</ImporterTime> 
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/Omapeli.cs

    r9620 r9661  
    88public class Omapeli : PhysicsGame 
    99{ 
    10  
     10    AssaultRifle pelaajan1Ase; 
     11 
     12    private Image[] pelaaja1ampuu = LoadImages("P1", "P2", "P3", "P4", "P5"); 
    1113    private Image[] pelaaja1liikkuu = LoadImages("päähenkilö kävelee1", "päähenkilö kävelee2", "päähenkilö kävelee3", "päähenkilö kävelee4"); 
    1214 
     
    2123    Image taustaKuva = LoadImage("taustakuva"); 
    2224 
    23      
     25    IntMeter pistelaskuri; 
    2426 
    2527    SoundEffect maaliAani = LoadSoundEffect("maali"); 
     
    2931 
    3032        aloitapeli(); 
     33        LuoPistelaskuri(); 
     34    } 
     35    void AmmusOsui(PhysicsObject ammus, PhysicsObject pablo) 
     36    { 
     37        ammus.Destroy(); 
     38        pablo.Destroy(); 
     39        Explosion rajahdys = new Explosion(100000); 
     40        rajahdys.Position = pablo.Position; 
     41        Add(rajahdys); 
     42        rajahdys.Speed = 1000; 
     43        rajahdys.Force = 10000; 
     44    } 
     45    void AmmuAseella(AssaultRifle ase) 
     46    { 
     47        if (pelaajan1Ase == null) return; 
     48        pelaajan1Ase.Angle = pelaaja1.FacingDirection.Angle; 
     49        pelaaja1.PlayAnimation(new Animation(pelaaja1ampuu), () => pelaajan1Ase.Shoot()); 
     50        pelaaja1.Animation.FPS = 10; 
     51 
    3152    } 
    3253    void aloitapeli() 
     
    3657        LuoKentta(); 
    3758        LisaaNappaimet(); 
     59        LuoPistelaskuri(); 
    3860 
    3961        Level.Background.Image = taustaKuva; 
     
    4163        Camera.ZoomFactor = 1.2; 
    4264        Camera.StayInLevel = true; 
     65 
    4366    } 
    4467 
     
    5376        kentta.SetTileMethod('H', LisaaHyena); 
    5477        kentta.SetTileMethod('P', Lisaalentolisko); 
    55         kentta.SetTileMethod('¤', Lisaapalikka3); 
     78        kentta.SetTileMethod('/', Lisaakäärme); 
     79        kentta.SetTileMethod('B', Lisaapablo); 
     80        kentta.SetTileMethod('T', Lisaatalo); 
    5681        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    5782        Level.CreateBorders(); 
     
    6590        taso.Color = Color.Green; 
    6691        Add(taso); 
    67         taso.Image = LoadImage("palikka2"); 
     92        taso.Image = LoadImage("puu"); 
    6893    } 
    6994 
     
    88113        AddCollisionHandler(pelaaja1, "kaktus", TormaaKaktukseen); 
    89114        AddCollisionHandler(pelaaja1, "hyena", TormaaHyenaan); 
     115        AddCollisionHandler(pelaaja1, "pablo", TormaaPabloon); 
     116        AddCollisionHandler(pelaaja1, "käärme", Tormaakäärmeeseen); 
    90117        Add(pelaaja1); 
    91118        pelaaja1.AnimWalk = new Animation(pelaaja1liikkuu); 
     
    95122    void LisaaKaktus1(Vector paikka, double leveys, double korkeus) 
    96123    { 
    97         PhysicsObject kaktus = PhysicsObject.CreateStaticObject(leveys, korkeus); 
     124        PhysicsObject kaktus = PhysicsObject.CreateStaticObject(leveys, korkeus*1.2); 
    98125        kaktus.IgnoresCollisionResponse = true; 
    99126        kaktus.Position = paikka; 
     
    111138        kaktus2.Tag = "kaktus1"; 
    112139    } 
     140    void Lisaapablo(Vector paikka, double leveys, double korkeus) 
     141    { 
     142        PhysicsObject pablo = PhysicsObject.CreateStaticObject(leveys, korkeus*2); 
     143        pablo.IgnoresCollisionResponse = true; 
     144        pablo.Position = paikka; 
     145        Add(pablo); 
     146        pablo.Image = LoadImage("bossi seisomassa"); 
     147        pablo.Tag = "pablo"; 
     148    } 
     149    void Lisaakäärme(Vector paikka, double leveys, double korkeus) 
     150    { 
     151        PhysicsObject käärme = PhysicsObject.CreateStaticObject(leveys*1, korkeus* 1.5); 
     152        käärme.IgnoresCollisionResponse = true; 
     153        käärme.Position = paikka; 
     154        Add(käärme); 
     155        käärme.Image = LoadImage("snek"); 
     156        käärme.Tag = "käärme"; 
     157    } 
     158    void Lisaatalo(Vector paikka, double leveys, double korkeus) 
     159    { 
     160        PhysicsObject talo = PhysicsObject.CreateStaticObject(leveys * 2.5, korkeus * 5); 
     161        talo.IgnoresCollisionResponse = true; 
     162        talo.Position = paikka; 
     163        Add(talo,-1); 
     164        talo.Image = LoadImage("talo"); 
     165        talo.Tag = "talo"; 
     166    } 
     167 
    113168    void LisaaHyena(Vector paikka, double leveys, double korkeus) 
    114169    { 
    115         PhysicsObject hyena = PhysicsObject.CreateStaticObject(leveys*2, korkeus*2); 
     170        PhysicsObject hyena = new PhysicsObject(leveys*1.2, korkeus*1); 
     171        hyena.IgnoresGravity = true; 
    116172        hyena.IgnoresCollisionResponse = true; 
    117173        hyena.Position = paikka; 
     
    121177        PathFollowerBrain tasoAivot = new PathFollowerBrain(); 
    122178        List<Vector> polku = new List<Vector>(); 
    123         polku.Add(new Vector(paikka.X - 20, paikka.Y)); 
    124         polku.Add(new Vector(paikka.X + 20, paikka.Y)); 
     179        polku.Add(new Vector(paikka.X - 50, paikka.Y)); 
     180        polku.Add(new Vector(paikka.X + 50, paikka.Y)); 
    125181        tasoAivot.Path = polku; 
    126182        tasoAivot.Active = true; 
     
    154210        palikka3.Image = LoadImage("palikka3"); 
    155211        palikka3.Tag = "palikka3"; 
    156    
     212     
    157213    } 
    158214        void LisaaNappaimet() 
     
    165221        Keyboard.Listen(Key.Up, ButtonState.Pressed, Hyppaa, "Pelaaja hyppää", pelaaja1, hyppyNopeus); 
    166222        Keyboard.Listen(Key.R, ButtonState.Pressed, AloitaAlusta, "peli alkaa alusta"); 
     223        Keyboard.Listen(Key.Space, ButtonState.Down, AmmuAseella, "Ammu", pelaajan1Ase); 
    167224        ControllerOne.Listen(Button.Back, ButtonState.Pressed, Exit, "Poistu pelistä"); 
    168225 
     
    185242        hahmo.Jump(nopeus); 
    186243    } 
    187  
     244    void AmmuAseella() 
     245    { 
     246 
     247    } 
    188248    void TormaaTahteen(PhysicsObject hahmo, PhysicsObject tahti) 
    189249    { 
     
    191251        MessageDisplay.Add("SAIT AMMUKSEN!"); 
    192252        tahti.Destroy(); 
     253        pistelaskuri.AddValue(1); 
    193254    } 
    194255    void TormaaKaktukseen(PhysicsObject hahmo, PhysicsObject kaktus) 
     
    210271        MessageDisplay.Add("KUOLIT!"); 
    211272    } 
    212     void AloitaAlusta() 
     273    void Tormaakäärmeeseen(PhysicsObject hahmo, PhysicsObject pablo) 
     274    { 
     275        pelaaja1.Destroy(); 
     276        maaliAani.Play(); 
     277        MessageDisplay.Add("KUOLIT!"); 
     278    } 
     279        void TormaaPabloon(PhysicsObject hahmo, PhysicsObject snek) 
     280        { 
     281            pelaaja1.Destroy(); 
     282            maaliAani.Play(); 
     283            MessageDisplay.Add("KUOLIT!"); 
     284        } 
     285        void AloitaAlusta() 
    213286    { 
    214287        ClearAll(); 
    215288        aloitapeli(); 
    216289    } 
     290 
     291    void LuoPistelaskuri() 
     292    { 
     293        pistelaskuri = new IntMeter(0); 
     294 
     295        Label pisteNaytto = new Label(); 
     296        pisteNaytto.X = Screen.Left + 500; 
     297        pisteNaytto.Y = Screen.Top - 20; 
     298        pisteNaytto.TextColor = Color.Black; 
     299        pisteNaytto.Color = Color.White; 
     300 
     301        pisteNaytto.BindTo(pistelaskuri); 
     302        Add(pisteNaytto); 
     303        pisteNaytto.Title = "Ammukset"; 
     304        //pistelaskuri.Value += 1; 
     305        //IntMeter keratytEsineet = new IntMeter(0); 
     306        pistelaskuri.MaxValue = 7; 
     307        pistelaskuri.UpperLimit += KaikkiKeratty; 
     308    } 
     309    void KaikkiKeratty() 
     310    { 
     311        pelaajan1Ase = new AssaultRifle(30, 10); 
     312 
     313        pelaajan1Ase.Ammo.Value = 1000; 
     314        pelaajan1Ase.IsVisible = false; 
     315        pelaajan1Ase.ProjectileCollision = AmmusOsui; 
     316 
     317        pelaaja1.Add(pelaajan1Ase); 
     318    } 
    217319} 
  • 2018/23/EETIL/omapeli/peli/Omapeli/Omapeli/obj/x86/Debug/Omapeli.csproj.FileListAbsolute.txt

    r9620 r9661  
    4646C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\lentolisko.xnb 
    4747C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\palikka3.xnb 
     48C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\bossi seisomassa.xnb 
     49C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\P1.xnb 
     50C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\P2.xnb 
     51C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\P3.xnb 
     52C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\P4.xnb 
     53C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\P5.xnb 
     54C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\puu.xnb 
     55C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\snek.xnb 
     56C:\MyTemp\EETI LINJAMA\omapeli\peli\Omapeli\Omapeli\bin\Windows\Debug\Content\talo.xnb 
Note: See TracChangeset for help on using the changeset viewer.