Changeset 8477


Ignore:
Timestamp:
2017-06-09 13:07:48 (2 years ago)
Author:
nupeohje
Message:

no Heissan

Location:
2017/23/EelisK/Windcaller
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2017/23/EelisK/Windcaller/Windcaller/Windcaller/Windcaller.cs

    r8474 r8477  
    560560    Image PlayerEmptyHealth = LoadImage("Player/big helth_Animation 1_1"); 
    561561 
     562    Animation Logo; 
    562563    Animation KanaPoks; 
    563564    Animation GoblinDeath; 
     
    597598 
    598599        SpectreSpawn = LoadAnimation("Enemies/Wraith/SpawnAnimation"); 
     600        Logo = LoadAnimation("MainMenu/Logo"); 
    599601 
    600602        Wraith_Up = LoadAnimation("Enemies/Wraith/walk and stand/up"); 
     
    627629 
    628630 
    629         LataaMaa("Skeletor"); 
     631        LataaMaa("AlkuValikko"); 
    630632 
    631633    } 
     
    745747        Level.Background.Width = 1200; 
    746748        Level.Background.Height = 900; 
     749        GameObject logos = new GameObject(1000, 300); 
     750        logos.Animation = Logo; 
     751        
     752        logos.Position = new Vector(0, 250); 
     753        Timer.SingleShot(1, delegate 
     754        { 
     755 
     756 
     757 
     758            // logos.Animation.StopOnLastFrame = true; 
     759            logos.Animation.Start(); 
     760            Add(logos); 
     761 
     762        }); 
     763 
     764 
     765        logos.Animation.Played += delegate 
     766        { 
     767            Image logostill = LoadImage("MainMenu/Windcaller logo_100"); 
     768            logos.Animation = logostill; 
     769 
     770        }; 
     771 
     772       // logos.Size *= 10; 
     773         
     774 
     775 
    747776 
    748777        PushButton aloitus = new PushButton(startkuva); 
     
    864893        string b = string.Format("World/{0:00}/black_Animation 1_{0:00}", numero); 
    865894        string c = string.Format("World/{0:00}/Restricted area_Animation 1_{0:00}", numero); 
    866         LuoMaa(numero, a, b,c, ""); 
     895         string d = string.Format("World/{0:00}/Trees_Animation 1_{0:00}", numero); 
     896        LuoMaa(numero, a, b,c, d); 
    867897 
    868898        Houset(new Vector(-500, 200), 370, 390); 
Note: See TracChangeset for help on using the changeset viewer.