react-soccer-lineup icon indicating copy to clipboard operation
react-soccer-lineup copied to clipboard

Show players in their playing position

Open jmaister opened this issue 5 years ago • 3 comments

I see that the players are shown in formation in their own part of the field.

Would it be possible to see the players in their playing position?

i.e. The forward players of team A are near the goal keeper of team B.

jmaister avatar Apr 21 '20 16:04 jmaister

I could develope it with a bit of guidance.

jmaister avatar Apr 22 '20 11:04 jmaister

Hey! Thanks for your comment, I think I understood what you are saying. In fact, at first I valued doing it in that way, but I think having both teams filling the entire field can be a bit confusing.

I did a quick test... It would be something like that, right?

Captura de pantalla de 2020-04-22 16-16-35

I think it looks a bit weird. Also, players could easily overlap. So at the end I thought the best option is to keep each team in their own half of the field, except when there is only a single team. However, if you have any good idea, I'd like to read it 🙂

giustini avatar May 18 '20 21:05 giustini

The way I see it is that every type of player has it's own "line", so they are not on top of the other team players.

One line for goal keeper, defense, midfield and forward. i.e. 4-3-3

Maybe another line between the other's team defense and goal keeper to place the central forward. i.e. 4-2-3-1

imagen

Lines would look like this: imagen

jmaister avatar May 18 '20 22:05 jmaister