## Coordinates off screen

## Coordinates off screen

(OP)

I am making a game is qb4.5 its a dungeon explorer like the old game Eye of the beholder, where you move one

square at a time and you can side step and turn. What I want to be able to do is load a previously designed map

and have that as the dungeon you can move through. Sort of like the level-creators for doom2 if anyone remembers

them like deu2 and waded. The problem I am having is connecting two points where one point is the origin in a

200x200 box and the other is actually not a coordinate on the screen. So what I need to know is how do I know

the x,y coordinates of the point just before the line leaves the screen? Or using math how can I find the x,y?

square at a time and you can side step and turn. What I want to be able to do is load a previously designed map

and have that as the dungeon you can move through. Sort of like the level-creators for doom2 if anyone remembers

them like deu2 and waded. The problem I am having is connecting two points where one point is the origin in a

200x200 box and the other is actually not a coordinate on the screen. So what I need to know is how do I know

the x,y coordinates of the point just before the line leaves the screen? Or using math how can I find the x,y?

## RE: Coordinates off screen

Could you clarify your problem and toss in some examples and/or code you're working with?

## RE: Coordinates off screen

and the diagonals for this 3rd square in connect to the corners of it. So if we want to say we have the 3rd square three squares along the square we connect the diagonls to is offscreen and anything more than that is also offscreen. So how can I do the diagonals without getting an illegal function call?

## RE: Coordinates off screen

Either way, which command gives the error?

## RE: Coordinates off screen