DEV Community

Mario_V
Mario_V

Posted on

Phase 5 Week 2 Goofy Racers

Hello, this week I am still working on my Phase 5 project Goofy Racers this week I had a lot of issues most of which were just me missing or not noticing the wrong symbol on a line of code. Apart from that though I was able to get the server working and it now receives the ID, position, rotation, model, and texture to send it to other clients as of writing this however the clients don't see the other players but they do both connect to the server so my next objective is to get them to see each other. The second thing I got done this week is the players moving I did need to build a custom character controller because of how the FPC affected the game and UI but the movement works but the camera does not seem to follow, and because of this the player doesn't go in the direction you turn either. And finally, the UI works a lot better now the server does need to start separately but that's not too bad and I can leave that up until after the program ends since I mostly want to have a multiplayer game before Thursday which I should be able to get done by the end of the weekend.

Most of the issues this week werent that big it was just a lot of typos and me forgetting things that I should have known were supposed to be there for example a line of code I completely forgot to add that was one that updates the scene for every frame and runs the code so the scene recognized my inputs but didnt know how they were supposed to be used. Another typo I had was when the player collided with the floor, it was supposed to simulate gravity. Still, instead, I was setting the player's position to slightly above the player which is why it looked like it kept bouncing and I fixed it by just changing the equal sign to a plus sign.

Top comments (0)