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

« back to all changes in this revision

Viewing changes to data/compiled/objects/spiked_ball.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
id="spiked_ball"
 
3
on_process="[
 
4
        set(x, vars.base_x + (wave((wave(cycle*vars.speed)+1000)/4 + 250)*vars.radius)/1000),
 
5
        set(y, vars.base_y + (wave((wave(cycle*vars.speed)+1000)/4)*vars.radius)/1000),
 
6
        set(rotate, 90 + (((wave(cycle*vars.speed)+1000)/2)*180)/1000)]"
 
7
on_spawned="[
 
8
set(activation_area, [x - vars.radius, y, vars.radius*2 + img_w, vars.radius + img_h]),
 
9
set_var('base_x', x), set_var('base_y', y)]"
 
10
        [vars]
 
11
        damage="1"
 
12
        team="'evil'"
 
13
        [/vars]
 
14
 
 
15
        [animation]
 
16
        attack_area="all"
 
17
        collide="8,8,32,32"
 
18
        duration="10000000"
 
19
        frame_info="0,1,1,1,963,518,41,41"
 
20
        id="normal"
 
21
        image="compiled-1.png"
 
22
        rect="963,517,1004,559"
 
23
        [/animation]
 
24
 
 
25
[/object_type]
 
26