AndreasRoither / Bombermann

Web Project - Bombermann Classic Remake
MIT License
2 stars 0 forks source link

Map redrawing at player join event #15

Closed AndreasRoither closed 6 years ago

AndreasRoither commented 6 years ago

Some parts (or all of the map) get redrawn when a player joins. If a player creates a game lobby and then another player joins, the first player will be overdrawn and thus almost disappearing from sight, only leaving the head visible.

AndreasRoither commented 6 years ago

Fixed; Player Coords were not calculated at the beginning of the init of a player, so the standard background coords were drawn, thus drawing over another player