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.

Dark GDK / nothing's working!

Author
Message
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 9th Mar 2009 11:34 Edited at: 9th Mar 2009 12:16
im making a game and when i do this code nothing but a blue screen appears?



can someone help me to fix it?
silenus
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 9th Mar 2009 11:53
dbMakeObjectSphere, so far so good, but I can't find:

Quote: "dbPositionObject
This command will place the specified 3D object in 3D space.

Syntax
void dbPositionObject ( int iObject, float fX, float fY, float fZ )"
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 9th Mar 2009 12:30
well, there sphere has a size of 5 and u just moved the camera to -4.. So ur still INSIDE the object. LOL think

Keep it simple.
Questions? Mail me
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 9th Mar 2009 12:37 Edited at: 9th Mar 2009 12:38
Still doesnt work!
silenus
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 9th Mar 2009 12:40
You need to place your sphere

dbPositionObject
AlexZinn
15
Years of Service
User Offline
Joined: 17th Feb 2009
Location:
Posted: 9th Mar 2009 12:43


this code work to me perfect..

If someone need something, add me to your msn
Was SuperKid , now AlexZinn
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 9th Mar 2009 12:45
Any ideas?
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 9th Mar 2009 12:47
lol thanks that works, but i cant move the sphere?
AlexZinn
15
Years of Service
User Offline
Joined: 17th Feb 2009
Location:
Posted: 9th Mar 2009 12:48
you tryed the code i gived? just the delete the camera following thing and try

i dont thing it will help but try a cube instead of sphere.... at least if you inside the cube you will still see something.. but realy.. i have no idea... someone help him?!

If someone need something, add me to your msn
Was SuperKid , now AlexZinn
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 9th Mar 2009 12:48
this is my code:

tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 9th Mar 2009 12:49
that works but i cant move the sphere
AlexZinn
15
Years of Service
User Offline
Joined: 17th Feb 2009
Location:
Posted: 9th Mar 2009 13:11 Edited at: 9th Mar 2009 13:18
delete

dbPositionCamera ( dbObjectPositionX ( PLAYER ), dbObjectPositionY ( PLAYER ), dbObjectPositionZ ( PLAYER ) - 4 );

explanation.

you put that code in the loop.. so automatic when you move the camera go with you :p

If someone need something, add me to your msn
Was SuperKid , now AlexZinn
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 9th Mar 2009 13:25
i fixed it people, its OK! thanks for all ur help
AlexZinn
15
Years of Service
User Offline
Joined: 17th Feb 2009
Location:
Posted: 9th Mar 2009 13:31
Happy to can help hehe

If someone need something, add me to your msn
Was SuperKid , now AlexZinn

Login to post a reply

Server time is: 2024-11-18 13:59:02
Your offset time is: 2024-11-18 13:59:02