I need the camera angle(or client's eye) not to be at the centre of the screen but instead usr.x+1(right of the user's location)
i tried;
client
eye = src.mob.x+1
But that completely failed.
ID:171985
![]() Jul 13 2004, 9:44 am
|
|
Sorry for all the questions lately but here's one more:
I need the camera angle(or client's eye) not to be at the centre of the screen but instead usr.x+1(right of the user's location) i tried; client But that completely failed. |
hhm.. not that formiliar with Client Eye.. but i think this should work..
mob Login() client.eye = locate(wheree4uwantit2b) (PS: havn't coded for long, so my mind could be messed up a lill) |
ShakerDeath wrote:
hhm.. not that formiliar with Client Eye.. but i think this should work.. Coded for a long time? you just joined byond in 03. [link] |
no, new key in 03...
EDIT: no, it was new key in 01/02, but in 03 there was some kinda account crash, whatever -_-. Don't call me a noob, i created 2/3 pretty succesfull games, and i'm making 2 new ones.. |
Firstly, putting that right under login and not indented in the line after gives me 4 errors.
And if u do indent: Read This And Then Read My Reply To It |
I've had a similar problem, I could only change client.eye when the client's mob was in view, try
mob/Login() |
the problem with that is that the camera doesn't move with the player, it stays stuck at one location.
|
Well then I guess you could overwrite Move() or North(), South(), East(), and West() to move client.eye with the mob.
|
ooh yea, i know this!
ehm.. ooh damnd, too lazy.. forgot.. well.. it could be.. hhm.. try this: mob/Login() |
client That right there makes it so you can move the client.eye about without the fear of the dreaded "black screen" occuring. |
no that doesn't work very well because now the camera is still fixed in one place and if u go out the view then it doesn't give me a black screen but the camera doesn't follow my guy out.
I need it so the camera is constantly moving with my guy, by camera i mean client eye i think. |
client jesus, i've never used client.eye before, and i figured that out before i got to the bottom of this thread! (i'll be flamed for this post, i'm sure, but there's your solution ^_^;;;) ~FM |
Forgetme wrote:
> client jesus, i've never used client.eye before, and i figured that out before i got to the bottom of this thread! Or, better yet... client |
This makes it so that the eye relocates based on the mob's position after every move.