File: scrolling_text_controller.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 (43 lines) | stat: -rw-r--r-- 739 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
{
id: "scrolling_text_controller",
ignore_collide: true,
always_active: true,
hidden_in_game: true,
properties: {
	set_text: "def(text) [set(vars.txt, text), fire_event(me, 'load')]",
},
vars: {
	txt: "TEXT",
	size: 1,
},
on_load: "[ if(txt, text(txt, 'default', size))]",
on_editor_changed_variable: "fire_event('load')",
on_end_anim: "animation('normal')",
zorder: 50,
on_process: "set(y, y-1)",
on_editor_added: "if(txt, text(txt, 'default', size))",
editor_info: {
	category: "controllers",
	var: [
		{
			name: "txt",
			type: "text",
			value: "'TEXT'",
		},
		{
			name: "size",
			value: 1,
		},
	],
},
animation: {
	id: "normal",
	image: "effects/particles.png",
	x: 148,
	y: 42,
	w: 28,
	h: 28,
	frames: 1,
	duration: 1000,
},
}