File: spiked_ball.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-- 674 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="spiked_ball"
on_process="[
	set(x, vars.base_x + (wave((wave(cycle*vars.speed)+1000)/4 + 250)*vars.radius)/1000),
	set(y, vars.base_y + (wave((wave(cycle*vars.speed)+1000)/4)*vars.radius)/1000),
	set(rotate, 90 + (((wave(cycle*vars.speed)+1000)/2)*180)/1000)]"
on_spawned="[
set(activation_area, [x - vars.radius, y, vars.radius*2 + img_w, vars.radius + img_h]),
set_var('base_x', x), set_var('base_y', y)]"
	[vars]
	damage="1"
	team="'evil'"
	[/vars]

	[animation]
	attack_area="all"
	collide="8,8,32,32"
	duration="10000000"
	frame_info="0,1,1,1,963,518,41,41"
	id="normal"
	image="compiled-1.png"
	rect="963,517,1004,559"
	[/animation]

[/object_type]