Gamestudio Links
Zorro Links
Newest Posts
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Pause button for evaluation shell?
by jcl. 08/07/26 11:43
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 1,549 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19222 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