[Info]
name="Badidi's Spaceship - Planet Zoon"
displayname = "Planet Zoon"
author="Bob Lee"

;Final Version 
;||SPECIAL THANKS||
;BGM by WizzyWhipit +++ https://www.youtube.com/@WizzyWhipitWonderful +++ UPDATE 27/12/2022
;Toni for helping with stage coding! 
;Yoshin222 and Tickle Nuts helped in solving visual bugs,
;Vladucard adjusted the stage horizon,
;HB, AVPBoy and DeCeballos for the support in the update
;UPDATES 12\24\2022
; - sky color and saturation
; - re-edition of the rocks, ground and horizon
; - color and saturation of rocks and ground
; - color and horizon line
; - background planets
; - blue planet movement
; - eclipse in the center of the stage
; __  __  _    _  _____   ______   _   _   
;    __  ___  __  __  ______   ______   _   __
;   /  |/  / / / / / / ____/  / ____/  / | / /
;  / /|_/ / / / / / / / __   / __/    /  |/ / 
; / /  / /_/ /_/ /_/ /_/ /_ / /___ _ / /|  /_ 
;/_/  /_/(_)____/(_)____/(_)_____/(_)_/ |_/(_)                                             
;          +-+-+-+-+-+ +-+-+-+
;          |N|E|V|E|R| |E|N|D|
;          +-+-+-+-+-+ +-+-+-+
; __  __  _    _  _____   ______   _   _  


[Music]
bgmusic=sound/stages/hdbz_zoon.mp3 
bgvolume=100

bgmloopstart = 3770260
bgmloopend = 16941509

[Camera]
startx		= 0
starty		= 0
boundleft	= -224
boundright	= 224
boundhigh	= -200;-70
boundlow	= 0
verticalfollow	= 0.75
floortension	= 90
tension		= 50


[PlayerInfo]
p1startx=-70
p1starty=0
p1startz=0
p1facing=1

p2startx=70
p2starty=0
p2startz=0
p2facing=-1

leftbound=-1000
rightbound=1000
topbound=0
botbound=0

[Scaling]
topz=0
botz=50
topscale=1
botscale=1.2

[Bound]
screenleft=30
screenright=30

[StageInfo]
zoffset=220
autoturn=1
resetBG=0


[Shadow]
intensity=0
color=96,96,96
yscale=.33
fade.range=0,0

[BGdef]
spr=stages/hdbz_zoon.sff
debugbg=0

[BG black]
type=normal
spriteno=0,99
layerno=0
start=0,0
delta=0,0
tile=1,1
tilespacing=0,0
mask=0


[BG sky]
type = anim
actionno = 9
start = 0,30
delta = .05, .05 ;0.2,0.4;0.3,0.3
mask = 1
layerno = 0
tile = 0,0
; Sky
[Begin Action 9]
0,6, 0,0, 3, ,
0,5, 0,0, 2, ,

[BG Planet small 05]
type=normal
spriteno=0,15
layerno=0
start=0,0
delta= .12, .12 ;0.2,0.4;0.2,0.4
mask=1
ID = 50
velocity = 0,0
tile = 1,0
tilespacing = 600,0

[BG Planet small 04]
type=normal
spriteno=0,13
layerno=0
start=0,0
delta= .1, .1 ;0.2,0.4;0.2,0.4
mask=1
ID = 50
velocity = 0,0
tile = 1,0
tilespacing = 600,0



[BG Planet small 03]
type=normal
spriteno=0,12
layerno=0
start=0,0
delta= .08, .08 ;0.2,0.4;0.2,0.4
mask=1
ID = 50
tile = 1,0
tilespacing = 600,0



[BG Light 3 Eclipse]
type=normal
spriteno=0,33
layerno=0
start=-42,50
delta= 0.15, 0.15 ;0.2,0.4;0.2,0.4
trans = addalpha
alpha = 30,210
mask=1
ID = 50
tile = 1,0
tilespacing = 600,0
;velocity = 0
;velocity = 0

;[BG Light 2 Eclipse]
;type=normal
;spriteno=0,31
;layerno=0
;start=-42,50
;delta= 0.2,0.4;0.2,0.4
;trans = addalpha
;alpha = 90,210
;mask=1
;ID = 50
;tile = 1,0
;tilespacing = 600,0
;;velocity = 0

[BG Light 2 Eclipse]
type = anim
actionno = 60
start = -42,50
delta = 0.15, 0.15 ;0.2,0.4;0.3,0.3
mask = 1
layerno = 0
tile = 1,0
; Sky
[Begin Action 60]
0,31, 0,0, 3, ,
0,32, 0,0, 2, ,


[BG Light Eclipse]
type=normal
spriteno=0,30
layerno=0
start=-42,50
delta= 0.15, 0.15 ;0.2,0.4;0.2,0.4
mask=1
ID = 50
tile = 1,0
tilespacing = 600,0
;velocity = 0

