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

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
[object_prototype]
hitpoints="1"
id="platform-world1-interior"
on_process="[
	  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,
	  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
]"
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])"
platform_area="0,0,48,1"
surface_friction="100"
zorder="-1"
	[vars]
	move_speed="3"
	move_x1="0"
	move_x2="0"
	move_y1="0"
	move_y2="0"
	[/vars]

	[animation]
	frame_info="4,0,4,2,969,267,40,14"
	id="normal"
	image="compiled-0.png"
	rect="965,267,1012,282"
	[/animation]

[/object_prototype]