GamingCoookie / dv-multiplayer-continued

A multiplayer modification for the game Derail Valley
Other
14 stars 5 forks source link

Improve the handling of player colors #32

Closed Insprill closed 1 year ago

Insprill commented 1 year ago

The settings menu has been redone to manually draw the color option, since the Draw attribute seems to be picky about when it works. With this, it's no longer backed by a HEX string.

When sending the color over the network, it's now packed into a uint.

This also fixes an issue where sometimes the color would be null and cause connections to fail, and an issue where colors weren't being synced properly.