How to cancel the avatar border?

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

daniel22
Posts: 6
Joined: 03 Apr 2020, 15:28
Location: United States

How to cancel the avatar border?

Postby daniel22 » 04 Apr 2020, 12:52

[url]Hey,
there is a way to cancel the avatar border in the simpleMMOworld example?
that's what I mean:
Image

I like the border but the red border (the bigger one) cause to another users in the room to be hidden on the screen if they are out of it.
User avatar
Bax
Site Admin
Posts: 4515
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: How to cancel the avatar border?

Postby Bax » 04 Apr 2020, 16:44

Sorry, I don't understand... what you want to remove is actually what the demo wants to shows.
Did you read the related tutorial? It should clarify your ideas.
http://docs2x.smartfoxserver.com/ExamplesJS/simple-mmo
Paolo Bax
The SmartFoxServer Team
daniel22
Posts: 6
Joined: 03 Apr 2020, 15:28
Location: United States

Re: How to cancel the avatar border?

Postby daniel22 » 04 Apr 2020, 16:49

Bax wrote:Sorry, I don't understand... what you want to remove is actually what the demo wants to shows.
Did you read the related tutorial? It should clarify your ideas.
http://docs2x.smartfoxserver.com/ExamplesJS/simple-mmo

I did, I want to use the demo example but I want all the users in the room will be shown and not only the users inside the current user border.
I don't find the function which do it.
Any ideas?
User avatar
Bax
Site Admin
Posts: 4515
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: How to cancel the avatar border?

Postby Bax » 04 Apr 2020, 16:52

There isn't a "function" to do so. You have to rethink all the example, removing the MMORoom-related features.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 4 guests