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

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

1.371.616 Lượt nghe
Make Your First 2D Game with Godot: Player and Enemy (beginner tutorial part 1)
✦✦✦NEW TUTORIAL✦✦✦ https://youtu.be/GwCiGixlqiU *Your First 2D GAME From Zero with GODOT 4!* **Vampire Survivor Style** 🎓 GODOT 4 COURSE: https://school.gdquest.com/godot-4-early-access 🎬 Free Interactive Godot Tour: https://www.gdquest.com/ 🎮 Free APP To Learn GDScript: https://school.gdquest.com/courses/learn_2d_gamedev_godot_4/learn_gdscript/learn_gdscript_app#the-learn-gdscript-app ---------------------------------------------------------------------- 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 Download 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/"