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 (43 lines) | stat: -rw-r--r-- 659 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
[object_type]
	id=text_flash
	serializable=no
	ignore_collide=true
	#dies_on_inactive=true
	
	on_create="[set(alpha, 0), if(vars.txt, text(vars.txt, vars.font, size)),
	
	schedule(60,die())]"
	on_end_anim="animation('normal')"
	zorder=100
	
	
timer_frequency=5
on_timer="add(text_alpha,-12)"

	[vars]
	txt="'+'"
	size=1
	font="'numbers_gold'"
	[/vars]
	
	[editor_info]
	category=controllers
	[/editor_info]

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

	[animation]
	velocity_y=-50
	id=normal
	image=effects/particles.png
	x=179
	y=197
	w=28
	h=28
	frames=1
	duration=1000
	[/animation]

[/object_type]