Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiplayer-bomber example #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Yarwin
Copy link

@Yarwin Yarwin commented Jan 20, 2025

closes: #903
A demo adapted from: https://github.com/godotengine/godot-demo-projects/tree/master/networking/multiplayer_bomber

I took few liberties, mostly related to caching references to nodes in the scene tree by using OnReady, using signals instead of parsing tree in process, and declaring gamestate autoload as engine singleton but it is mostly faithful to the original example – including one bug (errors when host disconnects before the peer).

I changed few assets, since I was unable to find their original sources with the license. All the other assets (explosion and shard) not explicitly listed in example's README.md has been created for this particular example by godot's contributors.

@@ -22,6 +22,9 @@ We currently feature the following demo projects:
- [**Hot reload**](hot-reload)
Showcases how classes and their state can be hot-reloaded in the Godot editor.

- [**Multiplayer bomber**](hot-reload)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[**Multiplayer bomber**](multiplayer-bomber)

please update the path here :octocat: 🍻

@Bromeon Bromeon force-pushed the master branch 7 times, most recently from 422875c to 58cc02c Compare March 15, 2025 16:09
@Bromeon Bromeon force-pushed the add-multiplayer-bomber-example branch from b5b5b1a to ea62768 Compare March 16, 2025 14:35
@Bromeon
Copy link
Member

Bromeon commented Mar 16, 2025

Fixed CI in master and rebased this PR.

I'll likely do some other improvements on master, also regarding newer APIs in dodge-the-creeps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add example on how to use Godot Rust with godot's multiplayer API
3 participants