Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / I need help

Author
Message
mc danger
20
Years of Service
User Offline
Joined: 28th Jun 2006
Location: Earth
Posted: 5th Jul 2006 01:43
How do i make it so that the camera follows the player, but it's in third person view but not directly behind, but sort of at an angle

<img src="http://i63.photobucket.com/albums/h159/phantom5025/Mcdanger.jpg">
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 5th Jul 2006 04:01
What kind of angle? like a little bit above the player pointing down?

I doubt you can draw me/60 by hand, so you REALLY can't draw ME/1, can you? Okay, you do that. Just tell me when you're done, I'll be someplace else having a life.
Sven B
21
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 5th Jul 2006 19:28
Quote: "What kind of angle? like a little bit above the player pointing down?"


We can only guess...

Ordinary 3rd camera following


Or using your mouse to rotate around your player:


Try to understand the code, so you can adapt it in your own games. If there is anything you don't understand about the code, please post it here.

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 7th Jul 2006 12:23
If you use any standard 3rd Person Camera Code, but add/subtract a bit from the Angle of the player, then that would work for you.

Login to post a reply

Server time is: 2026-07-07 06:02:05
Your offset time is: 2026-07-07 06:02:05