4
fill_floor( "fl-leaves" )
5
draw_border( "st-glass1" )
7
set_item( "it-hollow", 2, 2 )
8
set_item( "it-hollow", 2, 4 )
9
set_item( "it-hollow", 2, 6 )
10
set_item( "it-hollow", 2, 8 )
11
set_item( "it-hollow", 2, 10 )
12
set_item( "it-hollow", 4, 2 )
13
set_item( "it-hollow", 6, 2 )
14
set_item( "it-hollow", 8, 2 )
15
set_item( "it-hollow", 4, 10 )
16
set_item( "it-hollow", 6, 10 )
17
set_item( "it-hollow", 8, 10 )
18
set_item( "it-hollow", 10, 2 )
19
set_item( "it-hollow", 10, 4 )
20
set_item( "it-hollow", 10, 6 )
21
set_item( "it-hollow", 10, 8 )
22
set_item( "it-hollow", 10, 10 )
30
BAND_LENGTH = 2*RADIUS*sin(360/(2*BALL_COUNT))
34
for theta=0,359,360/BALL_COUNT do
35
x = CENTER_X + RADIUS*cos(theta)
36
y = CENTER_Y + RADIUS*sin(theta)
38
new_ball = set_actor( "ac-whiteball-small", x, y, {player=0} )
40
AddRubberBand( last_ball, new_ball, BAND_STRENGTH, BAND_LENGTH )
46
AddRubberBand( last_ball, first_ball, BAND_STRENGTH, BAND_LENGTH )