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
Camera Mod #309245
02/08/10 06:04
02/08/10 06:04
Joined: Jan 2004
Posts: 439
G
Gamesaint762 Offline OP
Senior Member
Gamesaint762  Offline OP
Senior Member
G

Joined: Jan 2004
Posts: 439
I need to modify the Camera 3rd person camera code and palyer code a bit. I want to be able to have the basic 3rd person view but when I press the S key I want the player to turn and run towards the camera. After a bit the camera will move to the side and pan to follow player as he runs by, then smoothly transition back to standard 3rd person view. Now I know this is kinda complex, but is there any code out there to steer me in the right direction? Please help, thanks!

Re: Camera Mod [Re: Gamesaint762] #309387
02/08/10 23:52
02/08/10 23:52
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
write the exact algorithm you want, i'll see if i can provide the code

e.g
Code:
while(player_exists){

   if key_s
      camera look at player

      if player moves passed camera
         wait 1/2 second
         move camera to new spot behind player
         camera look at player
   wait(1);
}



Re: Camera Mod [Re: MrGuest] #309393
02/09/10 01:07
02/09/10 01:07
Joined: Jan 2004
Posts: 439
G
Gamesaint762 Offline OP
Senior Member
Gamesaint762  Offline OP
Senior Member
G

Joined: Jan 2004
Posts: 439
sent you a PM MRGuest...


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