Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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