;[BG ShadowMoon Eclipse]
;type=normal
;spriteno=0,19
;layerno=0
;start=-33,58
;delta= 0.2,0.4;0.2,0.4
;mask=1
;ID = 50
;velocity = -.001, 0;adjust to your liking
;tile = 50,-50;-70,-15
;tilespacing = 600,0

[BG ShadowMoon Eclipse]
type = anim
actionno = 701 ;70
start = -33,58
delta = 0.17, 0.17 ;0.2,0.4;0.3,0.3
mask = 1
layerno = 0
tile = 50,20

[Begin Action 701]
0,19, 6,6, -1

[Begin Action 70]
0,19, 6,6, 620, ,
0,19, 5,5, 620, ,
0,19, 4,4, 620, ,
0,19, 3,3, 620, ,
0,19, 2,2, 620, ,
0,19, 1,1, 620, ,
0,19, 0,0, 620, ,
0,19, -1,-1, 620, ,
0,19, -2,-2, 620, ,
0,19, -3,-3, 620, ,
0,19, -4,-4, 620, ,
0,19, -5,-5, 620, ,
0,19, -6,-6, 620, ,
0,19, -7,-7, 620, ,
0,19, -8,-8, 620, ,
0,23, -9,-8, 3500, ,
0,50, -9,-8, 500, ,
0,51, -9,-8, 320, ,
0,52, -9,-8, 320, ,
0,53, -9,-8, 320, ,
0,54, -9,-8, 320, ,
0,55, -9,-8, 320, ,
0,56, -9,-8, 320, ,
0,57, -9,-8, 320, ,
0,58, -9,-8, 320, ,
0,59, -9,-8, 320, ,
0,60, -9,-8, 320, ,
0,61, -9,-8, 320, ,
0,62, -9,-8, 320, ,
0,63, -9,-8, 320, ,
0,64, -9,-8, 320, ,
0,65, -9,-8, 320, ,
0,66, -9,-8, 320, ,
0,67, -9,-8, 320, ,
0,68, -9,-8, 320, ,
0,69, -9,-8, 320, ,
0,70, -9,-8, 320, ,
0,71, -9,-8, 320, ,
0,72, -9,-8, 320, ,
0,73, -9,-8, 320, ,
0,74, -9,-8, 320, ,
0,19, -900,-900, 2000, ,
0,41, 18,18, 620, ,
0,41, 17,17, 620, ,
0,40, 16,16, 620, ,
0,40, 15,15, 620, ,
0,40, 14,14, 620, ,
0,19, 13,13, 620, ,
0,19, 12,12, 620, ,
0,19, 11,11, 620, ,
0,19, 10,10, 620, ,
0,19, 9,9, 620, ,
0,19, 8,8, 620, ,
0,19, 7,7, 620, ,




[BG Planet Red 02]
type=normal
spriteno=0,11
layerno=0
start=0,0
delta= 0.2, 0.2 ;0.2,0.4
mask=1
ID = 50
velocity = -.01, 0;adjust to your liking
tile = 1,0;tiled sprite in x, but not in y
tilespacing = 600,0;spaces between the tiles(how long before the next tile appears)


;[BG Planet Blue 01]
;type=normal
;spriteno=0,10
;layerno=0
;start=5,0
;delta=0.2,0.4
;mask=1
;ID = 50
;velocity = -.03, 0;adjust to your liking
;tile = 1,0;tiled sprite in x, but not in y
;tilespacing = 400,0;spaces between the tiles(how long before the next tile appears)

[BG Planet Blue 01]
type = anim
actionno = 90
layerno=0
start=-200,0
delta= 0.25, 0.25 ;0.2,0.4;0.2,0.4
mask=1
ID = 50
velocity = -.03,0
tile = 1,0
tilespacing = 570,0



[Begin Action 90]
0,10, 0,0, 90, ,
0,20, 0,0, 180, ,
0,21, 0,0, 160, ,
0,20, 0,0, 160, ,
0,10, 0,0, 90, ,


[BG DEBRIS 1]
type = anim
actionno = 100
start = -280,-150
delta = 0.22, 0.22 ;0.2,0.4;0.8,1
tile = 1, 1
tilespacing = 250,350
velocity = .6,.6
mask = 1
[Begin Action 100]
2,0,0,0,4,,AS128D256
2,1,0,0,4,,AS128D256
2,2,0,0,4,,AS128D256
2,1,0,0,4,,AS128D256

[BG DEBRIS 1]
type = anim
actionno = 100
start = -30,-50
delta = 0.22, 0.22 ;0.2,0.4;0.8,1
tile = 1, 1
tilespacing = 250,350
velocity = .6,.6
mask = 1
[Begin Action 100]
2,0,0,0,4,,AS128D256
2,1,0,0,4,,AS128D256
2,2,0,0,4,,AS128D256
2,1,0,0,4,,AS128D256

;[bg fortress]
;type = normal
;spriteno = 1,2
;delta = 0.5,0.9
;mask = 1
;layerno = 0
;sin.y = 4, 720
;ID = 6

[bg fortress]
type = normal
spriteno = 1,2
delta = 0.3,0.8
mask = 1
layerno = 0
sin.y = 4, 720
ID = 6


