File: falling_leaf.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 (31 lines) | stat: -rw-r--r-- 595 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
	
	[object_type]
	id=falling_leaf
	ignore_collide=true
	dies_on_inactive=yes
	on_enter_water="die()"
	on_collide_side="die()"
	timer_frequency=10
	
	on_create="[set(velocity_y,50+1d100,)]"
	#on_end_anim="[animation('normal'),set(facing,if(1d2=2,1,-1))]"
	on_end_anim="animation('normal')"

	on_timer="set(velocity_x, (wave(cycle*6)+1000)/10 -100)"

	zorder=50
		[animation]
		id=normal
		image=effects/particles.png
		x=3
		y=79
		w=10
		h=10
		pad=3
		frames=6
		reverse=yes
		duration=5
		palettes=forest_graveyard_shift,forest_autumn,forest_decay,forest_clean
		[/animation]
	[/object_type]