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 / Loading Objects Resets my character's position

Author
Message
Shooters
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location:
Posted: 8th Sep 2008 05:31
Okay basically I create an object using the dbLoadObject, then every (time interval) I creat another using the same. This resets my characters position. I know its best to load the objects before, but I don't know how many I'll need It could be hundreds.
Now dbCloneObject works the same. dbInstanceObject doesn't reset my position, but it doesn't play the animations in the .x file. My character and the object I load use the same .x file, but I changed it and there is no difference. Has anyone come across this problem. I might switch from creating the objects dynamically, but If anyone has a fix let me know.

Jack
RancidRat
16
Years of Service
User Offline
Joined: 19th Feb 2008
Location:
Posted: 8th Sep 2008 09:54
yeah, I had the same problem, and you need to be able to load objects anytime during the game.

http://forum.thegamecreators.com/?m=forum_view&t=132912&b=22


it is simple, just put dbAutoCamOff ( ); before you get to the loop.

Login to post a reply

Server time is: 2024-09-30 05:25:56
Your offset time is: 2024-09-30 05:25:56