~ubuntu-branches/ubuntu/utopic/frogatto-data/utopic

« back to all changes in this revision

Viewing changes to data/compiled/objects/robot_missile1.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Dmitry E. Oboukhov
  • Date: 2010-07-16 12:14:11 UTC
  • Revision ID: james.westby@ubuntu.com-20100716121411-tobhfbyxrrz46dwz
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[object_type]
 
2
always_active="yes"
 
3
id="robot_missile1"
 
4
object_level_collisions="yes"
 
5
on_collide_level="die()"
 
6
on_collide_object="if(collide_with_area = 'body', die())"
 
7
on_collide_with="[shake_screen(0,100,0,-100), hit(collide_with), die()]"
 
8
on_create="sound('missile_launch.ogg')"
 
9
on_die="[spawn('explosion1', x, y, facing),
 
10
                 shake_screen(0,50,0,-50)]"
 
11
on_process="if(abs(trail_x - x) > 92, [spawn('missile_trail1', x + if(facing = 1, -46, 60), y+2, facing), set_var('trail_x', x)], null())"
 
12
        [vars]
 
13
        damage="1"
 
14
        team="'evil'"
 
15
        [/vars]
 
16
 
 
17
        [animation]
 
18
        attack_area="0,0,10,8"
 
19
        body_area="0,0,10,8"
 
20
        damage="1"
 
21
        duration="5"
 
22
        frame_info="0,0,1,0,767,846,29,9,1,0,2,0,796,846,27,9"
 
23
        frames="2"
 
24
        id="normal"
 
25
        image="compiled-0.png"
 
26
        rect="767,846,796,854"
 
27
        scale="2"
 
28
        velocity_x="1000"
 
29
        velocity_y="0"
 
30
        [/animation]
 
31
 
 
32
[/object_type]
 
33