File: skeeter.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 (46 lines) | stat: -rw-r--r-- 1,093 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[object_type]
dies_on_inactive="true"
hitpoints="1"
id="skeeter"
on_collide="die()"
on_create="[animation('spawn'),set(velocity_x,0), set(facing,desired_facing) where desired_facing = if(level.player.x < x, -1, 1)]"
on_die="spawn('die_cloud', midpoint_x, midpoint_y, facing)"
on_end_move_anim="[animation('move'),if(cycle > 300, die())]"
on_end_spawn_anim="if( level.player.y < y, [animation('move'), set(velocity_y,0)] ,animation('spawn'))"
on_hit_by_player="[die(),score(level,10)]"
	[animation]
	collide_h="14"
	collide_w="16"
	collide_x="5"
	collide_y="10"
	duration="4"
	feet_x="14"
	feet_y="22"
	frame_info="3,3,2,3,519,746,21,20,3,12,2,2,540,746,21,12"
	frames="2"
	id="move"
	image="compiled-0.png"
	rect="516,743,541,768"
	velocity_x="400"
	velocity_y="0"
	[/animation]

	[animation]
	collide_h="14"
	collide_w="16"
	collide_x="5"
	collide_y="10"
	duration="4"
	feet_x="14"
	feet_y="22"
	frame_info="3,3,2,3,519,746,21,20,3,12,2,2,540,746,21,12"
	frames="2"
	id="spawn"
	image="compiled-0.png"
	rect="516,743,541,768"
	velocity_x="0"
	velocity_y="-300"
	[/animation]

[/object_type]