Gamestudio Links
Zorro Links
Newest Posts
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
1 registered members (AndrewAMD), 1,014 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Third person camera code? #396438
03/06/12 22:30
03/06/12 22:30
Joined: Nov 2009
Posts: 70
Siwler Offline OP
Junior Member
Siwler  Offline OP
Junior Member

Joined: Nov 2009
Posts: 70

I'm looking for a good third person camaera and player movement snipped code, does anyone know of any?

I just realized that first person shooter will not work for my game. laugh


Honesty will get you far, were dishonesty will get you only so far in life.

Re: Third person camera code? [Re: Siwler] #396460
03/07/12 01:10
03/07/12 01:10
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA

while(1)

{
camera.pan = my.pan;
camera.x = my.x - 200 * cos(my.pan);
camera.y = my.y - 200 * sin(my.pan);
camera.z = my.z + 20;
camera.tilt = -15;
camera.roll = 0;
wait(1);
}


I think that should work, been a long time since I wrote such a code.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: Third person camera code? [Re: FoxHound] #396571
03/07/12 23:07
03/07/12 23:07
Joined: Nov 2009
Posts: 70
Siwler Offline OP
Junior Member
Siwler  Offline OP
Junior Member

Joined: Nov 2009
Posts: 70
I'm curious about who made 2010 Assault contest, I like the player movement. But it looks like who ever made it does not want to share main.c and player controls files.

He or she shared all other files but not the main.c and player files.
I would like to know how that person made players controls, it would be nice if he/she would like to share.


Honesty will get you far, were dishonesty will get you only so far in life.


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

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