• 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
November 22, 2024
in Tips
0

Hi! Hello friends! In 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 Basic Guide to Godot Engine. Please follow the article with me!

Join the channel Telegram belong to AnonyViet 👉 Link 👈

CHAPTER I: BASICS OF GODOT ENGINE

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 operates based on objects (Objects/Class) and many objects forming contexts (Scenes).

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

For example: A ball is an object that is ROUND and has the ability to roll on a flat surface. The round characteristics of the ball can be called properties, while the ability to roll is called methods.

Another example is the cat:

Cat (Class)
properties Method
Name: Meow

Category: Tabbies

Gender: Male

Walk(3000 steps)

Running(5000km)

Sleep(10000 years)

Eat)

Scratch()

Syntax for calling properties and methods:

. // call properties (variables). For example: Cat.Name, Cat.Gender

. // call method (function). Example: Cat.Scratch(), Cat.Eat(rice), Cat.Walk(3000 steps)

Note: “Object can be called Class”

Context (scene) is also an object

A scene can contain many objects and other contexts. For example:

Scene 1:

Scene 2:

Vegetable beds
Coriander

Vietnamese coriander

Weed

Scene 3:

Back garden
Fish shirt (Scene 1)

Vegetable bed (Scene 2)

Chicken

Duck

– Objects in Godot are called nodes.

– White Node (Node) refers to invisible objects

– Blue Node (Node2D) indicates 2D objects

– Red node (Spatial) indicates 3D objects

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

– Purple nodes 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 attributes: Name, Type and ID

Overview of the interface and how it works on Godot Engine

– Graph tree structure:

Overview of the interface and how it works on Godot Engine

CREATE AND ACCESS NODE

Overview of the interface and how it works on Godot Engine

By Clicking Create New Node. You can create multiple Nodes with different Types and rename the Node depending on your intended use.

  • Access & interact with Node through scripts

– Sequential access:

Overview of the interface and how it works on Godot Engine

– If a parent Node has many child Nodes, the child Node range is numbered from 0 to n-1

– You can sequentially access other Nodes from a child Node using 3 functions

+ get_parent() // call parent Node

+ get_child(index) // call down to child Node

+ get_children()[index] // call down the child Node range

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

+ Keywords self to call the Node itself

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

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

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

– For example get_node("/root/OngNoi/Cha/Toi").name // print Node name I or $”/root/OngNoi/Cha/Toi”.name

– get_node(".") = self

In today's article, I introduced and shared with you the interface and basic operation of Node on Godot Engine. If you have any questions, please leave a comment and suggestion! To better understand, you can refer to the basic videos at https://www.youtube.com/playlist?list=PLOk8LhtEwUVn8e3RUfk-rX_RB3f9_ulYg. Thank you for following the article! 🙂

Previous Post

Namechk: Check whether a brand name has users on a variety of platforms

Next Post

Seekr: Collect & manage OSINT data

AnonyViet

AnonyViet

Related Posts

How to create a virtual Pet, a virtual character running around on the Desktop to relax
Tips

How to create a virtual Pet, a virtual character running around on the Desktop to relax

October 15, 2026
15 cách tăng tốc Windows 10 nhanh như gió
Tips

15 cách tăng tốc Windows 10 nhanh như gió

October 14, 2026
How to create Guest mode Shortcuts for Chrome and Edge
Tips

How to create Guest mode Shortcuts for Chrome and Edge

October 13, 2026
Test what breed of dog you are through 10 multiple choice questions
Tips

Test what breed of dog you are through 10 multiple choice questions

October 13, 2026
Fliqlo – Create digital clock screens on Windows and phones
Tips

Fliqlo – Create digital clock screens on Windows and phones

October 12, 2026
SynthID Detector: Genuine AI checking tool from Google
Tips

SynthID Detector: Genuine AI checking tool from Google

October 11, 2026
Next Post
Seekr: Collect & manage OSINT data

Seekr: Collect & manage OSINT data

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted

Recent News

Instructions for receiving pension through VNeID without going to the ward

Instructions for receiving pension through VNeID without going to the ward

October 16, 2026
MBTI, Big Five, DISC or Holland: which personality test should you choose?

MBTI, Big Five, DISC or Holland: which personality test should you choose?

October 15, 2026
How to create a virtual Pet, a virtual character running around on the Desktop to relax

How to create a virtual Pet, a virtual character running around on the Desktop to relax

October 15, 2026
Record first, choose focus later: how to use 4K 60 fps Cinema mode on iPhone 18 Pro

Record first, choose focus later: how to use 4K 60 fps Cinema mode on iPhone 18 Pro

October 15, 2026
Instructions for receiving pension through VNeID without going to the ward

Instructions for receiving pension through VNeID without going to the ward

October 16, 2026
MBTI, Big Five, DISC or Holland: which personality test should you choose?

MBTI, Big Five, DISC or Holland: which personality test should you choose?

October 15, 2026
How to create a virtual Pet, a virtual character running around on the Desktop to relax

How to create a virtual Pet, a virtual character running around on the Desktop to relax

October 15, 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

Instructions for receiving pension through VNeID without going to the ward

Instructions for receiving pension through VNeID without going to the ward

October 16, 2026
MBTI, Big Five, DISC or Holland: which personality test should you choose?

MBTI, Big Five, DISC or Holland: which personality test should you choose?

October 15, 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