Alright, i didnt just edit the other one because i figured that out. You were right, the numbers had to be changed though.
this is a good example of that code
REM Project: test
REM Created: 12/28/2005 11:22:53 AM
REM
REM ***** Main Source File *****
REM
make object cube 1,1
make object cube 2,1
make object cube 3,1
make object cube 4,1
scale object 1,20,20,20
scale object 2,20,20,20
scale object 3,20,20,20
scale object 4,20,20,20
position object 1,-1,-1,0
position object 3,1,1,0
position object 2,1,-1,0
position object 4,-1,1,0
do
if upkey()=1
move object up 1,.005
endif
if downkey()=1
move object down 1,.005
endif
if leftkey()=1
move object left 1,.005
endif
if rightkey()=1
move object right 1,.005
endif
for t=1 to 3
if object hit(1,t)
text 0,0,"HAHAHA, you lose!"
sync
wait 1000
END
endif
next t
loop
BUT!!!!! i tried putting it on my game. I had it before so that it would bounce you oppisite the side you hit. Exept i could only do that for the side walls, because i coulld get more that 2. I put your code in and made it so you just died if you hit a wall. Now, if you got to the bottam part, you go through it for a little, then you die!!! i just dontunderstand it , Charlie Brown
Here is the code i have for my game.
REM Project: Space Trench
REM Created: 12/27/2005 6:55:23 PM
REM
REM ***** Main Source File *****
REM
make camera 1
position camera 1,0,0,.1
make object cube 1,1
make object cube 2,1
make object cube 3,1
position object 1,0,-2,0
position object 2,-2.5,0,0
position object 3,2.5,0,0
scale object 1,500,50,100000
scale object 2,50,500,100000
scale object 3,50,500,100000
load image "wall_m_22.BMP",1
texture object 1,1
texture object 2,1
texture object 3,1
load object "H-Jet Fighter-Move.3ds",4
scale object 4,20,20,20
yrotate object 4,180
position object 4,0,-1,2.5
REM obsitcles
make object cube 5,1
position object 5,0,0,50
scale object 5,200,50,20
S=0
H=100
do
print "HEALTH"
print H
print ""
print "SCORE"
print S
move object 4,-.1
move camera 1,.1
if upkey()=1
move object 4,.05
move camera 1,.05
endif
if leftkey()=1
turn object left 4,.01
endif
if rightkey()=1
turn object right 4,.01
endif
if scancode()=17
pitch object up 4,-.05
pitch camera up 1,.05
endif
if scancode()=31
pitch object down 4,-.05
pitch camera down 1,.05
endif
if scancode()=30
roll object left 4,.3
endif
if scancode()=32
roll object right 4,.3
endif
if shiftkey()=1
if upkey()=1
move object 4,-.2
move camera 1,.2
endif
endif
for t=1 to 3
if object hit(4,t)
H=H-100
endif
next t
if H=0
goto lose
endif
loop
lose:
do
PRINT "YOU LOSE, press escape to quit"
if escapekey()=1
END
endif
loop
dont assume cause ull make an ass out of you and me!