News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Stage bounds problem

Started by Renzo F, September 07, 2007, 05:05:02 AM

Previous topic - Next topic

Renzo F

I'm almost new to stage coding (I roughly made two simple stages) and I came across the following problem:
The left bound and the right bounds are not the same, even if they have the same values in the .def:


(this is the most right any character can get)

The stage code is below:
Spoiler (click to show)


[Info]
name = "Stage"

[Camera]
startx         = 0
starty         = 0
boundleft      = -320
boundright      = 320
boundhigh      = -40
boundlow      = 0
verticalfollow      = .2
floortension      = 50
tension         = 60

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

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

leftbound      = -480
rightbound      = 480
topbound      = 0
botbound      = 0

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

[Bound]
screenleft      = 15
screenright      = 15

[StageInfo]
zoffset         = 211
autoturn      = 1
resetBG         = 1

[Shadow]
intensity      = 64
color         = 0,0,0
yscale         = -.1
fade.range      = -400,-100

[Reflection]
intensity      = 128

[Music]
bgmusic         = sound/CANYON.MID
bgvolume      = 0

; --------------------------------------------------------

[BGdef]
spr = win311.sff
debugbg = 1

[BG Fondo]
type         = normal
spriteno      = 0,0
layerno         = 0
start         = -448,0
delta         = .4,.4
mask         = 0
tile         = 14,7


Cybaster


[Bound]
screenleft      = 15
screenright      = 50

???

Renzo F

No, wait. The real code has both values set to 15 and the problem persists. I'm editing my post so I won't look like a complete idiot 8).