Guest User

background animated

a guest
Aug 11th, 2025
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. images {
  2. image: "wrk/bg.png" COMP;
  3. image: "logo/logo.png" COMP;
  4. // image: "logo/logo_glow.png" COMP;
  5. image: "tech/10.png" COMP;
  6. image: "tech/6.png" COMP;
  7. image: "tech/4.png" COMP;
  8. }
  9. collections{
  10. group {
  11. name: "e/desktop/background";
  12. // --------------- Background -----------------
  13. parts {
  14. part {
  15. name: "background_image";
  16. scale: 1;
  17. description {
  18. state: "default" 0.0;
  19. align: 0.5 0.5;
  20. image {
  21. normal: "wrk/bg.png";
  22. }
  23. }
  24. }
  25. // -------------- Tech-----------------------
  26. part { name: "big";
  27. description { state: "default" 0.0;
  28. rel1.to: "e_logo";
  29. rel2.to: "e_logo";
  30. aspect: 1.0 1.0; aspect_preference: BOTH;
  31. map.on: 1;
  32. map.rotation.z: 0;
  33. min: 240 240;
  34. max: 400 400;
  35. image.normal: "tech/10.png";
  36. }
  37. description { "rotated";
  38. inherit: "default";
  39. map.rotation.z: -360;
  40. }
  41. }
  42. part { name: "mid";
  43. description { state: "default" 0.0;
  44. rel1.to: "e_logo";
  45. rel2.to: "e_logo";
  46. aspect: 1.0 1.0; aspect_preference: BOTH;
  47. map.on: 1;
  48. map.rotation.z: 0;
  49. min: 240 240;
  50. max: 400 400;
  51. image.normal: "tech/6.png";
  52. }
  53. description { "rotated";
  54. inherit: "default";
  55. map.rotation.z: 360;
  56. }
  57. }
  58. part { name: "small";
  59. description { state: "default" 0.0;
  60. rel1.to: "e_logo";
  61. rel2.to: "e_logo";
  62. aspect: 1.0 1.0; aspect_preference: BOTH;
  63. map.on: 1;
  64. map.rotation.z: 0;
  65. min: 240 240;
  66. max: 400 400;
  67. image.normal: "tech/4.png";
  68. }
  69. description { "rotated";
  70. inherit: "default";
  71. map.rotation.z: -360;
  72. }
  73. }
  74. // --------------- E-logo --------------------
  75. part { name: "e_logo";
  76. // scale: 1;
  77. description { state: "default" 0.0;
  78. rel1 {
  79. relative: 0.5 0.40;
  80. // offset: -175 -175;
  81. }
  82. rel2 {
  83. relative: 0.5 0.40;
  84. // offset: 175 175;
  85. }
  86. min: 240 240;
  87. max: 400 400;
  88. image {
  89. normal: "logo/logo.png";
  90. }
  91. }
  92. }
  93. }
  94. // ----------------------------------------------
  95.  
  96. // --------------Prog ---------------------------
  97. programs {
  98.  
  99. program { "rotate";
  100. signal: "show";
  101. source: "";
  102. action: STATE_SET "rotated";
  103. target: "big";
  104. target: "mid";
  105. target: "small";
  106. transition: LINEAR 30;
  107. after: "reset";
  108. }
  109. program { "reset";
  110. action: STATE_SET "default";
  111. target: "big";
  112. target: "mid";
  113. target: "small";
  114. after: "rotate";
  115. }
  116. }
  117. }
  118. }
  119.  
Advertisement
Add Comment
Please, Sign In to add comment