Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / AHHH....what's wrong with this code?[dbpro]

Author
Message
Raithe
20
Years of Service
User Offline
Joined: 19th Jun 2004
Location:
Posted: 21st Jun 2004 15:21
I'm making a breakout game, and I get error's running this code saying that the object already exsist?!

for t = 1 to 10
make object cube t,1
position object t,(t*1.1)-6,0,5
next t
make object box 1,1,1,3 `the error is right here
position camera 0,5,-5:point camera 0,0,0

do

loop

~Ellusion Games~
xXxLife is like a box of chocalate's there's always one's you dont likexXx
TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 21st Jun 2004 15:27
You have already made object 1(t=1 to 10).

Current Projects: Dark_Worlds_Map_Editor version0.1 aneale5@orange.esinet.org.uk
[img]http://www.uploadimages.net/images/331935avatar2.JPG[img]
jasuk70
21
Years of Service
User Offline
Joined: 3rd Dec 2002
Location: Hemel Hempstead
Posted: 21st Jun 2004 15:29
You have given the box object the same number as the first cube object.

try changing it to

make object box 11,1,1,3

Jas

----
"What is this talk of 'release'? Klingons do not'release' software. It escapes leaving a bloody trail of developers and quality assurance people in its wake!"
Raithe
20
Years of Service
User Offline
Joined: 19th Jun 2004
Location:
Posted: 21st Jun 2004 15:38
smack's him self in the forhead-yeah that worked-

~Ellusion Games~
xXxLife is like a box of chocalate's there's always one's you dont likexXx

Login to post a reply

Server time is: 2024-09-22 14:30:23
Your offset time is: 2024-09-22 14:30:23