How to center on the avatar?

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

Moderators: Lapo, Bax

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

How to center on the avatar?

Postby xiewm » 02 May 2012, 09:27

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?

Postby xiewm » 02 May 2012, 09:29

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: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: How to center on the avatar?

Postby Bax » 02 May 2012, 09:35

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?

Postby xiewm » 02 May 2012, 09:54

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: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: How to center on the avatar?

Postby Bax » 02 May 2012, 11:49

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?

Postby christina » 22 Oct 2012, 05:31

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: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: How to center on the avatar?

Postby Bax » 22 Oct 2012, 07:59

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

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 18 guests