File: worm_white_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 (37 lines) | stat: -rw-r--r-- 864 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
[object_type]
always_active="yes"
id="worm_white_controller"
ignore_collide="true"
on_create="[set(alpha,0)]"
on_end_anim="animation('normal')"
on_timer="[set(vars.spawn_count, vars.spawn_count + 5), if(vars.spawn_count >= vars.spawn_frequency, [set(vars.spawn_count, 0), spawn('worm_white', vars.zone_x1 + 1d(vars.zone_x2 - vars.zone_x1), vars.zone_y1 + 1d(vars.zone_y2 - vars.zone_y1), facing)])]"
timer_frequency="5"
zorder="-20"
	[vars]
	spawn_count="0"
	spawn_frequency="200"
	[/vars]

	[animation]
	duration="1000"
	frame_info="2,2,1,1,0,252,25,25"
	frames="1"
	id="normal"
	image="compiled-2.png"
	rect="-2,250,25,277"
	[/animation]

	[particle_system]
	color="120,160,255,100"
	dot_size="4"
	id="bubbles"
	number_of_particles="100"
	repeat_period="200"
	type="water"
	velocity_rand="4"
	velocity_x="0"
	velocity_y="-1"
	[/particle_system]

[/object_type]