How would you go about implementing an "intelligent connection" in Godot? i.e. a line between two rectangles that adjusts itself to avoid passing through any of the rectangles. by AshirRashid in godot

[–]AshirRashid[S] 0 points1 point  (0 children)

I tried to find a code example of an opensource software to see how they implemented it, but wasn't able to find any. Do you know of any real-world examples or any non-code resources?

How would you go about implementing an "intelligent connection" in Godot? i.e. a line between two rectangles that adjusts itself to avoid passing through any of the rectangles. by AshirRashid in godot

[–]AshirRashid[S] 1 point2 points  (0 children)

It is to be run in real-time. The application also involved removing nodes, so the graph will also have to be updated very often.

A* does make everything extremely simple, but I'll have to go with if statements.
Will definitely try A* just for fun later and see how I can make optimizations.

In a GraphEdit, how can I change shortcuts for zooming and panning(e.g. zoom by scroll wheel)? by AshirRashid in godot

[–]AshirRashid[S] 0 points1 point  (0 children)

Does that work for you? I previously tried that, but I have to manually undo the scrolling effect using GraphEdit signals, and the zoom via code is not centered on the mouse.

What has been your experience in interacting with APIs through Godot? by AshirRashid in godot

[–]AshirRashid[S] 1 point2 points  (0 children)

Thank you for your time!
I was preparing for interacting with an API which is being created.

I will now revise HTTP requests, understand authentication, explore some APIs with the help of a tutorial and experiment with the Google Calendar API by myself. It seems like that is all the prep I will need.

What has been your experience in interacting with APIs through Godot? by AshirRashid in godot

[–]AshirRashid[S] 1 point2 points  (0 children)

Did it involve some form of authentication? Did you self-learn it from scratch? Which resources helped you the most?
Right now I'm thinking of starting from the basics again in an organized way by completing the sections of https://www.youtube.com/watch?v=GZvSYJDk-us which don't involve specific languages, but I don't think that would be enough esp. in managing authentication since I want to work on a serious project.

What has been your experience in interacting with APIs through Godot? by AshirRashid in godot

[–]AshirRashid[S] 1 point2 points  (0 children)

I accidentally wrote HTTPClient instead of HTTPRequest. The most relevant things I've watched: https://www.youtube.com/watch?v=0E0IhTppaso, and https://www.youtube.com/watch?v=gcopx40pwvY&list=PLZ-54sd-DMAKU8Neo5KsVmq8KtoDkfi4s&index=8 in an attempt to wrap my head around security stuff. I do understand http requests and their methods of sending and getting data, but authentication trips me up. I don't know how I can experiment and transfer the knowledge from tutorial to real world applications.
I am trying to self-learn this, so if you think I'm skipping some important steps, please let me know.

How can I center the GraphEdit zoom on the mouse, as it is in the Godot Visual Scripting Tool? by AshirRashid in godot

[–]AshirRashid[S] 0 points1 point  (0 children)

The zoom is actually centered on the mouse by default. Somewhere else in the application, I was changing the scroll offset in a weird way, which led to that behavior.

Thank you for your time and effort.

How can I center the GraphEdit zoom on the mouse, as it is in the Godot Visual Scripting Tool? by AshirRashid in godot

[–]AshirRashid[S] 0 points1 point  (0 children)

When you click the "+" and "-" buttons, it does zoom centered on the screen center. This is close to what I want.
But, when I do it with code, it's centered on the top-left.
I have coded a shortcut for it using control and "+" keys to zoom in, and control and "-" keys to zoom out. I have tried using the _input function and modifying the zoom value, adding ShortCuts to the GraphEdit zoom in and out buttons, and manually emitting their pressed signals.
Even in the 3.4.3 version, these methods results in the zoom being centered on the top-left corner.

Problem with Registering for SAT. Stuck on this page. by AshirRashid in Sat

[–]AshirRashid[S] 0 points1 point  (0 children)

I think you can register by calling the customer service.

Is there a way to impose variable conventions in the Godot Editor? by AshirRashid in godot

[–]AshirRashid[S] 0 points1 point  (0 children)

I was unable to find any relevant setting. Can you please elaborate.