- Timestamp:
- 2019-06-14 12:56:55 (3 years ago)
- Location:
- 2016/27/PaavoH
- Files:
-
- 272 added
- 6 deleted
- 57 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/27/PaavoH/Adventure/Adventure/Adventure/bin/x86/Debug/Jypeli.xml
r9512 r10141 125 125 <param name="width">Leveyden muutos</param> 126 126 <param name="height">Korkeuden muutos</param> 127 <returns></returns> 128 </member> 129 <member name="M:Jypeli.Assets.CollisionHandler.SetColor(Jypeli.Color)"> 130 <summary> 131 Vaihtaa törmÀÀvÀn olion vÀriÀ. 132 </summary> 133 <param name="color">VÀri</param> 134 <returns></returns> 135 </member> 136 <member name="M:Jypeli.Assets.CollisionHandler.SetTargetColor(Jypeli.Color)"> 137 <summary> 138 Vaihtaa törmÀyskohteen vÀriÀ. 139 </summary> 140 <param name="color">VÀri</param> 141 <returns></returns> 142 </member> 143 <member name="M:Jypeli.Assets.CollisionHandler.SetRandomColor(Jypeli.PhysicsObject,Jypeli.PhysicsObject)"> 144 <summary> 145 Vaihtaa törmÀÀvÀn olion vÀrin satunnaiseen. 146 </summary> 147 <param name="collidingObject"></param> 148 <param name="targetObject"></param> 149 </member> 150 <member name="M:Jypeli.Assets.CollisionHandler.SetRandomTargetColor(Jypeli.PhysicsObject,Jypeli.PhysicsObject)"> 151 <summary> 152 Vaihtaa törmÀyskohteen vÀrin satunnaiseen. 153 </summary> 154 <param name="collidingObject"></param> 155 <param name="targetObject"></param> 127 156 <returns></returns> 128 157 </member> … … 408 437 </summary> 409 438 </member> 439 <member name="P:Jypeli.GameObjects.GameObjectBase.AbsLeft"> 440 <summary> 441 Olion vasemman reunan absoluuttinen x-koordinaatti. 442 </summary> 443 </member> 444 <member name="P:Jypeli.GameObjects.GameObjectBase.AbsRight"> 445 <summary> 446 Olion oikean reunan absoluuttinen x-koordinaatti. 447 </summary> 448 </member> 449 <member name="P:Jypeli.GameObjects.GameObjectBase.AbsTop"> 450 <summary> 451 Olion ylÀreunan absoluuttinen y-koordinaatti. 452 </summary> 453 </member> 454 <member name="P:Jypeli.GameObjects.GameObjectBase.AbsBottom"> 455 <summary> 456 Olion alareunan absoluuttinen y-koordinaatti. 457 </summary> 458 </member> 410 459 <member name="P:Jypeli.GameObjects.GameObjectBase.X"> 411 460 <summary> … … 1882 1931 </summary> 1883 1932 </member> 1933 <member name="T:Jypeli.Dimensional"> 1934 <summary> 1935 Olio jolla on reunat. 1936 </summary> 1937 </member> 1938 <member name="P:Jypeli.Dimensional.Left"> 1939 <summary> 1940 Vasen reuna. 1941 </summary> 1942 </member> 1943 <member name="P:Jypeli.Dimensional.Right"> 1944 <summary> 1945 Oikea reuna. 1946 </summary> 1947 </member> 1948 <member name="P:Jypeli.Dimensional.Top"> 1949 <summary> 1950 YlÀreuna. 1951 </summary> 1952 </member> 1953 <member name="P:Jypeli.Dimensional.Bottom"> 1954 <summary> 1955 Alareuna. 1956 </summary> 1957 </member> 1958 <member name="P:Jypeli.Dimensional.Size"> 1959 <summary> 1960 Koko. 1961 </summary> 1962 </member> 1963 <member name="P:Jypeli.Dimensional.Width"> 1964 <summary> 1965 Leveys. 1966 </summary> 1967 </member> 1968 <member name="P:Jypeli.Dimensional.Height"> 1969 <summary> 1970 Korkeus. 1971 </summary> 1972 </member> 1973 <member name="T:Jypeli.DimensionalRW"> 1974 <summary> 1975 Olio jolla on reunat joita voi muuttaa. 1976 </summary> 1977 </member> 1978 <member name="P:Jypeli.DimensionalRW.Left"> 1979 <summary> 1980 Vasen reuna. 1981 </summary> 1982 </member> 1983 <member name="P:Jypeli.DimensionalRW.Right"> 1984 <summary> 1985 Oikea reuna. 1986 </summary> 1987 </member> 1988 <member name="P:Jypeli.DimensionalRW.Top"> 1989 <summary> 1990 YlÀreuna. 1991 </summary> 1992 </member> 1993 <member name="P:Jypeli.DimensionalRW.Bottom"> 1994 <summary> 1995 Alareuna. 1996 </summary> 1997 </member> 1998 <member name="P:Jypeli.DimensionalRW.Size"> 1999 <summary> 2000 Koko. 2001 </summary> 2002 </member> 2003 <member name="P:Jypeli.DimensionalRW.Width"> 2004 <summary> 2005 Leveys. 2006 </summary> 2007 </member> 2008 <member name="P:Jypeli.DimensionalRW.Height"> 2009 <summary> 2010 Korkeus. 2011 </summary> 2012 </member> 1884 2013 <member name="T:Jypeli.INotifyList`1"> 1885 2014 <summary> … … 2579 2708 <summary> 2580 2709 Peliluokka reaaliaikaisille peleille. 2710 </summary> 2711 </member> 2712 <member name="M:Jypeli.Game.AddCustomHandler(System.Func{System.Boolean},System.Action)"> 2713 <summary> 2714 LisÀÀ vapaamuotoisen tapahtumankÀsittelijÀn. 2715 </summary> 2716 <param name="condition">Ehto josta tapahtuma laukeaa.</param> 2717 <param name="handler">Kutsuttava funktio.</param> 2718 </member> 2719 <member name="M:Jypeli.Game.AddCustomHandler``1(``0,System.Predicate{``0},System.Action{``0})"> 2720 <summary> 2721 LisÀÀ vapaamuotoisen tapahtumankÀsittelijÀn. 2722 </summary> 2723 <typeparam name="T">Olion tyyppi.</typeparam> 2724 <param name="obj">Olio, jota tapahtuma koskee.</param> 2725 <param name="condition">Ehto josta tapahtuma laukeaa.</param> 2726 <param name="handler">Kutsuttava funktio.</param> 2727 <returns></returns> 2728 </member> 2729 <member name="M:Jypeli.Game.AddCustomHandler``2(``0,``1,System.Func{``0,``1,System.Boolean},System.Action{``0,``1})"> 2730 <summary> 2731 LisÀÀ vapaamuotoisen tapahtumankÀsittelijÀn. 2732 </summary> 2733 <typeparam name="T1">Olion 1 tyyppi.</typeparam> 2734 <typeparam name="T2">Olion 2 tyyppi.</typeparam> 2735 <param name="obj1">EnsimmÀinen olio, jota tapahtuma koskee.</param> 2736 <param name="obj2">Toinen olio, jota tapahtuma koskee.</param> 2737 <param name="condition">Ehto josta tapahtuma laukeaa.</param> 2738 <param name="handler">Kutsuttava funktio.</param> 2739 <returns></returns> 2740 </member> 2741 <member name="M:Jypeli.Game.AddCustomHandler``3(``0,``1,``2,System.Func{``0,``1,``2,System.Boolean},System.Action{``0,``1,``2})"> 2742 <summary> 2743 LisÀÀ vapaamuotoisen tapahtumankÀsittelijÀn. 2744 </summary> 2745 <typeparam name="T1">Olion 1 tyyppi.</typeparam> 2746 <typeparam name="T2">Olion 2 tyyppi.</typeparam> 2747 <typeparam name="T3">Olion 3 tyyppi.</typeparam> 2748 <param name="obj1">EnsimmÀinen olio, jota tapahtuma koskee.</param> 2749 <param name="obj2">Toinen olio, jota tapahtuma koskee.</param> 2750 <param name="obj3">Kolmas olio, jota tapahtuma koskee.</param> 2751 <param name="condition">Ehto josta tapahtuma laukeaa.</param> 2752 <param name="handler">Kutsuttava funktio.</param> 2753 <returns></returns> 2754 </member> 2755 <member name="M:Jypeli.Game.UpdateHandlers(Jypeli.Time)"> 2756 <summary> 2757 Kutsuu tapahtumankÀsittelijöitÀ. 2581 2758 </summary> 2582 2759 </member> … … 2991 3168 <param name="name">Fontin tiedoston nimi, ilman pÀÀtettÀ.</param> 2992 3169 </member> 3170 <member name="P:Jypeli.Game.DebugLayer"> 3171 <summary> 3172 Debug-ruutukerros, joka nÀkyy kun painetaan F12. 3173 Voit lisÀtÀ olioita myös tÀlle kerrokselle. 3174 </summary> 3175 </member> 3176 <member name="P:Jypeli.Game.DebugKeyEnabled"> 3177 <summary> 3178 Debug-ruutu F12-nÀppÀimestÀ pÀÀllÀ / pois. 3179 </summary> 3180 </member> 3181 <member name="P:Jypeli.Game.DebugScreenVisible"> 3182 <summary> 3183 Debug-ruutu nÀkyvissÀ / pois. 3184 </summary> 3185 </member> 3186 <member name="P:Jypeli.Game.FPSWindow"> 3187 <summary> 3188 FPS-ikkuna. 3189 </summary> 3190 </member> 3191 <member name="P:Jypeli.Game.FPSDisplay"> 3192 <summary> 3193 FPS-nÀyttö. 3194 </summary> 3195 </member> 3196 <member name="P:Jypeli.Game.LayerWindow"> 3197 <summary> 3198 "Layers"-ikkuna. Huom. asettaa kokonsa automaattisesti. 3199 </summary> 3200 </member> 3201 <member name="P:Jypeli.Game.LayerDisplay"> 3202 <summary> 3203 "Layers"-nÀyttö. 3204 </summary> 3205 </member> 2993 3206 <member name="P:Jypeli.Game.IsPaused"> 2994 3207 <summary> … … 3195 3408 <summary> 3196 3409 Mediasoitin. 3410 </summary> 3411 </member> 3412 <member name="T:Jypeli.Game.CustomEventHandler"> 3413 <summary> 3414 Vapaamuotoinen tapahtumankÀsittelijÀ. 3415 </summary> 3416 </member> 3417 <member name="M:Jypeli.Game.CustomEventHandler.#ctor(System.Func{System.Boolean},System.Action)"> 3418 <summary> 3419 Luo uuden tapahtumankÀsittelijÀn. 3420 </summary> 3421 <param name="condition">Ehto</param> 3422 <param name="handler">KÀsittelijÀ</param> 3423 </member> 3424 <member name="M:Jypeli.Game.CustomEventHandler.Destroy"> 3425 <summary> 3426 Tuhoaa tapahtumankÀsittelijÀn. 3427 </summary> 3428 </member> 3429 <member name="M:Jypeli.Game.CustomEventHandler.Update(Jypeli.Time)"> 3430 <summary> 3431 PÀivittÀÀ tapahtumankÀsittelijÀÀ (Jypeli kutsuu) 3432 </summary> 3433 <param name="time"></param> 3434 </member> 3435 <member name="P:Jypeli.Game.CustomEventHandler.IsDestroyed"> 3436 <summary> 3437 Onko kÀsittelijÀ tuhottu. 3438 </summary> 3439 </member> 3440 <member name="P:Jypeli.Game.CustomEventHandler.IsUpdated"> 3441 <summary> 3442 PÀivitetÀÀnkö. 3443 </summary> 3444 </member> 3445 <member name="E:Jypeli.Game.CustomEventHandler.Destroyed"> 3446 <summary> 3447 Tapahtuu, kun tapahtumankÀsittelijÀ tuhotaan. 3197 3448 </summary> 3198 3449 </member> … … 3356 3607 <param name="obj">TörmÀÀvÀ olio.</param> 3357 3608 <param name="tag">TörmÀttÀvÀn olion tagi.</param> 3358 <param name="handler">Metodi, joka kÀsittelee törmÀyksen (ei parametreja).</param>3359 </member>3360 <member name="M:Jypeli.PhysicsGameBase.AddCollisionHandler(Jypeli.PhysicsObject,System.Object,Jypeli.CollisionHandler{Jypeli.PhysicsObject,Jypeli.PhysicsStructure})">3361 <summary>3362 MÀÀrÀÀ, mihin aliohjelmaan siirrytÀÀn kun3363 fysiikkaolio <code>obj</code> törmÀÀ fysiikkarakenteeseen, jolla on tietty tagi <code>tag</code>.3364 </summary>3365 <param name="obj">TörmÀÀvÀ olio.</param>3366 <param name="tag">TörmÀttÀvÀn olion tagi.</param>3367 <param name="handler">Metodi, joka kÀsittelee törmÀyksen (ei parametreja).</param>3368 </member>3369 <member name="M:Jypeli.PhysicsGameBase.AddCollisionHandler(Jypeli.PhysicsStructure,System.Object,Jypeli.CollisionHandler{Jypeli.PhysicsStructure,Jypeli.PhysicsObject})">3370 <summary>3371 MÀÀrÀÀ, mihin aliohjelmaan siirrytÀÀn kun3372 fysiikkarakenne <code>obj</code> törmÀÀ fysiikkaolioon, jolla on tietty tagi <code>tag</code>.3373 </summary>3374 <param name="obj">TörmÀÀvÀ rakenne.</param>3375 <param name="tag">TörmÀttÀvÀn olion tagi.</param>3376 <param name="handler">Metodi, joka kÀsittelee törmÀyksen (ei parametreja).</param>3377 </member>3378 <member name="M:Jypeli.PhysicsGameBase.AddCollisionHandler(Jypeli.PhysicsStructure,System.Object,Jypeli.CollisionHandler{Jypeli.PhysicsStructure,Jypeli.PhysicsStructure})">3379 <summary>3380 MÀÀrÀÀ, mihin aliohjelmaan siirrytÀÀn kun3381 fysiikkarakenne <code>obj</code> törmÀÀ toiseen fysiikarakenteeseen, jolla on tietty tagi <code>tag</code>.3382 </summary>3383 <param name="obj">TörmÀÀvÀ rakenne.</param>3384 <param name="tag">TörmÀttÀvÀn rakenteen tagi.</param>3385 3609 <param name="handler">Metodi, joka kÀsittelee törmÀyksen (ei parametreja).</param> 3386 3610 </member> … … 3588 3812 </summary> 3589 3813 </member> 3814 <member name="M:Jypeli.JypeliWindow.CenterOnScreen"> 3815 <summary> 3816 KeskittÀÀ pelin ruudulle. 3817 </summary> 3818 </member> 3590 3819 <member name="E:Jypeli.JypeliWindow.ClientSizeChanged"> 3591 3820 <summary> … … 3616 3845 <summary> 3617 3846 Tapahtuu kun ikkunaa siirretÀÀn. 3847 </summary> 3848 </member> 3849 <member name="E:Jypeli.JypeliWindow.Resizing"> 3850 <summary> 3851 Tapahtuu kun ikkunan kokoa ollaan muuttamassa. 3618 3852 </summary> 3619 3853 </member> … … 4405 4639 Hyödyllinen esimerkiksi ympyrÀn kaarien kÀsittelyssÀ. 4406 4640 </summary> 4407 <returns> ]0,2pi]</returns>4641 <returns>[0,2pi[</returns> 4408 4642 </member> 4409 4643 <member name="M:Jypeli.Angle.GetPositiveDegrees"> … … 4412 4646 Hyödyllinen esimerkiksi ympyrÀn kaarien kÀsittelyssÀ. 4413 4647 </summary> 4414 <returns> ]0,360]</returns>4648 <returns>[0,360[</returns> 4415 4649 </member> 4416 4650 <member name="M:Jypeli.Angle.ArcSin(System.Double)"> … … 5480 5714 <param name="y2">Loppupisteen y-koordinaatti</param> 5481 5715 </member> 5716 <member name="M:Jypeli.Canvas.DrawImage(Jypeli.Vector,Jypeli.Image,Jypeli.Vector,Jypeli.Angle)"> 5717 <summary> 5718 PiirtÀÀ kuvan. 5719 </summary> 5720 <param name="point">Koordinaatti johon piirretÀÀn</param> 5721 <param name="image">Kuva</param> 5722 <param name="scale">Skaalaus (1x1 normaalikoko)</param> 5723 <param name="angle">Kiertokulma</param> 5724 </member> 5725 <member name="M:Jypeli.Canvas.DrawImage(Jypeli.Vector,Jypeli.Image)"> 5726 <summary> 5727 PiirtÀÀ kuvan. 5728 </summary> 5729 <param name="point">Koordinaatti johon piirretÀÀn</param> 5730 <param name="image">Kuva</param> 5731 </member> 5482 5732 <member name="P:Jypeli.Canvas.Left"> 5483 5733 <summary> … … 5698 5948 <param name="howMuch">Kuinka paljon vaaleampi.</param> 5699 5949 <returns>Vaaleampi vÀri.</returns> 5950 </member> 5951 <member name="M:Jypeli.Color.Mix(Jypeli.Color[])"> 5952 <summary> 5953 Sekoittaa kahta tai useampaa vÀriÀ. 5954 </summary> 5955 <param name="colors">VÀrit parametreina.</param> 5956 <returns>Sekoitettu vÀri</returns> 5700 5957 </member> 5701 5958 <member name="F:Jypeli.Color.AshGray"> … … 6319 6576 Luo pystysuuntaisen liukuvÀritetyn kuvan. 6320 6577 </summary> 6321 <param name="imageWidth"> kuvan leveys.</param>6322 <param name="imageHeight"> kuvan korkeus.</param>6578 <param name="imageWidth">Kuvan leveys.</param> 6579 <param name="imageHeight">Kuvan korkeus.</param> 6323 6580 <param name="lowerColor">Alareunassa kÀytettÀvÀ vÀri.</param> 6324 6581 <param name="upperColor">YlÀreunassa kÀytettÀvÀ vÀri.</param> … … 11054 11311 </summary> 11055 11312 </member> 11313 <member name="P:Jypeli.Assets.PathFollowerBrain.NextWaypointIndex"> 11314 <summary> 11315 Seuraavan pisteen indeksi. 11316 </summary> 11317 </member> 11318 <member name="P:Jypeli.Assets.PathFollowerBrain.NextWaypoint"> 11319 <summary> 11320 Seuraavan pisteen paikka. 11321 </summary> 11322 </member> 11323 <member name="P:Jypeli.Assets.PathFollowerBrain.Step"> 11324 <summary> 11325 Askel (listassa). 11326 Seuraavan pisteen indeksi = tÀmÀn pisteen indeksi + askel. 11327 Voi olla myös negatiivinen (mennÀÀn reittiÀ toiseen suuntaan). 11328 </summary> 11329 </member> 11056 11330 <member name="P:Jypeli.Assets.PathFollowerBrain.WaypointRadius"> 11057 11331 <summary> … … 11072 11346 <summary> 11073 11347 Palataanko samaa reittiÀ takaisin. 11348 </summary> 11349 </member> 11350 <member name="E:Jypeli.Assets.PathFollowerBrain.ArrivedAtWaypoint"> 11351 <summary> 11352 Tapahtuu, kun saavutetaan reitin piste. 11074 11353 </summary> 11075 11354 </member> … … 11096 11375 <param name="width">Hahmon leveys</param> 11097 11376 <param name="height">Hahmon korkeus</param> 11377 <param name="shape">Hahmon muoto</param> 11098 11378 </summary> 11099 11379 </member> … … 11561 11841 <summary> 11562 11842 Muuntaa annetun pisteen ruutukoordinaateista maailmankoordinaatteihin 11843 ottaen huomioon oliokerroksen suhteellisen siirtymÀn. 11844 </summary> 11845 </member> 11846 <member name="M:Jypeli.Camera.WorldToScreen(Jypeli.Vector,Jypeli.Layer)"> 11847 <summary> 11848 Muuntaa annetun pisteen maailmankoordinaateista ruutukoordinaatteihin 11563 11849 ottaen huomioon oliokerroksen suhteellisen siirtymÀn. 11564 11850 </summary> … … 13995 14281 </summary> 13996 14282 </member> 13997 <!-- Badly formed XML comment ignored for member "F:Physics2DDotNet.Matrices.ToBodyNormal"-->14283 <!-- JÀsenen F:Physics2DDotNet.Matrices.ToBodyNormal vÀÀrin muodostettu XML-kommentti ohitettiin --> 13998 14284 <member name="T:Physics2DDotNet.PhysicsState"> 13999 14285 <summary> … … 14900 15186 </summary> 14901 15187 </member> 14902 <!-- Badly formed XML comment ignored for member "M:Physics2DDotNet.Shapes.PolygonShape.#ctor(AdvanceMath.Vector2D[],System.Double)"-->15188 <!-- JÀsenen M:Physics2DDotNet.Shapes.PolygonShape.#ctor(AdvanceMath.Vector2D[],System.Double) vÀÀrin muodostettu XML-kommentti ohitettiin --> 14903 15189 <member name="M:Physics2DDotNet.Shapes.PolygonShape.#ctor(AdvanceMath.Vector2D[],System.Double,System.Double)"> 14904 15190 <summary> … … 15109 15395 </summary> 15110 15396 <returns>Satunnainen vÀri</returns> 15397 </member> 15398 <member name="M:Jypeli.RandomGen.NextLightColor"> 15399 <summary> 15400 Palauttaa satunnaisen vaalean vÀrin. 15401 </summary> 15402 <returns>Satunnainen vaalea vÀri</returns> 15403 </member> 15404 <member name="M:Jypeli.RandomGen.NextDarkColor"> 15405 <summary> 15406 Palauttaa satunnaisen tumman vÀrin. 15407 </summary> 15408 <returns>Satunnainen tumma vÀri</returns> 15111 15409 </member> 15112 15410 <member name="M:Jypeli.RandomGen.NextColor(Jypeli.Color,Jypeli.Color)"> -
2016/27/PaavoH/Adventure/Adventure/Adventure/obj/x86/Debug/Adventure.csproj.CoreCompileInputs.cache
r9497 r10141 1 ddc342e0798b5a610ee4f2c2352c26bf737e7a3e 1 48256392974e07c5d61b2e5adf24a1219e0ca8d1 -
2016/27/PaavoH/Adventure/Adventure/Adventure/obj/x86/Debug/Adventure.csproj.FileListAbsolute.txt
r9512 r10141 25 25 C:\MyTemp\PaavoH\Adventure\Adventure\Adventure\bin\x86\Debug\Content\kentta5.xnb 26 26 C:\MyTemp\PaavoH\Adventure\Adventure\Adventure\bin\x86\Debug\Content\kentta6.xnb 27 C:\MyTemp\PaavoH\Adventure\Adventure\Adventure\obj\x86\Debug\Adventure.csproj.CoreCompileInputs.cache -
2016/27/PaavoH/Adventure/Adventure/Adventure/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml
r9512 r10141 179 179 <Assembly> 180 180 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\TextFileContentExtension.dll</Key> 181 <Value>201 5-02-09T20:18:44+02:00</Value>181 <Value>2017-09-15T21:58:06+03:00</Value> 182 182 </Assembly> 183 183 <Assembly> … … 207 207 <Assembly> 208 208 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\AnimationExtension.dll</Key> 209 <Value>201 5-02-17T22:27:18+02:00</Value>209 <Value>2017-09-15T21:58:06+03:00</Value> 210 210 </Assembly> 211 211 <Assembly> 212 212 <Key>C:\WINDOWS\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 213 <Value>201 7-07-12T17:50:56.503647+03:00</Value>213 <Value>2019-04-17T09:00:29.6870245+03:00</Value> 214 214 </Assembly> 215 215 </Assemblies> -
2016/27/PaavoH/Adventure/Adventure/AdventureContent/obj/x86/Debug/AdventureContent.contentproj.FileListAbsolute.txt
r9512 r10141 1 1 C:\MyTemp\PaavoH\Adventure\Adventure\AdventureContent\obj\x86\Debug\AdventureContent.contentprojResolveAssemblyReference.cache 2 C:\MyTemp\PaavoH\Adventure\Adventure\AdventureContent\obj\x86\Debug\AdventureContent.contentproj.CoreCompileInputs.cache -
2016/27/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/BeeHunter.cs
r10077 r10141 19 19 20 20 Image pelaajanKuva = LoadImage("norsu"); 21 Image tahtiKuva = LoadImage("tahti");21 Image CombImage = LoadImage("honeycomb"); 22 22 Image MiniBeeImage = LoadImage("bee"); 23 23 Image MiniBeeImageLeft = LoadImage("bee"); 24 Image BulletImage = LoadImage("bullet"); 25 Image EggImage = LoadImage("egg"); 26 27 private Image[] EggBreakAnim = LoadImages("egg1", "egg2", "egg3", "egg4"); 24 28 //Image MiniBeeImageFlipped; 25 29 … … 43 47 Camera.ZoomFactor = 1.2; 44 48 Camera.StayInLevel = true; 49 50 SmoothTextures = !true; 45 51 46 52 MiniBeeImageLeft = Image.Mirror(MiniBeeImageLeft); … … 94 100 comb.IgnoresCollisionResponse = true; 95 101 comb.Position = pos; 96 comb.Image = tahtiKuva;102 comb.Image = CombImage; 97 103 comb.Tag = "Comb"; 98 104 Add(comb, -3); … … 104 110 egg.CollisionIgnoreGroup = 1; 105 111 egg.Position = pos; 106 //egg.Image = tahtiKuva;112 egg.Image = EggImage; 107 113 egg.Tag = "Egg"; 114 egg.Animation = new Animation(EggBreakAnim); 115 egg.Animation.FPS = 10; 108 116 //AddCollisionHandler(egg, "Bullet", BulletHit); 109 117 Add(egg); … … 197 205 eggplace.IgnoresCollisionResponse = true; 198 206 //eggplace.Mass = 4.0; 207 eggplace.Tag = "EggPlace"; 199 208 eggplace.Color = Color.Transparent; 200 209 AddCollisionHandler(eggplace, "MotherBee", AddEgg); … … 223 232 if (egg.IsDestroyed == false) 224 233 { 225 //egg.Animation.Start(1);234 egg.Animation.Start(); 226 235 egg.Destroy(); 227 236 MiniBee(egg.Position, 40, 40); … … 249 258 lifes.MaxValue = 99; 250 259 lifes.MinValue = 0; 260 lifes.LowerLimit += delegate {player.Destroy(); }; 251 261 252 262 var lifemeter = new GameObject(80, 80); … … 265 275 266 276 lifenumber.BindTo(lifes); 267 Add(lifenumber); 277 Add(lifenumber); 268 278 } 269 279 … … 313 323 PhysicsObject bullet = gun.Shoot(); 314 324 bullet.Tag = "Bullet"; 325 bullet.Image = BulletImage; 315 326 AddCollisionHandler(bullet, BulletHit); 316 327 … … 341 352 { 342 353 //target.Destroy(); 343 bullet.Destroy();344 345 if (target.Tag == "MiniBee" )354 if(target.Tag != "EggPlace") bullet.Destroy(); 355 356 if (target.Tag == "MiniBee" || target.Tag == "MiniBeeEgg" || target.Tag == "MotherBee") 346 357 { 347 358 target.Destroy(); -
2016/27/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/Content.mgcb
r10055 r10141 15 15 #---------------------------------- Content ---------------------------------# 16 16 17 #begin ../../../../kuvat/honeycomb.png 18 /importer:TextureImporter 19 /processor:TextureProcessor 20 /processorParam:ColorKeyColor=255,0,255,255 21 /processorParam:ColorKeyEnabled=True 22 /processorParam:GenerateMipmaps=False 23 /processorParam:PremultiplyAlpha=True 24 /processorParam:ResizeToPowerOfTwo=False 25 /processorParam:MakeSquare=False 26 /processorParam:TextureFormat=Color 27 /build:../../../../kuvat/honeycomb.png;honeycomb.png 28 17 29 #begin bee.png 18 30 /importer:TextureImporter … … 26 38 /processorParam:TextureFormat=Color 27 39 /build:bee.png 40 41 #begin bullet.png 42 /importer:TextureImporter 43 /processor:TextureProcessor 44 /processorParam:ColorKeyColor=255,0,255,255 45 /processorParam:ColorKeyEnabled=True 46 /processorParam:GenerateMipmaps=False 47 /processorParam:PremultiplyAlpha=True 48 /processorParam:ResizeToPowerOfTwo=False 49 /processorParam:MakeSquare=False 50 /processorParam:TextureFormat=Color 51 /build:bullet.png 52 53 #begin Egg.png 54 /importer:TextureImporter 55 /processor:TextureProcessor 56 /processorParam:ColorKeyColor=255,0,255,255 57 /processorParam:ColorKeyEnabled=True 58 /processorParam:GenerateMipmaps=False 59 /processorParam:PremultiplyAlpha=True 60 /processorParam:ResizeToPowerOfTwo=False 61 /processorParam:MakeSquare=False 62 /processorParam:TextureFormat=Color 63 /build:Egg.png 64 65 #begin Egg1.png 66 /importer:TextureImporter 67 /processor:TextureProcessor 68 /processorParam:ColorKeyColor=255,0,255,255 69 /processorParam:ColorKeyEnabled=True 70 /processorParam:GenerateMipmaps=False 71 /processorParam:PremultiplyAlpha=True 72 /processorParam:ResizeToPowerOfTwo=False 73 /processorParam:MakeSquare=False 74 /processorParam:TextureFormat=Color 75 /build:Egg1.png 76 77 #begin Egg2.png 78 /importer:TextureImporter 79 /processor:TextureProcessor 80 /processorParam:ColorKeyColor=255,0,255,255 81 /processorParam:ColorKeyEnabled=True 82 /processorParam:GenerateMipmaps=False 83 /processorParam:PremultiplyAlpha=True 84 /processorParam:ResizeToPowerOfTwo=False 85 /processorParam:MakeSquare=False 86 /processorParam:TextureFormat=Color 87 /build:Egg2.png 88 89 #begin Egg3png.png 90 /importer:TextureImporter 91 /processor:TextureProcessor 92 /processorParam:ColorKeyColor=255,0,255,255 93 /processorParam:ColorKeyEnabled=True 94 /processorParam:GenerateMipmaps=False 95 /processorParam:PremultiplyAlpha=True 96 /processorParam:ResizeToPowerOfTwo=False 97 /processorParam:MakeSquare=False 98 /processorParam:TextureFormat=Color 99 /build:Egg3png.png 100 101 #begin Egg4png.png 102 /importer:TextureImporter 103 /processor:TextureProcessor 104 /processorParam:ColorKeyColor=255,0,255,255 105 /processorParam:ColorKeyEnabled=True 106 /processorParam:GenerateMipmaps=False 107 /processorParam:PremultiplyAlpha=True 108 /processorParam:ResizeToPowerOfTwo=False 109 /processorParam:MakeSquare=False 110 /processorParam:TextureFormat=Color 111 /build:Egg4png.png 112 113 #begin honeycomb.png 114 /importer:TextureImporter 115 /processor:TextureProcessor 116 /processorParam:ColorKeyColor=255,0,255,255 117 /processorParam:ColorKeyEnabled=True 118 /processorParam:GenerateMipmaps=False 119 /processorParam:PremultiplyAlpha=True 120 /processorParam:ResizeToPowerOfTwo=False 121 /processorParam:MakeSquare=False 122 /processorParam:TextureFormat=Color 123 /build:honeycomb.png 28 124 29 125 #begin kentta1.txt … … 55 151 /build:norsu.png 56 152 57 #begin tahti.png58 /importer:TextureImporter59 /processor:TextureProcessor60 /processorParam:ColorKeyColor=255,0,255,25561 /processorParam:ColorKeyEnabled=True62 /processorParam:GenerateMipmaps=False63 /processorParam:PremultiplyAlpha=True64 /processorParam:ResizeToPowerOfTwo=False65 /processorParam:MakeSquare=False66 /processorParam:TextureFormat=Color67 /build:tahti.png68 -
2016/27/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/obj/Windows/.mgcontent
r10055 r10141 5 5 <Config /> 6 6 <SourceFiles> 7 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/../../../../kuvat/honeycomb.png</File> 7 8 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/bee.png</File> 9 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/bullet.png</File> 10 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/Egg.png</File> 11 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/Egg1.png</File> 12 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/Egg2.png</File> 13 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/Egg3png.png</File> 14 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/Egg4png.png</File> 15 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/honeycomb.png</File> 8 16 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/kentta1.txt</File> 9 17 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/maali.wav</File> 10 18 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/MainLevel.txt</File> 11 19 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/norsu.png</File> 12 <File>C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/tahti.png</File>13 20 </SourceFiles> 14 21 <DestFiles> 22 <File>honeycomb.png</File> 23 <File xsi:nil="true" /> 24 <File xsi:nil="true" /> 25 <File xsi:nil="true" /> 26 <File xsi:nil="true" /> 27 <File xsi:nil="true" /> 28 <File xsi:nil="true" /> 15 29 <File xsi:nil="true" /> 16 30 <File xsi:nil="true" /> -
2016/27/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/obj/Windows/.mgstats
r10055 r10141 1 1 Source File,Dest File,Processor Type,Content Type,Source File Size,Dest File Size,Build Seconds 2 "C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/../../../../kuvat/honeycomb.png","C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/bin/Windows/honeycomb.xnb","TextureProcessor","Texture2DContent",685,1109,0,1429141 3 "C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/honeycomb.png","C:/MyTemp/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/Content/bin/Windows/honeycomb.xnb","TextureProcessor","Texture2DContent",714,1173,0,0059965 -
2016/27/PaavoH/BeeHunterMono/BeeHunter/BeeHunter/obj/x86/Debug/BeeHunter.csproj.FileListAbsolute.txt
r10055 r10141 3 3 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\maali.xnb 4 4 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\norsu.xnb 5 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\tahti.xnb6 5 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\BeeHunter.exe 7 6 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\BeeHunter.pdb … … 31 30 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\obj\x86\Debug\BeeHunter.pdb 32 31 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\MainLevel.xnb 32 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\bullet.xnb 33 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\Egg.xnb 34 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\Egg1.xnb 35 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\Egg2.xnb 36 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\Egg3png.xnb 37 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\Egg4png.xnb 38 C:\MyTemp\PaavoH\BeeHunterMono\BeeHunter\BeeHunter\bin\Windows\Debug\Content\honeycomb.xnb -
2016/27/PaavoH/GoldbergMachineSimulator/GoldbergMachineSimulator/GoldbergMachineSimulator/GoldbergMachineSimulator.cs
r10077 r10141 50 50 51 51 }, null); 52 Mouse.Listen( MouseButton.Left, ButtonState.Up, delegate { paalla = false; if(bottle != null)bottle.IgnoresPhysicsLogics = false; }, null); 52 Mouse.Listen( MouseButton.Left, ButtonState.Up, delegate { paalla = false; if(bottle != null)bottle.IgnoresPhysicsLogics = false; bottle = null; }, null); 53 54 //Keyboard.Listen(Key.A, ButtonState.Pressed, irrota, null); 55 } 56 57 void irrota(PhysicsObject collidingObject, PhysicsObject otherObject) 58 { 59 bottle = bottle; 60 if(bottle != null) 61 { 62 SynchronousList<GameObject> lapset = bottle.Objects; 63 foreach(PhysicsObject a in lapset) 64 { 65 PhysicsObject b = a as PhysicsObject; 66 Vector pos = b.AbsolutePosition; 67 bottle.Remove(b); 68 DoNextUpdate(() => Add(b)); 69 b.Position = pos; 70 b.IgnoresPhysicsLogics = false; 71 b.IgnoresCollisionResponse = false; 72 73 } 74 } 53 75 } 54 76 … … 78 100 bottle.Position = (new Vector (0, 0)); 79 101 bottle.Mass = 5; 80 //bottle.CollisionIgnoreGroup = 2;102 bottle.CollisionIgnoreGroup = 2; 81 103 Add(bottle); 82 104 bottle.Tag = "Bottle"; 83 105 84 PhysicsObject cap = new PhysicsObject( 5.0, 2.0);106 PhysicsObject cap = new PhysicsObject(10.0, 5.0); 85 107 cap.Color = Color.Red; 86 cap.Position = (bottle.Position + new Vector(0, 30)); 108 bottle.Add(cap); 109 cap.Position = new Vector(0, 0); 87 110 cap.Mass = 2; 88 //cap.CollisionIgnoreGroup = 2;89 Add (cap);111 cap.CollisionIgnoreGroup = 2; 112 AddCollisionHandler(cap, irrota); 90 113 91 AxleJoint bottlestructure = new AxleJoint(cap, bottle); 92 bottlestructure.Softness = 0; 93 Add(bottlestructure); 114 115 94 116 } 95 117 … … 98 120 if (paalla) 99 121 { 122 100 123 bottle.Position = Mouse.PositionOnWorld; 101 124 } -
2016/27/PaavoH/Safety check/Safety check/Form2.Designer.cs
r9517 r10141 58 58 // label2 59 59 // 60 this.label2.Location = new System.Drawing.Point( 44, 121);60 this.label2.Location = new System.Drawing.Point(63, 112); 61 61 this.label2.Name = "label2"; 62 62 this.label2.Size = new System.Drawing.Size(379, 318); … … 80 80 this.ClientSize = new System.Drawing.Size(497, 567); 81 81 this.ControlBox = false; 82 this.Controls.Add(this.label2); 82 83 this.Controls.Add(this.button1); 83 this.Controls.Add(this.label2);84 84 this.Controls.Add(this.checkBox1); 85 85 this.Controls.Add(this.label1); -
2016/27/PaavoH/Safety check/Safety check/Form3.Designer.cs
r9517 r10141 109 109 this.ShowIcon = false; 110 110 this.Text = "Windows Safety Manager: Log in"; 111 //this.Load += new System.EventHandler(this.Form3_Load); 111 112 this.ResumeLayout(false); 112 113 this.PerformLayout(); -
2016/27/PaavoH/Safety check/Safety check/Form3.cs
r9517 r10141 8 8 using System.Threading.Tasks; 9 9 using System.Windows.Forms; 10 using System.Net; 11 using System.Net.Mail; 10 12 11 13 namespace Safety_check … … 13 15 public partial class Form3 : Form 14 16 { 17 18 //public SmtpClient client = new SmtpClient(); 19 //public MailMessage msg = new MailMessage(); 20 //public System.Net.NetworkCredential smtpCreds = new System.Net.NetworkCredential("paavo.harvola@gmail.com", ""); 21 15 22 public Form3() 16 23 { … … 23 30 } 24 31 25 p rivatevoid button1_Click(object sender, EventArgs e)32 public void button1_Click(object sender, EventArgs e) 26 33 { 27 if (textBox1.Text != "" ||textBox2.Text != "")34 if (textBox1.Text != "" && textBox2.Text != "") 28 35 { 29 36 Form4 editform = new Form4(); 30 37 editform.Show(); 31 38 this.Hide(); 39 //viesti(); 40 32 41 } 42 } 43 void viesti() 44 { 45 MailMessage mail = new MailMessage(); 46 //set the addresses 47 mail.From = new MailAddress("paavo.harvola@gmail.com"); 48 mail.To.Add("ojkoskinen@gmail.com"); 49 //set the content 50 mail.Subject = "This is an email"; 51 mail.Body = "this is the body content of the email."; 52 //send the message 53 SmtpClient smtp = new SmtpClient("stmp.gmail.com",587 ); 54 smtp.UseDefaultCredentials = false; 55 smtp.EnableSsl = true; 56 smtp.DeliveryMethod = SmtpDeliveryMethod.Network; 57 //to authenticate we set the username and password properites on the SmtpClient 58 smtp.Credentials = new NetworkCredential("paavo.harvola@gmail.com", "Pazzikuva");//no need to mention here? 59 60 //mail.Subject = _subject; 61 //mail.Body = Text; 62 mail.IsBodyHtml = false; 63 //smtp.Send(msgMail); 64 mail.Dispose(); 65 smtp.Send(mail); 33 66 } 34 67 } 35 68 } 69 -
2016/27/PaavoH/Safety check/Safety check/Form4.Designer.cs
r9519 r10141 95 95 this.ShowInTaskbar = false; 96 96 this.Text = "Windows Safety Manager: Installing"; 97 this.Load += new System.EventHandler(this.Form4_Load); 97 98 this.ResumeLayout(false); 98 99 this.PerformLayout(); -
2016/27/PaavoH/Safety check/Safety check/Form4.cs
r9519 r10141 73 73 74 74 } 75 76 private void Form4_Load(object sender, EventArgs e) 77 { 78 79 } 75 80 } 76 81 } -
2016/27/PaavoH/Safety check/Safety check/obj/Debug/Safety check.csproj.FileListAbsolute.txt
r9519 r10141 11 11 C:\MyTemp\PaavoH\Safety check\Safety check\obj\Debug\Safety_check.Form3.resources 12 12 C:\MyTemp\PaavoH\Safety check\Safety check\obj\Debug\Safety_check.Form4.resources 13 C:\MyTemp\PaavoH\Safety check\Safety check\obj\Debug\Safety check.csproj.CoreCompileInputs.cache14 13 C:\MyTemp\PaavoH\Safety check\Safety check\obj\Debug\Safety_check.Form5.resources -
2016/27/PaavoH/solupeli/solupeli/solupeli/obj/x86/Debug/ContentPipeline-{F54F5F12-F8EE-4A16-8F60-D68EB443FB5D}.xml
r9512 r10141 17 17 <Assembly> 18 18 <Key>C:\WINDOWS\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 19 <Value>201 7-07-12T17:50:56.503647+03:00</Value>19 <Value>2019-04-17T09:00:29.6870245+03:00</Value> 20 20 </Assembly> 21 21 </Assemblies> -
2016/27/PaavoH/solupeli/solupeli/solupeli/obj/x86/Debug/solupeli.csproj.CoreCompileInputs.cache
r9512 r10141 1 0e6b292d2188912892019ae76bd8a191dfabc164 1 36dbdd8ef318d96fc8c25a5bdb5061184233b330 -
2016/27/PaavoH/solupeli/solupeli/solupeli/solupeli.cs
r9512 r10141 21 21 Mouse.IsCursorVisible = true; 22 22 IsFullScreen = false; 23 Window.Width = 1 200;23 Window.Width = 1500; 24 24 Window.Height = 1000; 25 //IsFullScreen = true; 25 26 26 27 LuoKentta();
Note: See TracChangeset
for help on using the changeset viewer.