Mastering GD Script

Title: Mastering Godot
Author: Marijo Trkulja
Edition: first, 2020

Table of Contents
New project creation………………………………………………………………………………..1
Create 2D scene…………………………………………………………………………………..1
GD Script……………………………………………………………………………………………1
Class 2D Node…………………………………………………………………………………………2
Properties:…………………………………………………………………………………………..2
Position………………………………………………………………………………………….2
Rotation………………………………………………………………………………………….3
Scale………………………………………………………………………………………………4
Transform……………………………………………………………………………………….5
Global position………………………………………………………………………………..6
Global rotation………………………………………………………………………………..7
Global rotation degrees…………………………………………………………………….7
Global scale…………………………………………………………………………………….8
Global transform……………………………………………………………………………..9
Z index…………………………………………………………………………………………10
Z as relative…………………………………………………………………………………..11
Methods:…………………………………………………………………………………………..12
Apply_scale…………………………………………………………………………………..12
Get_angle_to…………………………………………………………………………………13
Get_relative_transform_to_parent……………………………………………………13
Global_translate…………………………………………………………………………….14
Look_at………………………………………………………………………………………..15
Move_local_x……………………………………………………………………………….15
Move_local_y……………………………………………………………………………….16
Rotate…………………………………………………………………………………………..17
To_global……………………………………………………………………………………..18
To_local………………………………………………………………………………………..18
Translate……………………………………………………………………………………….18

下载地址:
魔玩居blender/godot/3d打印交流群
QQ群:342886438