NED
Well-known member
I encounter some camera initial position
In most of the regular levels/stages there is no problem, but with a stage with a big depth (Z axis), or big BG area, the camera cannot be set on a good way.
This is what I have at the start of this level
I would like the camera to be in the center of the stage at the start.
Not trying to follow like that.
Some infos:
the level BG size is 1438 X 622
This is what I have on level's "header":
In level.txt
Is there a way to control camera starting position in Openbor?
Thanks
In most of the regular levels/stages there is no problem, but with a stage with a big depth (Z axis), or big BG area, the camera cannot be set on a good way.
This is what I have at the start of this level

I would like the camera to be in the center of the stage at the start.
Not trying to follow like that.
Some infos:
the level BG size is 1438 X 622
This is what I have on level's "header":
Code:
music data/music/ringzic.bor#wrescrwd1#ring.bor#foule.bor#ring.bor#rushmore.bor
#bossmusic data/music/empty.bor#win.bor#rclear.ogg
panel data/bgs/1/ringc1.gif none none
order A
spawn1 1100 111 30#195 0 0#x z a
#spawn1 195 0 0#145 110
#spawn2 175 110
#spawn3 155 115
#spawn4 185 115
#nohit 1
settime 100#0
# notime 1
cameraoffset 0 -80#-50#-100
cameratype 1#0#1 0=follow horiz 1=follow hozi+verti(good pour stages non linéaires)
gravity -15.8#-16
direction both
typemp 1#recover MP by hitting enemies
light -98 -55
at 0
shadowalpha 2
at 0
spawn resetvar
coords 100 268
at 0
In level.txt
Code:
#--------------------------------------------------
set New_Ring
custfade 200#100
typemp 1#2
lives 10#99#1
credits 20
noshare 1
z 375 615#300 490#165 385
file data/levels/ringc.txt
Is there a way to control camera starting position in Openbor?
Thanks