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.

DarkBASIC Professional Discussion / [SOLVED] Loading object out side loop changes camera position

Author
Message
locecode
4
Years of Service
User Offline
Joined: 11th Apr 2019
Location:
Posted: 6th May 2019 21:08
So I am making a label to gosub to load in objects to test, here is my code, The camera changes for every load, why?

I need the camera to stay where it is every loaded object but it changes to 0,0,0 then repositions after coming back into the loop.

The author of this post has marked a post as an answer.

Go to answer

WickedX
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 7th May 2019 02:22
This post has been marked by the post author as the answer.
AutoCam Off
locecode
4
Years of Service
User Offline
Joined: 11th Apr 2019
Location:
Posted: 7th May 2019 02:37
Thank you WickedX, I'm trying now.

locecode
4
Years of Service
User Offline
Joined: 11th Apr 2019
Location:
Posted: 7th May 2019 02:41
It worked, cool thing, thanks.
locecode
4
Years of Service
User Offline
Joined: 11th Apr 2019
Location:
Posted: 7th May 2019 03:19
Ok, now if I can get the objects I load in the be placed right in front of the player object, I'm not sure how to do this.

Ive tried everything I can think of.
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 8th May 2019 02:06 Edited at: 8th May 2019 02:07
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
locecode
4
Years of Service
User Offline
Joined: 11th Apr 2019
Location:
Posted: 8th May 2019 02:16
Ortu

Thank you, All my questions answered in one day, its my lucky day today.

Login to post a reply

Server time is: 2024-03-28 20:08:55
Your offset time is: 2024-03-28 20:08:55