File: fire_generator.cfg

package info (click to toggle)
frogatto-data 1.3.1%2Bdfsg-4
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 254,428 kB
  • sloc: xml: 584; python: 396; perl: 249; sh: 126; ruby: 69; makefile: 21
file content (124 lines) | stat: -rw-r--r-- 1,959 bytes parent folder | download | duplicates (3)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
id: "fire_generator",
ignore_collide: true,
hidden_in_game: true,


on_create: "[add_particles('3_fire_bright'), add_particles('2_fire_med'), add_particles('1_fire_sparks')]",
on_end_anim: "animation('normal')",
zorder: 50,
editor_info: {
	category: "controllers",
},
animation: {
	id: "normal",
	image: "effects/particles.png",
	x: 210,
	y: 73,
	w: 28,
	h: 28,
	frames: 1,
	duration: 1000,
},
particle_system: [

	#
	#
	# particles are added in alphabetic order of ID
	#
	#
	# higher numbers are drawn last, and hence, on top
	{
		id: "3_fire_bright",
		type: "simple",
		spawn_rate: 500,
		time_to_live: 12,
		min_x: -40,
		max_x: 40,
		min_y: -8,
		max_y: 8,
		velocity_y: -200,
		velocity_x: 260,
		velocity_x_random: 200,
		velocity_y_random: 400,
		accel_y: -5,

		#color=255,255,255,255
		animation: {
			id: "sparkle",
			image: "effects/explosion.png",
			x: 198,
			y: 145,
			w: 17,
			h: 16,
			pad: 3,
			frames: 6,
			frames_per_row: 2,
			reverse: true,
			scale: 2,
			duration: 2,
			accel_y: -5,
		},
	},
	{
		id: "2_fire_med",
		type: "simple",
		spawn_rate: 1000,
		time_to_live: 96,
		min_x: -40,
		max_x: 40,
		min_y: -10,
		max_y: 10,
		velocity_y: -600,
		velocity_x: 260,
		velocity_x_random: 200,
		velocity_y_random: 1000,
		accel_y: -20,

		#color=255,255,255,255
		delta_a: 2,
		animation: {
			id: "sparkle",
			image: "effects/explosion.png",
			x: 105,
			y: 193,
			w: 13,
			h: 13,
			pad: 3,
			frames: 6,
			frames_per_row: 3,
			duration: 6,
		},
	},
	{
		id: "1_fire_sparks",
		type: "simple",
		spawn_rate: 200,
		time_to_live: 64,
		min_x: -40,
		max_x: 40,
		min_y: -20,
		max_y: 10,
		velocity_y: -600,
		velocity_x: 260,
		velocity_x_random: 200,
		velocity_y_random: 1000,
		accel_y: -30,

		#color=255,255,255,255
		animation: {
			id: "sparkle",
			image: "effects/explosion.png",
			x: 198,
			y: 86,
			w: 17,
			h: 16,
			pad: 3,
			frames: 6,
			frames_per_row: 2,
			scale: 2,
			duration: 4,
		},
	},
],
}