How to center on the avatar?

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
xiewm
Posts: 5
Joined: 19 Apr 2012, 04:26

How to center on the avatar?

Post by xiewm »

How to keep the camera center on the avatar?
for example, the map is 640*480?
xiewm
Posts: 5
Joined: 19 Apr 2012, 04:26

Re: How to center on the avatar?

Post by xiewm »

When my avatar walk on the map, I want the camera center on the avatar? How to edit the config file?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: How to center on the avatar?

Post by Bax »

Check the EnableContinuousScrolling parameter in the client config documentation: http://openspace-engine.com/support/man ... ientConfig
Paolo Bax
The SmartFoxServer Team
xiewm
Posts: 5
Joined: 19 Apr 2012, 04:26

Re: How to center on the avatar?

Post by xiewm »

already set the EnableContinuousScrolling =1 and the Map scrolled continuously when the avatar walk to the side of the map.
I want the camera keep center on the avatar from the avatar is left the access point.

How to set the <------Scrolllimit>?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: How to center on the avatar?

Post by Bax »

Set all scrollLimit parameters to 50.
Paolo Bax
The SmartFoxServer Team
christina
Posts: 10
Joined: 26 Mar 2012, 02:53

Re: How to center on the avatar?

Post by christina »

Hello,
I have set the config file"OpenSpace_client.xml" as you said (set EnableContinuousScrolling=1, all *ScrollLimit = 50), but it doesn't work.

Is there anything else I need to set?

Thanks a lot!

Christina
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: How to center on the avatar?

Post by Bax »

Can you please show the behavior with those settings in place? Because it works as expected here.
Paolo Bax
The SmartFoxServer Team
Post Reply