File: text_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 (26 lines) | stat: -rw-r--r-- 483 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
[object_type]
id="text_controller"
ignore_collide="true"
on_create="[set(alpha, 0), if(txt, text(txt, 'door_label', size))]"
on_end_anim="animation('normal')"
zorder="50"
	[vars]
	size="1"
	txt="'TEXT'"
	[/vars]

	[properties]
	set_text="def(text) [set(vars.txt, text), fire_event(me, 'create')]"
	[/properties]

	[animation]
	duration="1000"
	frame_info="2,2,2,1,838,226,24,25"
	frames="1"
	id="normal"
	image="compiled-2.png"
	rect="836,224,863,251"
	[/animation]

[/object_type]