Make Your First 2D Game with Godot: Player and Enemy (beginner tutorial part 1)

Channel:
Subscribers:
292,000
Published on ● Video Link: https://www.youtube.com/watch?v=Mc13Z2gboEk



Duration: 1:58:25
1,306,218 views
24,251


Learn to create your own games with Godot in this beginner tutorial series.

Get our best free Godot tutorials and resources: https://gdquest.com/get-started

Part 2: https://youtu.be/6ziIyx60N6I

LINKS

Downloiad the start assets: https://github.com/GDQuest/Your-First-Game-Godot-2d-Platformer/releases/tag/1.1.0
GDScript beginner tutorial: https://youtu.be/UcdwP1Q2UlU
Learn Godot with free resources: https://www.gdquest.com/tutorial/godot/learning-paths/beginner/
Godot step-by-step getting started guide: https://docs.godotengine.org/en/latest/getting_started/step_by_step/intro_to_the_editor_interface.html

This project is sponsored by Gamblify: https://www.gamblify.com/

CONTENTS

00:00:00 Intro
00:00:25 Who this course is for
00:00:59 What you will learn
00:01:37 Get the extended edition

The Player

00:02:19 Getting the assets
00:02:48 Creating the Godot project
00:04:13 Creating the Player scene
00:11:46 Setting up the Player scripts
00:15:17 Coding character movement
00:15:56 Getting type hints with autocompletion
00:19:52 Adding gravity
00:23:44 Limiting the player's speed
00:27:04 Adding a floor
00:31:52 Setting up physics layers
00:36:31 Coding the input
00:43:13 Calculating the player's move direction
00:45:25 Moving the player horizontally
00:47:57 Calculating jump input
00:51:32 Coding the player's jump
00:52:28 The scope of variables
00:54:00 Back to coding calculate_move_velocity
01:00:19 Preventing the velocity from resetting every frame
01:03:21 Interrupting the jump
01:05:32 Renaming variables to clean up our code

The Enemy

01:10:41 Creating the enemy scene
01:13:20 Coding the enemy
01:19:28 Optimizing the enemy with the VisbilityEnabler2D
01:26:06 Stomping the enemy
01:30:49 Making the enemy die when stomped
01:36:04 Adding the player's stomp

Creating a test level

01:43:36 Coding the player's death
01:45:19 Improving the camera
01:50:56 Creating our mini level
01:55:18 Adding a background

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/"




Other Videos By GDQuest


2020-02-13Godot Steering AI: Free and Open Source Framework Out Now!
2020-02-01Our Remake of the Official Godot 2D Platformer Demo
2020-01-08Code a Professional 3D Character with Godot: new course out
2019-12-12Introducing the docs section on GDQuest.com
2019-12-05Make Your First 2D Game with Godot: Menus, Pause, and Score (beginner tutorial part 3)
2019-12-04Control the Game Camera in the Editor in Godot 3.2 (feature preview)
2019-11-21Make Your First 2D Game with Godot: Coins, Portals, and Levels (beginner tutorial part 2)
2019-11-20Create Your First 2D Game with Godot (extended edition) is out!
2019-11-07Making Open Games Together with Godot: GodotCon 2019 Presentation
2019-11-05GodotCon and Blender Conference Post Update
2019-10-02Make Your First 2D Game with Godot: Player and Enemy (beginner tutorial part 1)
2019-09-20Intro to Steering Behaviors in Godot part 4: AI Following the Leader (tutorial)
2019-09-18Intro to Steering Behaviors in Godot part 3: Mouse Move (tutorial)
2019-09-16Intro to Steering Behaviors in Godot part 2: Arrive To AI (tutorial)
2019-09-13Intro to Steering Behaviors in Godot part 1: Follow AI (tutorial)
2019-09-13Code a Platform Game Character with Godot: Course OUT!
2019-09-09How to Remove the Background of an Image with Krita and GMIC
2019-09-09Godot Nodes 101: Raycast2D Turret (tutorial)
2019-09-06Godot Nodes 101: Raycast2D Gun Tutorial
2019-09-04Smarter Godot Signals with the Event Autoload pattern (tutorial)
2019-09-02How we Batch Export Sprites from Krita to Godot



Tags:
godot platformer 2d
make your first 2d game
godot 2d platformer tutorial
godot beginner
godot platformer
make a video game in godot
how to make a 2d game in godot 3.1
godot 2d tutorial for beginners
godot platformer enemies
make a game in godot
godot tutorial for beginners
godot platformer movement
make your first game
godot engine getting started
godot 3
godot 3.1
godot game development
godot mario tutorial
godot engine
godot tutorial 2d