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



Learn to create your own games with Godot in this beginner tutorial series.
Part 2: https://youtu.be/6ziIyx60N6I
Get the extended edition: http://bit.ly/godot-your-first-game-course
Get our platformer character course (intermediate-level): http://bit.ly/godot-2d-platform-character-course

Get 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/docs/guides/learn-godot/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/”

Source

KA2Studio
Logo
Compare items
  • Total (0)
Compare
0