Project: Core — Devlog #6
so heres whats happened since devlog 5:
the game has people in it now. kind of.
MULTIPLAYER (oh god): threw Mirror in and made everything server authoritative.
NETWORK PLAYER: movement runs on the server now. the client just sends “m holding W and shift and looking this way 30 times a second and the server does the actual math. sprint works, gravity works.
INTERACTION: pressing E shoots the ray on the server now, with a distance check so you cant magnet-fist ores from across the map.
HEALTH: health is a SyncVar with a hook so the bar updates everywhere, theres a kill plane and a respawn that resets the controller and velocity instead of leaving you glitching through the floor.
Bug fixes: everyone can see the same world now, which is a big one. same bugs as before, just now they happen in two windows at once
.
current issues: machines still arent really networked yet, NetworkMachine is just the base drill battery, smelter insides and conveyor stuff are still convinced the game is singleplayer. power grid is basically how much power we say we have instead of a real grid, remote players dont have a visible body, building mode is not networked.
whats next: machines actually syncing their insides (battery, smelter in/out), remote players getting real bodies and nametags, networking build mode, and probably the nuclear reactor. this game is starting to feel like a game you could play with a friend, which is either great or terrifying.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.