Removed RCS-style IDs.
[multipass-eu.git] / src / intro.rb
1 c = EDJE.collection("euphoria")
2
3 c.part("player.normal.animation.intro", :image) do |p|
4         p.description do |d|
5                 d.rel[0].to = d.rel[1].to = c.part("player.normal.group.display")
6                 d.rel[0].set_offset(31, 30)
7                 d.rel[1].set_rel(0.0, 0.0)
8
9                 d.auto_rel = true
10                 d.image = "anim-intro_00.png"
11
12                 1.upto(74) do |i|
13                         d.tweens << "anim-intro_%02i.png" % i
14                 end
15         end
16 end
17
18 c.program("player.intro.play", :set_state) do |p|
19         p.signal = "show"
20         p.time = 8.0
21         p.targets << ProgramTarget.new(c.part("player.normal.animation.intro"))
22 end