rivet-gg / plugin-godot Goto Github PK
View Code? Open in Web Editor NEWPlugin for Rivet + Godot 4
Home Page: https://rivet.gg/learn/godot
License: Apache License 2.0
Plugin for Rivet + Godot 4
Home Page: https://rivet.gg/learn/godot
License: Apache License 2.0
We should make a clone of Agar.io in Godot. It doesn't need to be perfect, but it would be a good test to how quickly we can iterate while using Rivet in Godot. This tracking issue will include several sub-tasks to complete, with what I imagine an MVP for Agar.io should include. We might not implement every mechanic, since only a few are really required to get the gist of being able to play with others.
The only issues should be in the areas where you're calling some GDScript code from C#. Would be worth checking how other plugins manage this.
Also I think there might be a version of dodge the creeps that is C#, so that could be good to test with?
Something with the powershell command isn't working properly
Currently, release-please doesn't update the version in plugin.cfg with releases.
When players collide, allow the larger one to eat the smaller one. It would be nice if they could run into each other a bit further before one is eaten. This might be possible in a few different ways:
If the rivet-cli binary is changed while the plugin is running (say from Godot settings), it should bring the plugin back to the login screen. This will reverify that the plugin is compatible with the version that is installed.
This is an extension from #31
Currently, when you hit cancel when linking your project to Rivet, the thread that is running the Rivet CLI will stay open. It will close when Godot closes, but until then, it's effectively a leak that is endlessly polling for login.
This can be resolved by moving the linking logic into Godot, and allowing it to do the polling instead. If it does it with a n-second timeout, then in between it can check if it should be shut down.
Add a food scene, make it collidable with the player, and spawn them around the world. When a player runs into them, feed that player.
The example Godot Ball (https://app.graphite.dev/github/pr/rivet-gg/examples/17/Add-godot-ball-example) can be used as a starting place. The example includes basic code to create a scene for each player, and automatically connect to a server. For the Agario clone, we should probably leave it at auto-joining a server so that lobbies aren't the focus of too much.
This should be represented by a primitive in Godot. Allow the player size to grow and shrink, and add a feed()
function that is called when the player interacts with food in the game.
@forest said:
Just came across an interesting issue in our Godot plugin repo, where Godot stores the current selected value in scene files, which means that it leaks some information about the previously-selected namespace. Will look into this.
plugin-godot/addons/rivet/devtools/dock/deploy_tab.tscn
Lines 25 to 39 in 572cf36
<https://github.com/rivet-gg/plugin-godot/blob/572cf36c1a1cffc44bd81535ca15b8aedf2a9b9c/addons/rivet/devtools/dock/deploy_tab.tscn | deploy_tab.tscn>
`OS.get_environment("HOME")` won't return anything on Windows, so it won't search for the binary in the right location
We need our plugin to be updated in the asset store when new versions are released. This should be automated.
The new version of the plugin doesn't include buttons to start a local Godot server. This means you would need to run a command from the command line, which adds more overhead to the user.
This tracking issue will be up until this feature is implemented.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.