fishmonkey1 / radar-test

fuggin with da radars boiiiii
1 stars 0 forks source link

Chat room feature #13

Closed BarndoBoi closed 2 months ago

BarndoBoi commented 2 months ago

This adds a chatroom to both the Game scene and Lobby scene, and it's networked and working. I also put together a NamePicker so you have to pick a name in Options or before hosting/joining. The only small problem at the moment is that the chat does not automatically scroll to the bottom when a new chat message comes in, and I'll open an issue for it to do later in a cleanup pass. I stubbed out an enum for the different types of messages so we can have things displayed in different areas. Maybe filter UI component by the messages types they listen for. I also made a delegate for other scripts listening for received messages. I should check and see if I can make the focus stay on the chat after a message is sent, but that will also be for the cleanup branch.

Everything has been tested and looks good for main! <3