I added more walls to my game to make a house, it consists of three boxes to make a 2D look to it.
rem North Wall
make object box 2,2000,1000,10
rotate object 2,0,0,0
position object 2, 0,500,1005
texture object 2,2
rem East Wall
make object box 3,2000,1000,10
rotate object 3,0,90,0
position object 3, 1005,500,0
texture object 3,3
rem North Wall
make object box 4,2000,1000,10
rotate object 4,0,180,0
position object 4, 0,500,-1005
texture object 4,4
rem West Wall
make object box 5,2000,1000,10
rotate object 5,0,270,0
position object 5, -1005,500,0
texture object 5,4
make object box 66,1000,1000,10
rotate object 66,0,270,0
texture object 66,16
position object 66,500,500,600
make object box 67,1000,1000,10
rotate object 67,0,270,0
texture object 67,16
position object 67,500,500,-600
make object box 68,200,1000,10
rotate object 68, 0,270,0
texture object 68,16
position object 68, 500,700,0
Walls 2,3,4, and 5 make the entire playing field. They all have collisions on them
P1Xcol# = object position X(1)
P1Zcol# = object position Z(1)
if P1Xcol#<-975 then P1Xcol#=-975
if P1Zcol#<-975 then P1Zcol#=-975
if P1Xcol#>975 then P1Xcol#=975
if P1Zcol#>975 then P1Zcol#=975
cpZ# = Newzvalue(P1Z#,A1Y-180,200)
cpX# = Newxvalue(P1X#,A1Y-180,200)
if cpX#<-999 then cpX#=-999
if cpZ#<-999 then cpZ#=-999
if cpX#>999 then cpX#=999
if cpZ#>999 then cpZ#=999
Position camera cpX#,P1Y#+65,cpZ#
Point camera P1X#,P1Y#+35,P1Z#
Now since I added these three new boxes to make the 2D looking house, How does one put the correct collisions on it so they cant walk through them? There are three boxes and a hole in the middle to mimick an open door