Smart Moving Platforms in Godot: waypoint system and Tool mode tutorial
Learn to create horizontal, vertical, and waypoint-based moving platforms in Godot, with custom in-editor tools to visualize their path!
Get our game creation courses: https://gdquest.mavenseed.com/courses
New Features in Godot 3.1 playlist: http://bit.ly/new-features-godot-3-1
Get the source code: https://github.com/GDQuest/Godot-engine-tutorial-demos/
(/2019/05-15-moving-platform-waypoints/ folder)
Pre-requisites
Tool mode tutorial by GamesFromScratch: https://www.youtube.com/watch?v=XPs-HGzElTg
My tool mode tutorial: https://www.youtube.com/watch?v=QHCdeBzdmlA
Going further
- Open RPG plugin: https://www.youtube.com/watch?v=H6TfKYtuM9U
CONTENTS
00:00 Intro
00:26 What you'll learn
01:14 Waypoints system intro
01:44 Moving platform: scene
02:48 Moving platform: code
07:23 Waypoints code
13:37 Drawing in the viewport
17:41 Waypoints _draw method
21:44 Custom drawing method: the equilateral triangle
23:53 Drawing with built-in nodes
25:41 Horizontal and vertical moving platforms
26:48 Tool mode vs Hot Reload
28:37 Summary and challenge
Discord ► https://discord.gg/87NNb3Z
Twitter ► https://twitter.com/nathangdquest
This video is licensed under the CC-By 4.0 license: https://creativecommons.org/licenses/by/4.0/
You can attribute it to "GDQuest and contributors - https://www.gdquest.com/"