Giter Site home page Giter Site logo

Comments (5)

KoBeWi avatar KoBeWi commented on July 22, 2024 3

It's not only new, it's better. You don't use strings but actual signal references, so it's safer.

from godot.

KoBeWi avatar KoBeWi commented on July 22, 2024 1

Why aren't you using the new syntax, i.e. $Area2D.custom_signal.connect()? The signals should be properly suggested this way.

from godot.

ryanalbrecht avatar ryanalbrecht commented on July 22, 2024 1

@KoBeWi no particular reason. I am very new to Godot and I was following a tutorial and went down a rabbit hole to and figure out what was wrong with the editor and discovered this bug and thought I would report it.

On the subject of the new syntax I did start using this in favor of the old, however I do find the old syntax with the popup very useful to show exactly what signals are available. At first the engine is difficult to get your mind around and this helps.

from godot.

JekSun97 avatar JekSun97 commented on July 22, 2024

$Area2D.custom_signal.connect()? The signals should be properly suggested this way.

Just because it's new doesn't mean you have to use it :)
I'm used to the old syntax and don't regret it

from godot.

HolonProduction avatar HolonProduction commented on July 22, 2024

Very likely another regression from #79386 which might be somewhat similar to #92219, in that the value does not end up in the final type.

Even though there is a better way for signal connection, this should be fixed, as it might turn up with other argument options like AnimationPlayer.play

Note to my self: extend the autocompletion tests to incorporate argument options on get_node

from godot.

Related Issues (20)

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.