GithubHelp home page GithubHelp logo

mitchmakesthings / godot-things Goto Github PK

View Code? Open in Web Editor NEW
91.0 91.0 36.0 113.03 MB

Collection of tutorials and mini-projects

License: MIT License

GDScript 40.15% C# 59.44% Batchfile 0.34% Dockerfile 0.07%

godot-things's People

Contributors

mitchmakesthings avatar numerikmitch avatar scriptsengineer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

godot-things's Issues

Multiplayer Explained Issue on Alpha 12

Hi Mitch, I'm attempting to run through the networking tutorial that you created and having trouble with running the .bat files in windows. I modified it accordingly but I'm getting these errors when running it.

"C:\Program Files\Godot\Godot_v4.0-alpha12_win64.exe" --path .\Multiplayer\ --server --headless

Godot Engine v4.0.alpha12.official.2c11e6d9e - https://godotengine.org

WARNING: res://Characters/Aliens/Player.tscn:3 - ext_resource, invalid UUID: uid://yro4ypo6sek5 - using text path instead: res://Characters/Aliens/Blue/BlueSpriteFrames.tres
     at: load (scene/resources/resource_format_text.cpp:440)
WARNING: res://Characters/Aliens/Blue/BlueSpriteFrames.tres:3 - ext_resource, invalid UUID: uid://xjnyqosqdmw1 - using text path instead: res://Characters/Aliens/Blue/alienBlue_walk1.png
     at: load (scene/resources/resource_format_text.cpp:440)
ERROR: Unable to open file: res://.godot/imported/alienBlue_walk1.png-977551bdfe3f92f98b7269f8ed7e31ba.ctex.
   at: (scene/resources/texture.cpp:822)
ERROR: Failed loading resource: res://.godot/imported/alienBlue_walk1.png-977551bdfe3f92f98b7269f8ed7e31ba.ctex. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:205)
ERROR: Failed loading resource: res://Characters/Aliens/Blue/alienBlue_walk1.png. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:205)
ERROR: res://Characters/Aliens/Blue/BlueSpriteFrames.tres:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Characters/Aliens/Blue/alienBlue_walk1.png
   at: load (scene/resources/resource_format_text.cpp:478)
ERROR: Failed loading resource: res://Characters/Aliens/Blue/BlueSpriteFrames.tres. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:205)
ERROR: res://Characters/Aliens/Player.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Characters/Aliens/Blue/BlueSpriteFrames.tres
   at: load (scene/resources/resource_format_text.cpp:478)
ERROR: Failed loading resource: res://Characters/Aliens/Player.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:205)
ERROR: Parser bug (please report): tried to assign unset node without an identifier.
   at: resolve_class_interface (modules/gdscript/gdscript_analyzer.cpp:656)
