I'm not sure whether or not the problem is in the coding mechanics that I use or whether it's a built-in problem. I'm trying to add a spectate verb that can shift your client.eye to another mob in the world.
The problem is that while spectating that person it works until they go 25 32x32 tiles (800 pixels) horizontally or 12 32x32 tiles (384 pixels) vertically away from your own client.
Is this a common problem with built-in DM coding or do I need to show codes to explain this?
Apr 30 2012, 2:48 am
|
|
Probably wanna show some code, as I've seen this work across 700 x 900 tile maps before, with 32 x 32 pixel tiles.
|
The problem you're having is common, you need to set the 'client.perspective' variable to EYE_PERSPECTIVE to have changes to client.eye work properly when the object you have eye set to ventures out of your visual-update range. Otherwise you get a black-screen.
client.perspective = EYE_PERSPECTIVE |