I followed the instructions from [GDExtension C++ example](https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_cpp_example.html). Here is my code: ```c++ static CreatureServer *cs_signleton = NULL; void initialize_creature_server(ModuleInitializationLevel p_level) { if...
I'm making a 3D Survivors-like game and I'm trying to get as many enemies in the game as possible. I'd really appreciate some ideas on how to improve this. What I have working right now: - Every enemy is a static mesh with the animation done in a shader. - Every 0.2 seconds, the enemy's Area3D is sy...
Any idea how to create a Distance Constraint between two points on two PhysicsBody3Ds? The physical scenario I'm trying to model is two bodies which are connected by a rope, but not at their center of mass. I looked at the different joints, but I don't think any of them will give the equivalent of a...
I have a bunch of different effects applied via spatial shaders. Example: burning, frozen, shocked, etc. I'm trying to make these compostable so that it is easy to add/remove the effect. I can think of two solutions: Add/remove the shader from the object material's "Next Pass" and stack the material...
One other thing that can help improve performance further is to have the Area2D only sync its transform with the parent every couple of frames. Disabling monitoring for the Area2D of enemies will help some.
Very difficult changes:
You can also move the code to C++ via gdextension if you need much better performance, but that's a lot of work. You can also move the swarming behavior to separate thread(I haven't implemented this yet).
I did a similar thing in 3D and have 2000 enemies at 60fps
This part of the docs should help https://docs.godotengine.org/en/latest/tutorials/scripting/instancing_with_signals.html
One other thing that can help improve performance further is to have the Area2D only sync its transform with the parent every couple of frames. Disabling monitoring for the Area2D of enemies will help some.
Very difficult changes: You can also move the code to C++ via gdextension if you need much better performance, but that's a lot of work. You can also move the swarming behavior to separate thread(I haven't implemented this yet).
I did a similar thing in 3D and have 2000 enemies at 60fps
Steam requires you to disclose AI generated code.
https://store.steampowered.com/news/group/4145017/view/3862463747997849618
Steam requires you to disclose AI generated content including code.
Edit: https://www.reddit.com/r/GameDevelopment/s/wP6JYr5STa
Steam requires you to disclose AI generated content including code.
https://www.reddit.com/r/GameDevelopment/s/wP6JYr5STa