File: heart_sparkle.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 (19 lines) | stat: -rw-r--r-- 589 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[object_type]
id="heart_sparkle"
ignore_collide="true"
on_create="[set(time_in_animation, 1d12 - 1), set(velocity_y,-(1d100+100)), set_var('base_x', x+1d20-10), set(y, y+1d20-10), set_var('phase', 1d20), if(1d2=1,facing(-facing))]"
on_end_anim="die()"
on_process="[set(x, base_x + facing*((((wave(time_in_animation*20+phase)+1000)/2)*60)/1000 -30)),
	set(alpha, 255 - time_in_animation*3)]"
	[animation]
	duration="24"
	frame_info="3,4,2,3,360,739,9,7,6,4,1,4,369,739,7,6"
	frames="2"
	id="sparkle"
	image="compiled-0.png"
	rect="357,735,370,748"
	scale="2"
	[/animation]

[/object_type]