Studycase: Multiplayer test with Netcode for GameObjects
PROJECT LINK
TECH STACK
| Platforms | Windows |
| Game Frontend | Unity, Netcode for GameObjects |
| Backend | Unity, Netcode for GameObjects Gin |
UNITY NETCODE CURLY TEST
Overview
- Create room and enter room by known IP and Port.
- Brief walk, jump with decent synchronization.
- Charge Forward feature.
Create room
- Look at the UI group in the top-left corner. If it is about join room UI, press “»Create Room” to back to required UI group.
- Enter your favourite port, as long as it does not overlap with other services.
- Press “Create Room”, then your room is created with your player fell from the sky.
- The text below will be updated with your IP and port. Tell no one but your fellows to crowd the room.
- (Optional) Press “Close Room” to close your room and kick all your friends out.
Join room
- Look at the UI group in the top-left corner. If it is about create room UI, press “»Join Room” to back to required UI group.
- Enter your friend’s IP and port to join with them.
- Press “Join Room”, then your man will fall from the sky (again ?).
- (Optional) Press “Leave Room” to leave your friend and back to real world.
Controls
- WASD or Arrows: Move the character in the third-person-perspective.
- Mouse: Look around
- Space: Jump
- Left Click (hold and release): Perform a Charge forward.
- Right Click: Cancel the Charge (or WIP Skill)