;[bg rocks zun]
;type = normal
;spriteno = 0,25
;start = 0, -150
;delta = 0.5,0.5
;mask = 1
;layerno = 0
;tile = 0,0

[bg rocks zun]
type = normal
spriteno = 0,25
start = 0, -150
delta = 0.4,0.4
mask = 1
layerno = 0
tile = 0,0

;[bg fondorocoso]
;type = normal
;spriteno = 0,3
;start = 0, -142
;delta = 0.6,0.6
;mask = 1
;layerno = 0
;tile = 0,0

[bg fondorocoso]
type = normal
spriteno = 0,3
start = 0, -142
delta = 0.6,0.6
mask = 1
layerno = 0
tile = 0,0

[BG dust]
type  = normal
spriteno = 1, 11
start = 0, -190
delta = 0.8,0.8
mask = 1
layerno = 0
sin.y = 5, 320
sin.x = 6, 820
velocity = 0.8, 0
tile = 1, 0
trans = addalpha
alpha = 22,250

[BG dust]
type  = normal
spriteno = 1, 12
start = 246, -185
delta = 0.8,0.8
mask = 1
layerno = 0
sin.y = 1, 820
sin.x = 17, 534
velocity = 0.4, 0
tile = 1, 0
trans = addalpha
alpha = 35,250

[BG FLOOR 2]
type=normal
spriteno=0,2
layerno=0
start=0,0
delta=0.9,0.9
mask=1
ID = 50

[BG GATE]
type=normal
spriteno=0,4
layerno=0
start=0,0
delta=0.9,0.9
mask=1
ID = 50

[BG rock groung]
type=normal
spriteno=0,14
layerno=0
start=0,0
delta=0.9,0.9
mask=1
ID = 50


[BG FLOOR]
type=normal
spriteno=0,0
layerno=0
start=0,0
delta=1,1
mask=1
ID = 50


[BG dust]
type  = normal
spriteno = 1, 12
start = 22, -135
delta = 0.9,0.9
mask = 1
layerno = 1
sin.y = 1, 620
sin.x = 17, 534
velocity = 0.7, 0
tile = 1, 0
trans = addalpha
alpha = 65,250
;
[BG dust]
type  = normal
spriteno = 1, 11
start = 0, -140
delta = 0.7,0.7
mask = 1
layerno = 1
sin.y = 5, 320
sin.x = 6, 820
velocity = 0.8, 0
tile = 1, 0
trans = addalpha
alpha = 25,250



;FLOOR CONTROLLERS
[BGctrldef FLOOR]
ctrlid=1,2,3,4
looptime=900
[BGctrl F1]
type=anim
time=120
ctrlid=1
value=1

[BGctrl F1]
type=anim
time=120
ctrlid=2
value=2

[BGctrl F1]
type=anim
time=120
ctrlid=3
value=3

[BGctrl F1]
type=anim
time=120
ctrlid=4
value=4

[BGctrl F2]
type=anim
time=180
ctrlid=1
value=1

[BGctrl F2]
type=anim
time=180
ctrlid=2
value=2

[BGctrl F2]
type=anim
time=180
ctrlid=3
value=3

[BGctrl F2]
type=anim
time=180
ctrlid=4
value=4

[BGctrl F3]
type=anim
time=300
ctrlid=1
value=1

[BGctrl F3]
type=anim
time=300
ctrlid=2
value=2

[BGctrl F3]
type=anim
time=300
ctrlid=3
value=3

[BGctrl F3]
type=anim
time=300
ctrlid=4
value=4

[BGctrl F4]
type=anim
time=420
ctrlid=1
value=1

[BGctrl F4]
type=anim
time=420
ctrlid=2
value=2

[BGctrl F4]
type=anim
time=420
ctrlid=3
value=3

[BGctrl F4]
type=anim
time=420
ctrlid=4
value=4

[BGctrl F5]
type=anim
time=540
ctrlid=1
value=1

[BGctrl F5]
type=anim
time=540
ctrlid=2
value=2

[BGctrl F5]
type=anim
time=540
ctrlid=3
value=3

[BGctrl F5]
type=anim
time=540
ctrlid=4
value=4

[BGctrl F6]
type=anim
time=600
ctrlid=1
value=1

[BGctrl F6]
type=anim
time=600
ctrlid=2
value=2

[BGctrl F6]
type=anim
time=600
ctrlid=3
value=3

[BGctrl F6]
type=anim
time=600
ctrlid=4
value=4

[BGctrl F7]
type=anim
time=720
ctrlid=1
value=1

[BGctrl F7]
type=anim
time=720
ctrlid=2
value=2

[BGctrl F7]
type=anim
time=720
ctrlid=3
value=3

[BGctrl F7]
type=anim
time=720
ctrlid=4
value=4

[BGctrl F8]
type=anim
time=780
ctrlid=1
value=1

[BGctrl F8]
type=anim
time=780
ctrlid=2
value=2

[BGctrl F8]
type=anim
time=780
ctrlid=3
value=3

[BGctrl F8]
type=anim
time=780
ctrlid=4
value=4