SCRIPT ERROR: Parse Error: Could not preload resource file "res://Characters/Aliens/Player.tscn".
          at: GDScript::reload (res://System/main.gd:4)
SCRIPT ERROR: Parse Error: Cannot use simple "@export" annotation because the type of the initialized value can't be inferred.
          at: GDScript::reload (res://System/main.gd:3)
ERROR: Method/function failed. Returning: ERR_PARSE_ERROR
   at: reload (modules/gdscript/gdscript.cpp:886)
WARNING: res://System/main.tscn:4 - ext_resource, invalid UUID: uid://dhvi1o1ili7f - using text path instead: res://Maps/TestMap.tscn
     at: load (scene/resources/resource_format_text.cpp:440)
WARNING: res://Maps/TestMap.tscn:3 - ext_resource, invalid UUID: uid://bp0gb6ml2ruad - using text path instead: res://Maps/Tileset.tres
     at: load (scene/resources/resource_format_text.cpp:440)
WARNING: res://Maps/Tileset.tres:3 - ext_resource, invalid UUID: uid://cday0n3k0g4ew - using text path instead: res://Maps/tiles_spritesheet.png
     at: load (scene/resources/resource_format_text.cpp:440)
ERROR: Unable to open file: res://.godot/imported/tiles_spritesheet.png-9be423446f4a81a250967ebe388bb064.ctex.
   at: (scene/resources/texture.cpp:822)
ERROR: Failed loading resource: res://.godot/imported/tiles_spritesheet.png-9be423446f4a81a250967ebe388bb064.ctex. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:205)
ERROR: Failed loading resource: res://Maps/tiles_spritesheet.png. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:205)
ERROR: res://Maps/Tileset.tres:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Maps/tiles_spritesheet.png
   at: load (scene/resources/resource_format_text.cpp:478)
ERROR: Failed loading resource: res://Maps/Tileset.tres. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:205)
ERROR: res://Maps/TestMap.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Maps/Tileset.tres
   at: load (scene/resources/resource_format_text.cpp:478)
ERROR: Failed loading resource: res://Maps/TestMap.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:205)
ERROR: res://System/main.tscn:4 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Maps/TestMap.tscn
   at: load (scene/resources/resource_format_text.cpp:478)
ERROR: Failed loading resource: res://System/main.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:205)
ERROR: Failed loading scene: res://System/main.tscn
   at: (main/main.cpp:2669)
ERROR: Condition "_first != nullptr" is true.
   at: ~List (./core/templates/self_list.h:106)
ERROR: Condition "_first != nullptr" is true.
   at: ~List (./core/templates/self_list.h:106)
ERROR: 1 RID allocations of type 'P11GodotBody3D' were leaked at exit.
ERROR: 1 RID allocations of type 'P11GodotArea3D' were leaked at exit.
ERROR: 1 RID allocations of type 'P12GodotSpace3D' were leaked at exit.
ERROR: 1 RID allocations of type 'P11GodotArea2D' were leaked at exit.
ERROR: 1 RID allocations of type 'P12GodotSpace2D' were leaked at exit.
ERROR: 2 RID allocations of type '6NavMap' were leaked at exit.
ERROR: 1 RID allocations of type 'N18RendererCanvasCull6CanvasE' were leaked at exit.
ERROR: 1 RID allocations of type 'N16RendererViewport8ViewportE' were leaked at exit.
ERROR: 1 RID allocations of type 'PN13RendererDummy14TextureStorage12DummyTextureE' were leaked at exit.
ERROR: 1 RID allocations of type 'N17RendererSceneCull8ScenarioE' were leaked at exit.
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
     at: cleanup (core/object/object.cpp:1918)
ERROR: Resources still in use at exit (run with --verbose for details).
   at: clear (core/io/resource.cpp:474)


I assume it is something that I'm doing incorrectly, but wanted to make sure?

Terrain-Destruction-Example breaking changes in the update to Godot 4 (sprite update broken)

In Circle.gd, the drawn color was changed from Color.BLACK to Color(1, 1, 1, 0). This makes the visual update feature no longer work, since the rest of the functionality relies on the drawn circle to have an alpha value of 1.

The other problem in the update to 4.2 is that collision_holder.get_children() and global_position raise errors in the thread. This can be fixed by adding global_position, collision_holder.get_children() to the thread argument list and replacing their respective occurrences in rebuild_collisions_from_geometry.

I make this issue for posterity, not with the expectation that it will be fixed (it's easy to do ourselves). Thanks for the great code.

How to work with multiplayer spawn

Hi Mitch,
I used your networking tutorial to try to implement networking for my game. And the synchronizer works just fine but I cannot get the multiplayer spawner to do anything at all. Would you be willing to take a look at what I am doing wrong in my game? No one on IRC seems particularly knowledgeable about the MultiplayerSpawner since I get crickets when I ask about how it works.
If you could also type up an explanation of how it works programatically that would be enlightening; but I am grateful for any help you can spare.
Here is the link to my project:
https://code.bkeys.org/Game_Projects/zombie-shooter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.