File: checkpoint_controller.cfg

package info (click to toggle)
frogatto-data 1.0-2
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze
  • size: 155,116 kB
  • sloc: makefile: 1
file content (26 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
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
[object_type]
id="checkpoint_controller"
ignore_collide="true"
on_create="set(alpha, 0)"
on_timer="if(level.player.midpoint_x > vars.zone_x1 and level.player.midpoint_x < vars.zone_x2 and level.player.midpoint_y > vars.zone_y1 and level.player.midpoint_y < vars.zone_y2 and level.player.hitpoints > 0,
             [checkpoint_game(), die()])"
timer_frequency="10"
zorder="50"
	[vars]
	zone_x1="0"
	zone_x2="0"
	zone_y1="0"
	zone_y2="0"
	[/vars]

	[animation]
	duration="100000"
	frame_info="0,0,2,1,224,997,26,27"
	frames="1"
	id="normal"
	image="compiled-1.png"
	rect="224,997,251,1024"
	[/animation]

[/object_type]