Alright so, my question to you, is there a way to make the center of the screen any different? Like see the two pictures below.
Image1 : [This is the current way]
Image2 : [This is the way I want]
Is there a way to make it so there there's 4 Blocks to my Left and 5 on my Right for the View thing?
Kinda hard to explain, sorry for that =\
ID:164330
Jun 25 2007, 11:28 am
|
|
Jun 25 2007, 11:36 am
|
|
If you just want to make it so you don't see the black edge look up client.edge_limit. If you want to shift the eye over to the right one, then you need: client.eye
|
In response to Drumersl
|
|
That black isn't the edge, it's a null place. It's how it looks in the Pokemon game so, I'm leaving it as is.
Anyway, Ill look into client.eye, thanks. :) |
In response to LucifersHellion
|
|
It's not really client.eye you should look at, it is client.perspective....
<font size=1>client.perspective |= EDGE_PERSPECTIVE</font> |
In response to GhostAnime
|
|
But he doesn't care if the edges are shown, he just wants to shift the eye over one to the right.
|
In response to Drumersl
|
|
Alright well, I tried client.eye, I'm not too sure if I did it right though, simply because I get an error. I read the Help File, it said to try something like this -
client So I tried that, only for a test to see how it would look with (5,5,1) but it give's me an error : Pokemon Crystal.dm:3:error::expected a constant expression :\ Huh. |
In response to LucifersHellion
|
|
You have to define it at runtime or in a proc. And well you do also need to set the perspective to EYE_PERSPECTIVE
Ex: client |
In response to Drumersl
|
|
Oh, alright. Thanks.
And, for eye = locate(3,3,2); what's the 3,3,2? x,y,z? Kind of a stupid question, but that's what I'm thinking. |
In response to LucifersHellion
|
|
Yeah it is x,y,z. However, doing that way is just an example. With that you will have a locked camera. I suggest looking at Spuzzum's:
http://developer.byond.com/hub/Spuzzum/s_eye and Garthors: http://developer.byond.com/hub/Garthor/PerspectiveView To show you how to have the camera move with the mob. |