File: text_flash.cfg

package info (click to toggle)
frogatto-data 1.2%2Bdfsg-1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy
  • size: 201,844 kB
  • sloc: python: 302; xml: 223; perl: 139; sh: 48; makefile: 13; ruby: 4
file content (37 lines) | stat: -rw-r--r-- 672 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]
id="text_flash"
ignore_collide="true"
on_create="[set(alpha, 0), if(vars.txt, text(vars.txt, vars.font, size)),
	
	schedule(60,die())]"
on_end_anim="animation('normal')"
on_timer="add(text_alpha,-12)"
serializable="no"
timer_frequency="5"
zorder="100"
	[vars]
	font="'numbers_gold'"
	size="1"
	txt="'+'"
	[/vars]

	[editor_info]
	category="controllers"
	[/editor_info]

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

	[animation]
	duration="1000"
	frame_info="2,2,2,1,564,501,24,25"
	frames="1"
	id="normal"
	image="compiled-2.png"
	rect="562,499,589,526"
	velocity_y="-50"
	[/animation]

[/object_type]