Godot Nodes 101: Raycast2D Gun Tutorial

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 26

  • @ZakRahman
    @ZakRahman 4 роки тому +1

    James Taft is one of the best teachers I have ever encountered. Max respect.

  • @PeterKLee
    @PeterKLee 4 роки тому +2

    I love this! This is the Raycast tutorial I've looking for!

  • @zombeatzgaming
    @zombeatzgaming 3 роки тому +1

    Make sure you are using the GLES3 if you are using Particles2D. If you don't, you wont able able to turn on the emitting function. Otherwise, use the CPU Particle.

  • @caraccount863
    @caraccount863 3 роки тому

    Excellent video, Thanks for taking the time to put it together!!

  • @batuhanyigit4342
    @batuhanyigit4342 3 роки тому +2

    If you're using Godot 3.2 and getting an error while trying to summon the hit effect use "temp.global_position" instead of "temp.position"

  • @SergioCandelaRamirez
    @SergioCandelaRamirez 4 роки тому +3

    I really like Mr James video... He explain things so clearly :)

  • @sam_music555
    @sam_music555 4 роки тому +1

    the code you wrote is so different from the one you normally see on godot docs. So in gdscript you can specify the return type of a function, and the type of the parameters like C ?

    • @Gdquest
      @Gdquest  4 роки тому +2

      You can, although it's entirely optional. It gives you more error reports from the compiler, better autocompletion in the script editor, and should give you much better performances with future updates to the gdscript compiler.

  • @ZoidbergForPresident
    @ZoidbergForPresident 5 років тому

    Nice intro to raycast with Godot!

  • @dunas2662
    @dunas2662 5 років тому +1

    Keep up with the good work! Love it

  • @DivyanshusGameTech
    @DivyanshusGameTech 4 роки тому +1

    Hay can you make it follow the mouse like in game "my friend Pedro" ?

  • @Mr77igor
    @Mr77igor 4 роки тому

    Hello, im having this error message using is_colliding >> Invalid call. Nonexistent function 'is_colliding' in base 'Nil'. Do you have any idea how to fix this?? thanks

  • @MrDaduh59
    @MrDaduh59 5 років тому

    Good stuff. Keep ‘em coming!

  • @namename-zu8uk
    @namename-zu8uk 4 роки тому +1

    Do I have to add the script to every scene?

  • @Flonkation
    @Flonkation 5 років тому

    When importing the particle scene via the exported parameter , does it automatically preload it, or what exactly happened there?

  • @readontopic6122
    @readontopic6122 5 років тому +1

    does godot have automatic indent function?

  • @flafcodes
    @flafcodes 5 років тому +1

    Doesn't this cause memory leaks as side effects?
    Because particle nodes are added to the scene on each input, but *queue_free* is never invoked. 🤔

    • @xcran
      @xcran 5 років тому +2

      14:06

    • @flafcodes
      @flafcodes 5 років тому +2

      @@xcran Ty, didn't notice the particle is a scene capable of self-cleaning. 👍

  • @fajarmukhlis7584
    @fajarmukhlis7584 3 роки тому

    Is this the same way if we want to instance the bullet?

  • @kyonas6047
    @kyonas6047 2 роки тому

    oh that's what layers are for.. i was confused

  • @thomasbaker4970
    @thomasbaker4970 5 років тому

    Sorry for the noob questions but how can you download the project files from Github?

    • @xcran
      @xcran 5 років тому

      Go to this page: github.com/GDquest/Godot-engine-tutorial-demos
      Hit "Clone or Download" (green button) and then "Download ZIP". You'll have all the demos.

  • @TorbenPedersen-nk3by
    @TorbenPedersen-nk3by Рік тому +2

    Literally nothing worked. Probably because I'm in Godot 4

  • @froyorex4856
    @froyorex4856 5 років тому +3

    You have really in depth tutorial but you have to be a little engaging because I found my self sleeping a few times during the tutorial.