How to print Hello world in Godot

 

How to print Hello world in Godot






first step open yor project.



create scene i use Node2D



right click Node2D then click Attach Script



click create


like this



this function will run one time when run game



this function will run loop



type print("Hello world") in function _ready():
will print Hello world one time


then press f5 or click run project button


choose select current



change name scene what you want then click save



Hello world will appear in this.
ok it's finish.




















ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

How to Export Window Desktop game in godot

How to create animation in krita frame by frame for game

How to create button and click exit game in Godot