• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Overview of the interface and how it works on Godot Engine

AnonyViet by AnonyViet
February 1, 2023
in Tips
0

Hi! Hello friends! Today’s article I will introduce an overview of the interface and how it works Godot Engine. This is also one of the articles in the series The Ultimate Guide to Godot Engine. Follow along with the article!

Join the channel Telegram of the AnonyViet 👉 Link 👈

CHAPTER I: GODOT ENGINE BASIC

INTERFACE & HOW IT WORKS

Overview of the interface and how it works on Godot Engine.

Interface overview

Overview of the interface and how it works on Godot Engine

How it works:

Godot works on objects (Objects/Classes) and multiple objects composing contexts (Scenes).

So what is an object? There are many concepts of an object, we can roughly understand it as a tangible or intangible existence. Each different object has different properties and characteristics.

Example: A ball is an object with the characteristic ROUND and the ability to roll on a plane. The roundness of the ball can be called properties, while the ability to roll is called the method.

Another example is the cat:

Cat (Class)
Properties Method (method)
Name: Meow

Category: Tabby cats

Gender: Male

Walk(3000 steps)

Run(5000 km)

Sleep(10,000 years)

Eat)

Scratch()

Syntax for calling properties and methods:

<class_name> . <properties name> // call the property (variable). Ex: Cat.Name, Cat.Gender

<class_name> . <method name[parameters]> // call the method (function). Ex: Cat.Scratch(), Cat.Eat(rice), Cat.Go(3000 steps)

Note: “Object can be called Class”

Context is also an object

A scene can contain many objects and other contexts. Eg:

Scene 1:

Scene 2:

Vegetable bed
Cilantro

Laksa leaves

Weed

Scene 3:

Back garden
Fish Dress (Scene 1)

Vegetable bed (Scene 2)

Chicken

Duck

– Objects in Godot are called nodes (Node)

– White Node (Node) to indicate invisible objects

– Blue Node (Node2D) to indicate 2D . objects

– Red node (Spatial) to indicate 3D objects

– Green node (Control) to indicate the objects that make up the game interface (GUI)

– Purple node to indicate control objects

Tree Structure in Godot (Tree Graph)

– Nodes in Godot are linked together in the form of a graph tree (Scene Tree)

– Node has 3 basic properties: Name (name), Type and ID

Overview of the interface and how it works on Godot Engine 7

– Graph tree structure:

Overview of the interface and how it works on Godot Engine 8

CREATE AND ACCESS NODE

Overview of the interface and how it works on Godot Engine 9

By Clicking Create New Node. You can create many Nodes with different Type and rename Node according to your purpose.

  • Node access & interaction through script

– Sequential access:

Overview of the interface and how it works on Godot Engine 10

– If a parent node has many children, the sequence of child nodes is numbered from 0 to n-1 .

– You can sequentially access other Nodes from child Nodes with 3 functions

+ get_parent() // call to the parent Node

+ get_child(index) // call down the child node

+ get_children()[index] // call down the sub-Node array

_ get_tree().get_root() // call up Node Root

+ Keyword self to call the Node itself

– For example from Node I want to access the parent Node and print out the father’s name, then call get_parent().name

– For example from Node I want to access the Cousin Node and print my Cousin name, then call get_parent().get_parent().get_child(1).get_child(0).name

  • Access by path by keyword get_node(“Node path”) or $”Node path”

– Eg get_node("/root/OngNoi/Cha/Toi").name // print the name of My Node or $”/root/OngNoi/Cha/Toi”.name

– get_node(".") = self

Today’s article I introduced and shared with you the basic interface & operation of Node on Godot Engine. If you have any questions, feel free to leave comments and suggestions! For more information, you can refer to the basic videos at https://www.youtube.com/playlist?list=PLOk8LhtEwUVn8e3RUfk-rX_RB3f9_ulYg. Thank you for following this post! 🙂

The article achieved: 5/5 – (100 votes)

Tags: EngineGodotinterfaceoverviewWorks
Previous Post

DDoS Thinking – AnonyViet

Next Post

Instructions for using Recuva Pro 1.53.1087 Full Key to recover deleted files

AnonyViet

AnonyViet

Related Posts

Windows 7/8.1/10 users will be upgraded to Windows 11 for free
Tips

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving ChatGPT Plus for 1 month for free in 2026
Tips

Instructions for receiving ChatGPT Plus for 1 month for free in 2026

July 28, 2026
Some reasons I don’t like Windows 11
Tips

Some reasons I don’t like Windows 11

July 27, 2026
Instructions on how to get free Facebook white ticks
Tips

Instructions on how to get free Facebook white ticks

July 27, 2026
Collection of Windows 11 wallpapers for computers and phones
Tips

Collection of Windows 11 wallpapers for computers and phones

July 26, 2026
Don’t install leaked Windows 11
Tips

Don’t install leaked Windows 11

July 25, 2026
Next Post
Instructions for using Recuva Pro 1.53.1087 Full Key to recover deleted files

Instructions for using Recuva Pro 1.53.1087 Full Key to recover deleted files

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted

Recent News

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving the free Certified LLM Security Expert certificate

Instructions for receiving the free Certified LLM Security Expert certificate

July 30, 2026
MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

July 29, 2026
What is quantum resistant cryptography? Why must the Internet change?

What is quantum resistant cryptography? Why must the Internet change?

July 29, 2026
Windows 7/8.1/10 users will be upgraded to Windows 11 for free

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving the free Certified LLM Security Expert certificate

Instructions for receiving the free Certified LLM Security Expert certificate

July 30, 2026
MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

July 29, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving the free Certified LLM Security Expert certificate

Instructions for receiving the free Certified LLM Security Expert certificate

July 30, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply