Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. using OpenTK;
  2. using OpenTK.Graphics;
  3. using StorybrewCommon.Mapset;
  4. using StorybrewCommon.Scripting;
  5. using StorybrewCommon.Storyboarding;
  6. using StorybrewCommon.Storyboarding.Util;
  7. using StorybrewCommon.Subtitles;
  8. using StorybrewCommon.Util;
  9. using System;
  10. using System.Collections.Generic;
  11. using System.Linq;
  12.  
  13. namespace StorybrewScripts
  14. {
  15. public class H2m : StoryboardObjectGenerator
  16. {
  17. public override void Generate()
  18. {
  19. var layer = GetLayer("h2m");
  20. var h2m = layer.CreateAnimation("SB/h2m/h2m.jpg", 79, 15, OsbLoopType.LoopOnce, OsbOrigin.Centre);
  21. h2m.Scale(0, 480.0 / 125);
  22. h2m.Fade(832, 832, 0, 1);
  23. h2m.Fade(2487, 2487, 1, 0);
  24. }
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement