godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.83k stars 1.63k forks source link

Updated Multiplayer Pong C# to Godot 4.2 #1045

Open tinybitofheaven opened 5 months ago

tinybitofheaven commented 5 months ago

This is my attempt for updating the Multiplayer Pong C# demo project to Godot 4. This demo was marked as needing an update in [#697]. I tested it locally, it works as expected. I kept the comments mostly as is, please let me know if anything about what I made needs to change!

tinybitofheaven commented 5 months ago

I was wondering what the issue was with this formatting check? It isn't telling me exactly what's wrong and as far as I can tell, the lines of code it's flagging in the .sln file are exactly the same.

image

aaronfranke commented 5 months ago

@tinybitofheaven That file has an invisible BOM at the start of the file, which should be removed.

tinybitofheaven commented 5 months ago

@aaronfranke Thanks, I believe it is fixed now!