Make an Action RPG in Godot 3.2 - YouTube
P1-P4 moving
func _physics_process(delta):
Input.get_action_strength()
input_vector.normalized()
velocity.move_toward()
move_and_slide()
P5
AnimationPlayer
P6
AnimationTree - AnimationNodeStateMachine
BlendSpace2D
P7
Tilemap - Autotile
P8
Tilemap - Collision
P9
Attack
enum, match, INPUT
Animation - insert Fuction as key
P10
ctrl + K : comment, uncomment
queue_free()
Signals
Instancing Scenes
func _process(delta):
if Input.is_action_just_pressed("attack"):
var GrassEffect = load("res://Effects/GrassEffect.tscn")
var grassEffect = GrassEffect.instance()
var world = get_tree().current_scene
world.add_child(grassEffect)
grassEffect.global_position = global_position
queue_free()
P11
<HitBox / HurtBox>
Area2D
CollisionShape2D
Position2D
Collision Layer / Mask
P12
<Roll State>
P13
<Enemy knockback>
<HitBox / HurtBox>
Area2D - Signal area_enterd(area: Area2D)
P14
<Enemy> Stats, Export, Setget, Extends, Signal
P15
<Effect>
P16
<Bat AI>
<방향 구하기>
var direction = (player.global_position - global_position).normalized()
P17
<Player Stats + Enemy Attack>
<Hurtbox>
set_deferred()
P18
<Player Hearts UI>
Lable
TextureRect
P19
<Soft Collisions>
P20
<Player Camera>
CanvasLayer
RemoteTransform2D
P21
<Bat Wander State>
Timer
list.shuffle()
list.pop_front()
randomize()
P22
<Sounds + Hit Flash Effect> Shader
AudioStreamPlayer
CanvasItem-Material
Shader Param
Resource-Local To Scene
Bonus
<Camera Limits + Hurtbox Bug Fix>
alt+click / child selection
'개발 > 고도 엔진.Godot engine' 카테고리의 다른 글
GODOT3 폰트 테마 (0) | 2021.06.01 |
---|---|
GODOT3 GDSCRIPT 문법 메모 (0) | 2021.05.21 |
Godot 3.2 Autotile bitmask (0) | 2020.10.01 |
GODOT3 튜토리얼 : Scriptable Objects (0) | 2020.09.07 |
GODOT 3 튜터리얼 메모 - 2D Platformer Game (0) | 2020.08.30 |