Create Stunning X-Ray or Masking Effect in Godot 4 | Godot Tutorial

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 16

  • @Salabasama
    @Salabasama 8 месяцев назад +1

    Thank you, this helped me jump into something else I was trying to do.

  • @codeender5980
    @codeender5980 5 месяцев назад +2

    THANK YOU, this helped me solve a really niche problem I was having in my game
    SUBBED

  • @renji-hjk
    @renji-hjk 11 месяцев назад +1

    thanks dude i have been looking for a tutorial to replace the extint mask mode since the version 3.0 i am still waiting for then to readd this mode, it was so easy to do that

  • @wulfrickwille3871
    @wulfrickwille3871 11 месяцев назад +2

    Wow thx! Extremely usefull and well explained

  • @luckyknot
    @luckyknot 10 месяцев назад

    Nice fx, thanks for sharing Mr. Dicode!

  • @omega_sol
    @omega_sol 4 месяца назад

    Thank you so much :)

  • @anajamx
    @anajamx Месяц назад

    it only worked in the viewport , when i run the game the mask node becomes BLACK completely

  • @FateflyYip
    @FateflyYip 5 месяцев назад

    Hi, bro. How can I using mask to do a skill icon cooldown effect? like 25%, 50%, 75%, 100% with a half transparent mask on the image?

  • @BasementStudi0s
    @BasementStudi0s 21 день назад

    make sure to put the mask in front of the thing your masking

  • @jessicaherrera7900
    @jessicaherrera7900 11 месяцев назад

    This is an awesome tutorial. I can't play it though. I keep getting an error that says 'Invalid set index 'global_position" (on base:"null instance') with value of type "Vector2'. What does that mean? I figured it out. I renamed my layer to "mask" and it worked. If I wanted it to look like you were looking through a magnifying glass to see a close-up with the mask layer, how would I do that?

    • @dicode1q
      @dicode1q  11 месяцев назад +2

      Well that's wierd. This error means on line "mask.global_position" the "mask" is null. This means the mask node's Location you specified is wrong and Godot can't find it.
      Try to use auto-complete feature to avoid typos. Or simply drag and drop the node into GDscript. It will automatically get the path.
      And for magnifying glass. Under the buffercopy node, you could add a magnifying glass Sprite and under it place the mask. Then in code, instead of changing the mask position, change the magnifying glass Sprite.
      Structure will look like this.
      -buffercopy
      -closedbox
      -magnifySprite
      -mask

    • @jessicaherrera7900
      @jessicaherrera7900 11 месяцев назад +1

      @@dicode1q You are awesome!

    • @jessicaherrera7900
      @jessicaherrera7900 11 месяцев назад +1

      @@dicode1q It worked. 😄

    • @dicode1q
      @dicode1q  11 месяцев назад +1

      glad to hear that!@@jessicaherrera7900

  • @Fnydo
    @Fnydo 10 месяцев назад

    Hello bro please create a tutorial on creating endless car racing game in godot