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

« back to all changes in this revision

Viewing changes to data/compiled/objects/platform-world1-interior.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_prototype]
 
2
hitpoints="1"
 
3
id="platform-world1-interior"
 
4
on_process="[
 
5
          if(xdistance > 0, [set(x, vars.move_x1 + ((1000 + wave(cycle*vars.move_speed))*xdistance)/2000)]) where xdistance = (vars.move_x2 - vars.move_x1) - img_w,
 
6
          if(ydistance > 0, [set(y, vars.move_y1 + ((1000 + wave(cycle*vars.move_speed))*ydistance)/2000)]) where ydistance = (vars.move_y2 - vars.move_y1) - img_h
 
7
]"
 
8
on_start_level="set(activation_area, [vars.move_x1 - 100, vars.move_y1 - 100, (vars.move_x2 - vars.move_x1) + 200, (vars.move_y2 - vars.move_y1) + 200])"
 
9
platform_area="0,0,48,1"
 
10
surface_friction="100"
 
11
zorder="-1"
 
12
        [vars]
 
13
        move_speed="3"
 
14
        move_x1="0"
 
15
        move_x2="0"
 
16
        move_y1="0"
 
17
        move_y2="0"
 
18
        [/vars]
 
19
 
 
20
        [animation]
 
21
        frame_info="4,0,4,2,969,267,40,14"
 
22
        id="normal"
 
23
        image="compiled-0.png"
 
24
        rect="965,267,1012,282"
 
25
        [/animation]
 
26
 
 
27
[/object_prototype]
 
28