summaryrefslogtreecommitdiff
path: root/src/examples/animations2.edc
blob: eb7e81c5830503d9eb3de96de0feaf3247f2293e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
collections {
   group {
      name: "animation_group";
      max: 700 700;
      min: 700 700;
     images{
         image: "bubble.png" COMP;
     }
    parts{
              part{
                   name: "part_bubble";
                   type: IMAGE;
                   description{
                       state: "default" 0.0;
                       max: 63 63;
                       min: 63 63;
                       image{
                            normal: "bubble.png";
                       }
                       rel1.relative: 0.0 0.0;
                       rel2.relative: 0.0 0.0;
                    }
                    description {
                       state: "down-state" 1.0;
                       inherit: "default" 0.0;
                       rel1.relative: 0.0 1.0;
                       rel2.relative: 0.0 0.0;
                     }
         }

    }
    programs{
       program {
         signal: "load";
         source: "";
         in: 0.5 0.0;
         after: "animation,state1";
       }
       program {
         name: "animation,state1";
         source: "";
         action: STATE_SET "down-state" 1.0;
         target: "part_bubble";
         transition: BOUNCE 2.5 0.0 5.0;
      }
    }
   }
}