;--------------------------------------------------------
[Info]
 ;Name of the stage.
name = "Military Elevator"
author = "Enscripture"

;--------------------------------------------------------
[Camera]
startx = 0
starty = 0
boundleft = -84
boundright = 76
boundhigh = -25
boundlow = 0
verticalfollow = .4
floortension = 40
tension = 60


;--------------------------------------------------------
[PlayerInfo]
;--- Player 1 ---
 ;Player 1 starting coordinates.
 ;p1startx is typically -70 and p2startx is 70.
 ;p1starty and p1startz should be 0.
p1startx = -70          ;Starting x coordinates
p1starty = 0           ;Starting y coordinates
p1startz = 0          ;Starting z coordinates
p1facing = 1            ;Direction player faces: 1=right, -1=left

;--- Player 2 ---
p2startx = 70
p2starty = 0
p2startz = 0
p2facing = -1

;--- Common ---
 ;Don't change these values.
leftbound  = -1000 ;Left bound (x-movement)
rightbound =  1000 ;Right bound
topbound  =  0     ;Top bound (z-movement)
botbound  =  0     ;Bottom bound

;--------------------------------------------------------
[Scaling]
 ;No need to change these values
topz     = 0       ;Top z-coordinate for scaling
botz     = 50      ;Bottom z-coordinate for scaling
topscale = 1       ;Scale to use at top
botscale = 1.2     ;Scale to use at bottom

;--------------------------------------------------------
[Bound]
 ;Distance from left/right edge of screen that player can move to
 ;Typically 15
screenleft = 25    ;Dist from left of screen that player can move to
screenright = 15  ;Right edge

;--------------------------------------------------------
[StageInfo]
 ;Z offset for drawing
 ;Adjust this value to move the ground level up/down in the screen.
 ;It's the position where the players stand at.
 ;Up - smaller, Down - larger
 ;***
zoffset = 210

 ;Leave this at 1. It makes the players face each other
autoturn = 1

 ;Set the following to 1 to have the background be reset between
 ;rounds.
resetBG = 0

;--------------------------------------------------------
[Shadow]
color = 45,45,10
yscale = .1
reflect = 0

;--------------------------------------------------------
[Reflection]
intensity = 0

;--------------------------------------------------------
[Music]
bgmusic = sound/SetoTheme.mp3
bgvolume = 255

;========================================================
;--------------------------------------------------------
; Background definition
; ***
;-------------------------------------
; [BG x]
; type = ?       "Normal"/"Parallax"  (def: "normal")
; spriteno = ?, ? Sprite group and number: groupno, imgno  (req'd)
; start = ?, ?   Starting location (integer)  (def: 0, 0)
; delta = ?, ?   Change in location per camera unit moved (float)  (def: 1,1)
; trans = ?      Transparency settings: "none"/"add"/"add1"/"sub"/"addalpha" (def: "none")
; alpha = ?, ?   (only for trans=addalpha) Source,dest alpha (def: 256,0)
; mask = ?       Masking (int): 0 - off, 1 - on  (def: 0)
; velocity = ?, ? Velocity: x, y (float): speed background moves (def: 0, 0)
; tile = ?, ?    Tiling: xtile, ytile (int): 0 - off, 1 - infinite,
;                        >1 - tile that number of times  (def: 0, 0) - only for Normal BG
; tilespacing = ?, ? Tiling: x, y (int) : space between tiles (def: 0, 0)
;  Parallax-only:
; xscale = ?, ?    Top xscale, bottom xscale (float)
; width = ?, ?     Top width, bottom width (int)  (use either this or above, but not both)
; yscalestart = ?  Starting y-scale (float, in percent)  (def: 100)
; yscaledelta = ?  Change in y-scale per unit (float, in percent)  (def: 0)
;-------------------------------------

;-------------------------------------
; Main background definition
[BGdef]
 ;Filename of sprite data
spr = stages/CS-MilitaryBG.sff
;-------------------------------------


[BG Background]
type  = normal
spriteno = 0, 0
layerno = 0
start = 0, 200
delta = 1,1
mask = 1
tile = 1, 0
id = 4
velocity = -2.8, 0
;window = 0,0, 512, 224

[BG Foreground]
type  = normal
spriteno = 0, 1
layerno = 0
start = -40, 241
delta = 1,1
mask = 1
id = 5
tile = 1, 0

--------------------------------------
;Foreground Shaking
--------------------------------------

[BGCtrlDef 5]
CtrlID = 5
loopTime = 300

[BGCtrl 5, 0]
type = SinY
time = 1
value = 0, 0

[BGCtrl 5]
type = SinY
time = 100
value = 1, 3

[BGCtrl 5]
type = SinY
time = 200
value = 0, 0