Apply Level Restrictions?

David1334

Member
Hey guys, how would I go about making a certain area in the level having a boundary point so they can't go past the walk way?
 
This is in the manual, I recommend you to give the level part of the manual a good read before continuing:
z {zmin} {zmax} {BGheight}

Changes the location of stage boundaries.
{xmin} is how high up entities can walk. It starts at the top and works down, so larger numbers mean less room. Defaults to 160.
{xmax} is how far down the character can walk. It also goes down from the top. Defaults to 232.
{BGheight} changes where the bottom of the background is drawn. Defaults to 160. By changing this value, you can make the background match an altered {xmin}.
This can be set once per level. You can change it between two stages. If you need to change it during a stage, you should combine it with the "wall" command in the stage itself.
You can spawn entities outside of this range, but once they enter the playing field they can't escape again.

You can also add walls to limit different areas and not have only a rectangular flat stage.
 
Die_In_Fire said:
This is in the manual, I recommend you to give the level part of the manual a good read before continuing:
z {zmin} {zmax} {BGheight}

Changes the location of stage boundaries.
{xmin} is how high up entities can walk. It starts at the top and works down, so larger numbers mean less room. Defaults to 160.
{xmax} is how far down the character can walk. It also goes down from the top. Defaults to 232.
{BGheight} changes where the bottom of the background is drawn. Defaults to 160. By changing this value, you can make the background match an altered {xmin}.
This can be set once per level. You can change it between two stages. If you need to change it during a stage, you should combine it with the "wall" command in the stage itself.
You can spawn entities outside of this range, but once they enter the playing field they can't escape again.

You can also add walls to limit different areas and not have only a rectangular flat stage.

Thanks I've got the levels working nicely
 
David1334 Welcome to the forum.
I saw some of your questions and I will give you a tip: since you are staring with OpenBOR, I strongly suggest that you first read the manual.
Those simple questions could be answered quickly after you read it.

You can read it in two formats:
one page - https://dcemulation.org/index.php?title=OpenBORManual
Wiki style - http://www.chronocrash.com/apps/wiki/obor/index.php?title=Main_Page
 
O Ilusionista said:
David1334 Welcome to the forum.
I saw some of your questions and I will give you a tip: since you are staring with OpenBOR, I strongly suggest that you first read the manual.
Those simple questions could be answered quickly after you read it.

You can read it in two formats:
one page - https://dcemulation.org/index.php?title=OpenBORManual
Wiki style - http://www.chronocrash.com/apps/wiki/obor/index.php?title=Main_Page
Thanks for the links, I'll definitely read more into it from now on if I've got a question. It just seemed a little hard to navigate at first
 
O Ilusionista said:
You can read it in two formats:
one page - https://dcemulation.org/index.php?title=OpenBORManual

I always found the one page style the easier to read. Sometimes when I looked for something in the wiki it doesn’t show exactly what I was after, but in the one page version you just “search on page” and just cycle through the findings.
 
Back
Top Bottom