File: rising_acid_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 (74 lines) | stat: -rw-r--r-- 1,616 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[object_type]
always_active="yes"
id="rising_acid_controller"
ignore_collide="true"
on_create="[set(alpha,0), add_particles('bubbles')]"
on_done_create="[
	   set(bubbles.area, [zone_x1, zone_y1, zone_x2, zone_y2]),
	   set(fizz.min_x, vars.zone_x1 - x),
	   set(fizz.max_x, vars.zone_x2 - x),
	   set(fizz.min_y, (vars.zone_y1 - 15) - y),
	   set(fizz.max_y, (vars.zone_y1 + 15) - y),
	   set(fizz.spawn_rate, 2*(zone_x2 - zone_x1))
	   ]"
on_end_anim="animation('normal')"
on_process="[if (zone_y1-cycle*2 > end_height,[
		remove_water(zone_x1, zone_y1-cycle*2+2, zone_x2, zone_y2),
		add_water(zone_x1, zone_y1-cycle*2, zone_x2, zone_y2, [70, 0, 70, 50])])
	]"
zorder="-20"
	[consts]
	damage="1"
	[/consts]

	[animation]
	duration="1000"
	frame_info="1,2,1,0,841,200,26,26"
	frames="1"
	id="normal"
	image="compiled-2.png"
	rect="840,198,867,225"
	[/animation]

	[particle_system]
	color="120,250,200,200"
	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]

	[particle_system]
	accel_y="-10"
	delta_a="2"
	id="fizz"
	max_x="260"
	max_y="15"
	min_x="-60"
	min_y="-15"
	spawn_rate="600"
	time_to_live="300"
	type="simple"
	velocity_x="260"
	velocity_x_random="200"
	velocity_y="-200"
	velocity_y_random="400"
		[animation]
		duration="8"
		frame_info="1,1,1,1,345,0,5,5,2,2,2,2,350,0,3,3,3,3,2,2,353,0,2,2,3,3,3,3,355,0,1,1,3,3,3,3,356,0,1,1"
		frames="5"
		frames_per_row="5"
		id="sparkle"
		image="compiled-0.png"
		rect="344,-1,350,5"
		scale="2"
		[/animation]

	[/particle_system]

[/object_type]