Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
Hedge on FXCM, 4 or 5?
by Martin_HH. 02/16/26 16:09
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (clonman), 6,944 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Capturing the camera location and write to an INI file #263391
04/29/09 11:11
04/29/09 11:11
Joined: Apr 2009
Posts: 10
W
Wayne Offline OP
Newbie
Wayne  Offline OP
Newbie
W

Joined: Apr 2009
Posts: 10
Hi chaps,

I need a little advide, I had a camera that moves around a room to pre set camera coorinates x,y,z, Pan, Rotate and tilt. What I am looking at now, is with the press of a button, writing any given possition to an ini file. So the end user can set where they want the camera's to be located and select they can predifine 6 possitions that write to and update and read from the file.

Has anyone got any ideas on this?

Regards

Re: Capturing the camera location and write to an INI file [Re: Wayne] #263393
04/29/09 11:23
04/29/09 11:23
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
This should give you a start:

http://www.conitec.net/beta/afile_var_write.htm

You can write the positions into a text file and read them from that text file later.

Was this your question?

Re: Capturing the camera location and write to an INI file [Re: Pappenheimer] #263394
04/29/09 11:29
04/29/09 11:29
Joined: Apr 2009
Posts: 10
W
Wayne Offline OP
Newbie
Wayne  Offline OP
Newbie
W

Joined: Apr 2009
Posts: 10
In short that was the question.

Many thanks for you help

Regards Wayne

Re: Capturing the camera location and write to an INI file [Re: Wayne] #263398
04/29/09 11:45
04/29/09 11:45
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Maybe, you have to write the values of the position first into an array and copy it later from the array into the file, because writing into a a file is quite slow.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1