Pressing middle mouse now shows a
radial menu HUD element that allows
selecting active controlled element.
At the moment there only is "Creative
Building" but in the future you may be
able to select weapons and such.
Currently not networked.
- Add IntegratedServer to ClientScene
- Prevent _Draw from being called by
making Player invisible on server
- Use _UnhandledInput in CreativeBuilding
- Add Cursor.ScreenPosition property
- Remove DeSerialization, RPC and Sync code
- Use Godot's built-in Rpc and Rset methods
- Use built-in Multiplayer with Root set to World
- Add World class, handles spawning,
getting players and blocks
- No more custom packets
- No more reflection or attributes
- Reintroduce LocalPlayer scene
- Keep it simple, stupid!
"Singleplayer" now connects to an integrated server
which runs in a completely separate scene tree
- Update to Godot 3.3.0
- Reorganize code into multiple subfolders & files
- Add Client and Server scenes & scripts, extend Game
- Add NetworkSync, syncs state for networked objects
- Add NetworkRPC, allows for C#-friendly RPC by
adding attribute to instance and static methods
- Replace most packets with RPC
- Allow de/serialization of Node / synced objects
- Remove LocalPlayer for now, add IsLocal to Player
- Add BlockPos and Facing structs
- Add CreativeBuilding node / script,
handles placing and breaking of blocks
- Move spawn block packets to static
BlockPackets class, add destroy packet
- Move Cursor to its own canvas layer so
its position can be used in other scripts
- Use viewport transform instead of
camera position in Background script
The high-level multiplayer API in Godot appears
to introduce ways for players to cheat too easily.
As a precaution, players can now hopefully only
send messages to the server, which relays them to
each player, after potentially validating them.
- Player's Name is set to their network ID,
DisplayName accessible through new property
- Add Authenticating NetworkStatus:
This is where new players will send data
about themselves, currently appearance.
- Use _Ready instead of _EnterTree where applicable
- Add Init extension method:
Allows initializing members before the
node has been added to the scene tree.
- Add Rpc/RsetExcept extension methods
- Appearance (name and color) can be changed
- Appearance is synced to other players
- Split tabs into multiple scripts
- Use nameof() where applicable
The escape menu pauses the game and
will allow for creating and connecting to
multiplayer games.
- Move scenes to scene/ folder
- Move scripts to src/ folder
- Add Hearbit font and CREDITS.md
- Remove git integration (we have VS Code)
Game now uses the default viewport instead of
a separate one that's then drawn as a texture.
This makes anything involving mouse position
much easier to deal with.
- Disable camera moving depending on cursor position
- Start work on an "escape menu" with
controls to join multiplayer sessions
- Move player to scene, instanciate on start
- Change application icon