Hi
my game.config file contains
“PLAYER_ONE_START_LANE”: 1,
“PLAYER_ONE_START_BLOCK”: 1,
“PLAYER_TWO_START_LANE”: 4,
“PLAYER_TWO_START_BLOCK”: 1,
However, when I run the Game Engine
Which player is which?
Hi
my game.config file contains
“PLAYER_ONE_START_LANE”: 1,
“PLAYER_ONE_START_BLOCK”: 1,
“PLAYER_TWO_START_LANE”: 4,
“PLAYER_TWO_START_BLOCK”: 1,
However, when I run the Game Engine
Which player is which?
Hello @thinus in this case, the 1 represents player with id 1 and the 2 represents player with id 1. So according to the console output you are the player with id 2. This is most likely due to a config value in the game-engine.config called RACER_PLACEMENT_SORTING being set to 0 (position players alphabetically) or 1 (position players in reverse alphabetic order). You can prevent this by changing that value to -1 then the game-engine will behave like before and order players according to “player A” and “player B” in the game-runner.config. In our latest starter pack released today we have set the default back to -1 to avoid confusion as in this case.