Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
view #143459
07/26/07 07:08
07/26/07 07:08
Joined: Apr 2007
Posts: 83
prog Offline OP
Junior Member
prog  Offline OP
Junior Member

Joined: Apr 2007
Posts: 83
I want the camera to rotate(circular view) as soon as the level is loaded.
Actually, i want the complete view of the level automatically as soon as the level loads.
And after that it has to come back to normal view, so that player can move....

Re: camera view [Re: prog] #143460
07/26/07 08:06
07/26/07 08:06
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
good for you. have you tried anything?

we don't know anything about your level, your code, or anything at all really.

so far this looks like the wrong forum for you -- you don't need help with something, you want something done for you. correct me if i'm wrong by having a try, telling us what you tried, and asking us what you did wrong.



julz


Formerly known as JulzMighty.
I made KarBOOM!
Re: view [Re: JibbSmart] #143461
07/26/07 09:49
07/26/07 09:49
Joined: Apr 2007
Posts: 83
prog Offline OP
Junior Member
prog  Offline OP
Junior Member

Joined: Apr 2007
Posts: 83
Thanks,
I was able to get the view of the level on pressing any of the key,
but i wanted it to be done as soon as the level loads with out pressing any key.
Now even that is done.
I needed suggestions...

Re: view [Re: prog] #143462
07/26/07 10:18
07/26/07 10:18
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
okay that's good to see sorry the impression i got at first was that you just wanted something done for you.

it's difficult for some of us to help without seeing some of the code you're using so we can build on it. do you mind giving us a peak?

vec_rotate would be really helpful for calculating the position of the camera for rotating around the level.

for example, if you want the camera to have a lateral distance of 1000 quants from the centre of the level, and an elevation of 300, every frame do the following:
Code:

camera.pan += 3 * time_step;
vec_set(camera.x,vector(-1000,0,300));
vec_rotate(camera.x,camera.pan);



sorry i don't know how much you've done yourself. if you haven't done the rotation yet, that should help ^^

julz


Formerly known as JulzMighty.
I made KarBOOM!

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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