00:00 - What to Expect 01:03 - Tilemap Physics Collisions 03:34 - Editing Tiles for Physics and Custom Data 06:10 - Script - Download on Kofi or Patreon 10:45 - Wrapup
Walk over Water Tiles & Ignore Collisions while on a Bridge ~ Godot 4.1 TutorialChris Tutorials2023-06-26 | Learn how to ignore ground or water collisions while walking on a bridge above the ground in Godot 4.1
00:00 - What to Expect 01:03 - Tilemap Physics Collisions 03:34 - Editing Tiles for Physics and Custom Data 06:10 - Script - Download on Kofi or Patreon 10:45 - WrapupWorld Time 1.0 Upgrade Guide - Godot 4 PluginChris Tutorials2024-05-06 | How to upgrade World Time from 0.4.1 to 1.0.0 release. The plugin provides systems that manage the progression of time in your game world updating a TimeState with game seconds, DateTime, and TimeOfDay.
World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:32 - Save / Backup Resources 03:06 - Installing 1.0 03:49 - Addressing Upgrade Errors - Missing TimeState 04:39 - Systems Inspector Changes Overview 05:55 - Creating the World Time State Resource 08:25 - Setting Other System Properties 19:31 - Updating TimeOfDayDirectionalLight2D 23:25 - Game Speed Slider 24:48 - AgeingComponent 25:52 - Add After Game Seconds / Ageing Components 26:16 - WrapupHow to Rotate 2D Objects by Player Input ~ Godot 4 TutorialChris Tutorials2024-04-02 | Here's my detailed explanation of rotating 2d objects in Godot by degrees or radians. Briefly touches how to use input actions to trigger the rotations on a Node2D (the root of the object you need rotated)
Watch out for tiny inaccuracies in floating point degree / radian conversions by checking with is_equal_approx!
Grid Building Plugin ➣ https://linktr.ee/gridbuilder World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops
00:00 - Demonstration 00:51 - Rotation Degrees Output 01:28 - Rotation & Input Code 03:25 - Simplest Degrees Rotation Solution (tl;dw) 05:21 - Floating Point Conversions in Rotations 07:32 - GUT Godot Unit Test 07:40 - Rotating with Radians 10:12 - Look At (Video in Description) 11:00 - Why global_rotation_degrees? 11:31 - WrapupDrag and Drop Send Data Between UI Controls - Godot 4 Gdscript TutorialChris Tutorials2024-03-08 | Quick tutorial on how to use the drag and drop functions of control nodes in Godot. These virtual functions exist on all control nodes but must be implemented in a custom script attached to the nodes for the UI controls to support dragging and dropping. We can send data through this process between the sending node and the receiving control node.
World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:35 - Send Drag Data 02:46 - Custom Send ItemsTransferData 04:52 - Set Drag Preview 07:54 - Receive Drag Data (Shop UI) 11:06 - Drop Data 14:43 - WrapupDrop and Pickup Items in Godot 4 - Item Drops Plugin TutorialChris Tutorials2024-02-25 | Showing how you can use Item Drops to spawn item pickups, pick them up, and add to an inventory system of your choice for 2D Godot 4 games. Tutorial uses item drops v3.0 - check Itch page for features and updates.
Item Drops Plugin ➣ https://linktr.ee/itemdrops World Time Plugin ➣ https://linktr.ee/worldtimeplugin Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:26 - Enable Item Drops 00:39 - DropsComponent 02:18 - Creating a Drop Item PackedScene 03:39 - Pickup Component for Dropped Item 08:06 - Scene Spawner (Add Force at Spawn) 11:35 - Call spawn drops 12:31 - Defining Pickup Collision Layers 14:01 - Calling spawn_drops from State Machine OnEnter 19:06 - Pickups Collector for Player 23:51 - Seeing Items in Inventory 26:37 - WrapupHow to Setup Object Placement Gameplay for Isometric Game ~ Grid Builder Plugin for Godot 4 TutorialChris Tutorials2024-01-27 | Full tutorial showing how to set up object placement on Isometric 2D Tilemaps with my Grid Builder 3.2 plugin for Godot 4. This video focuses on defining collision polygons and building rules relevant to an isometric game with tower defense as the example use case.
Kenney Tower Defense Art ➣ https://kenney.nl/assets/tower-defense Grid Building Plugin ➣ https://linktr.ee/gridbuilder
➣ Other Plugins by Me World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops
00:00:00 - What to Expect 00:00:35 - Isometric Tilemap Setup 00:05:42 - Installing Grid Builder 00:06:30 - Building System & Grid Targeting Setup 00:10:38 - Warning for Skew on CollisionShapes 00:13:25 - Grid Targeting Play Test 00:14:34 - Sample Move Camera 00:17:21 - Creating a Tower Object Scene 00:23:21 - Placeable Resource 00:28:44 - Placement UI 00:31:39 - Placement Validator Setup 00:32:24 - Building Signal Bus 00:33:21 - Actions Setup 00:34:33 - Making Isometric RuleCheckIndicator Template 00:41:03 - Offset Placed Object Sprites to Fit Grid Space 00:41:39 - Creating Collision Polygon for Tower Placement 00:43:33 - Add CollisionsCheckRule 00:45:31 - Add Build Log for Building Message Feedback 00:47:48 - Drag Build 00:48:03 - WithinTileMapBoundsRule 00:48:56 - Custom Indicator Fail Visual Settings per Rule 00:51:00 - Y Sorting World Placed Objects 00:52:12 - Mark Tiles Buildable and Unbuildable 00:55:00 - ValidPlacementTileRule (Buildable Check) 00:58:12 - Spend Resources to Build Towers 01:02:01 - Limiting Build Log Messages 01:02:48 - WrapupPlayer Interact with Objects & Resource Signal Bus Tutorial - Godot 4.2Chris Tutorials2023-11-30 | Detailed tutorial showing how to let a player press a key to interact with interactable objects such as a Shop, a Switch, or a Chest. For accessing player data, we can also use Resources with signals to serve as a signal bus for telling user interface nodes when the player is set or updated.
World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00:00 - What to Expect 00:00:39 - Starting Point 00:01:21 - Player Interacter Component 00:03:01 - Interaction Script 00:06:21 - Interactable Receiving Script 00:07:46 - Fan Interaction Setup 00:11:23 - Setting the Selected Interractable 00:16:31 - Fan Interactable StopInteraction & PrintDebug 00:18:00 - Fan Animations with is_on Toggle 00:27:37 - Shop Interractable 00:31:26 - Create Visual Indicator for Selected Interaction 00:42:32 - Select Closest Interactable on Process Update 00:46:53 - Show Player's Name in Shop 00:48:57 - Show Player's Money in Shop 00:54:23 - Resource Signals to Send Data from Player to UI 01:03:26 - Money Change Button and Making Shop & UI Reactive 01:10:26 - WrapupC# Godot 4.2 Beginners Crash Course - Projectiles & Scoring GameDev PrototypeChris Tutorials2023-11-20 | Complete guide showing start to finish how to code in C# a simple projectile scoring game prototype in Godot 4.2.
➣ My Gdscript Plugins for Godot 4 ➣ World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops Grid Building Plugin ➣ https://linktr.ee/gridbuilder
0:00 What to Expect 0:34 Project Setup 3:36 Visual Studio Code Project Settings 6:06 Launch.json and Tasks.json setttings 8:07 .NET SDK 7.0 Download 8:44 Testing Debug Breakpoint 9:38 Set Project Main Scene 10:58 Add Script & Hit Debug Breakpoint 12:06 Tilemap with Collision 15:01 Resize Game Window 15:44 Projectile Launcher: Aim at Mouse 16:56 Export Aiming Node Property 2!:01 Rotate Launcher to Mouse Pointer Position 23:39 Create Projectile Scene & Script 26:53 Instancing Projectile 28:12 Shoot Projectile Action 34:56 Grouping Projectiles to a Parent Node 41:29 Add Force to Projectiles 45:10 Deep-Fold Space Background 48:50 Charging Projectile Launch Power 52:58 IsCharging Property with Custom Ssetter 58:44 Charging Up Color for Launcher 1:02:21 Show Launch Power with Signals & Labels 1:07:49 Refractoring _chargeTime to ChargeTime property 1:11:43 Score Box Moving Target 1:17:04 Movement with AnimationPlayer for ScoreBox 1:23:09 Score Point on Projectile Entered 1:24:31 Score Resource and Communicating Data between Objects 1:39:54 Projectiles Time to Live Duration 1:44:08 Remove Projectile After Scoring 1:45:20 Increasing Charge Power Speed 1:45:53 WrapupCoding C# vs Gdscript in Godot 4 ~ Example Differences, Advantages & DisadvantagesChris Tutorials2023-11-15 | Rough guide comparing how C# is coded in Godot 4 compared to modern Gdscript. The video covers some of the weaknesses of both. Note that in Godot you can cross script between the languages so picking only one is not required for your projects.
Godot 4 Plugins (Gdscript) World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:25 - Abstract Gdscript vs C# Interfaces 05:19 - PascalCase for C# 06:26 - Implementing IPlayer in C# Player Class 08:10 - Gdscript Filter Array 10:49 - Private Public Accessibility C# vs Gdscript 15:35 - C# LINQ Array Collections Filtering 18:52 - Abstract Class Inheritance C# 22:22 - Exporting Properties and Building C# Project 24:16 - C# Classes Missing from Add Node / Resource Menus 29:45 - Signals (Events) Gdscript vs C# 38:34 - WrapupSaving and Loading Objects Placed During Gameplay ~ Godot 4 Tutorial (Grid Builder Plugin)Chris Tutorials2023-11-04 | Showing how I used ResourceSaver with Grid Builder plugin to create objects during gameplay and permanently save them to save game files. Then load them back up of course. Rough guide to saving and loading with ResourceSaver, ResourceLoader, and PackedScene in Godot. Video also covers minor updates to 3.1.2 version of Grid Builder plugin for 2d Godot games.
Grid Building Plugin & Demo (With Save / Load Scripts) ➣ https://linktr.ee/gridbuilder
My Other Plugins ➣ World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops
00:00 - What to Expect 01:51 - Saving & Loading System 03:29 - PlayerSave Resource 05:27 - Saving PackedScene Level 07:58 - PlayerSave Selectively Choosing What to Save 08:47 - SaveGame Resource 09:08 - Calling ResourceSaver Save 10:04 - Loading Game from Saved Resource File 11:34 - Loading Level from PackedScene 13:03 - Building System Objects Placement 15:28 - WrapupHow to Make Magic Projectile Abilities ~ Platformer MEGA Tutorial for Godot 4.2Chris Tutorials2023-10-27 | In depth tutorial on how to setup projectiles, useable abilities, magic effects, scene replacement, and damage over time areas inside Godot 4.
Consider checking out my Godot plugins for building 2D games World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00:00 - What to Expect 00:00:24 - Art Pack Download 00:01:37 - Setting Up Fire Spin Projectile 00:02:19 - Animated Sprite for Projectile 00:05:36 - Create Fire Explosion Scene 00:06:28 - Player Use Ability Component Script 00:10:11 - Ability Resource 00:13:08 - Projectile Launch Ability 00:15:13 - Projectile Node 00:20:55 - Give Projectile Ability to Player Ability Use Component 00:24:34 - Making Projectiles Move 00:31:24 - Replace Scene 00:36:57 - Replace on Timeout 00:39:06 - Replace Scene Fixes 00:40:56 - ReplaceOnAreaEntered 00:43:18 - Explosion Growth Over Time 00:50:02 - Remove Scene After Growth Finishes 00:51:59 - Scaling Fire Point Light 00:53:32 - Area Damage over Time 01:02:04 - Final Result
poppyworks - Silver font poppyworks.itch.io/silverWorld Time Plugin Setup Guide for Godot 4 - Game Date & Time of Day EventsChris Tutorials2023-10-25 | Tutorial covering the 3 game systems from my World Time Plugin v0.4.1 for Godot 4. This plugin provides systems for setting up a time-date calendar scaled to your game time and components that hook into the game time to provide functions like day-night cycle lighting, and ageing objects into stage scenes as time progresses.
World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:36 - GameTimeSystem 05:44 - Date Time Display UI 07:44 - World Speed Slider 09:17 - Day Night Cycle System 12:15 - Time of Day Display UI 14:32 - Time of Day Lighting 21:19 - World Age System 23:13 - AgedSceneReplacement 25:46 - Wrapup
00:00 - What to Expect 00:44 - How I Structure My Gameplay Scene Nodes 01:54 - Building System Setup 09:26 - Creating Button Actions for Building System 11:07 - Creating a Placeable Resource 14:15 - Placement Selection UI 18:59 - Building without Rules 19:45 - Defining Base Rules for Placement Validator 23:08 - Build Log UI 26:47 - Spend Materials & Grid Builder Inventory 34:27 - How to Customize Rule Fail Textures for Any Rule 35:57 - Wrapup
Art Used for Tutorial limezu.itch.io/moderninteriors Modern Interiors by LimezuAdding a Gravity Area for Easy Player Item Pickup Gathering ~ Godot 4 TutorialChris Tutorials2023-09-15 | How to setup gravity areas such as for a player pulling in pickups or other items in a 2D Godot 4 game. No scripting required since these features are built into Area2D nodes!
Item Drops Plugin ➣ https://linktr.ee/itemdrops World Time Plugin ➣ https://linktr.ee/worldtimeplugin Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:20 - Pickup as RigidBody2D 05:30 - Player Gravity Area2D SetupWorld Time & Item Drops Plugins for 2D Godot 4 GameDev - Devlog #1Chris Tutorials2023-09-08 | Demoing my World Time and Item Drops Plugin for Godot 4 2D Games.
The world time plugin provides a calendar system, day night cycles, and ageing and scene replacement for objects in your game. For instance, when the day changes you might upgrade a scene object to a new scene.
The Item Drops component provides gatherable nodes, item drop loot tables with odds of dropping for individual items, a pickup component you can put on any 2d scene, and scripts for controlling scene instancing on gather.
World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:18 - World Time Plugin 02:28 - Item Drops PluginFarming & Crop Ageing Mechanics Tutorial for 2D Godot 4 GamesChris Tutorials2023-08-22 | Big tutorial showing one way of having ageing growing plant crops that can be harvested for crop items in a 2D Godot game.
You might consider using @export_path var next_scene instead of PackedScene because if the packed scene goes missing it can prevent the scene that depends on it from being opened in the editor. If you do, you'll have to call load(next_scene).instantiate() when you want to create a copy of the scene file in the game world.
00:00 - What to Expect 01:22 - Creating Stages for Corn Plant Scenes 08:37 - AgeingComponent Script 20:29 - Assigning AgeingComponent Settings 22:47 - Grouping Ageing Components 24:14 - Ageing Button 29:37 - Testing the Ageing Corn Scenes 32:33 - Adding ResourceNode Script to Harvestable Corn 34:18 - Pickup Corn 37:41 - Corn as Resource Item 40:26 - Making Corn Harvestable 45:16 - Corn Plant as Renewable Resource Node 49:31 - Packed Scenes Cyclical Reference Work Around 52:53 - Planting Seeds with Grid Builder Plugin 55:48 - WrapupPress-Drag to Build, Object Stacking, Rotate, and Flip Gameplay with Grid Builder Plugin in Godot 4Chris Tutorials2023-08-19 | Showcasing the new build features of my Grid Builder plugin for object placement in 2D Top Down and Sidescrolling Godot Games that use Tilemaps for level building. The new additions in this update include a press-drag multi build function, rotating, flipping, and stacking of objects during build mode. This video shows how to use all of the new features as well. Plugin version in video is 2.2.0.
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:18 - Click Drag to Multi Build 01:18 - Enable Drag Multi Build 02:14 - Rotating Objects 02:56 - Flipping H / V 03:25 - How to Enable Rotating and Flipping 05:35 - Stack Objects with Indicator Tiles Must Collide Rule 11:34 - Quick ReviewMaking a Platformer Sidescroller with In Game Object Placement with Grid Builder in Godot 4Chris Tutorials2023-08-14 | Starting from scratch to make a prototype platformer sidescroller game in Godot 4 and then adding object placement with my Grid Builder plugin.
00:00:00 - Start 00:00:31 - Importing Tileset 00:01:15 - Tileset Setup for Level Building 00:04:58 - Terrain Autotiling 00:08:07 - Platformer Character Quick Start 00:15:24 - Basic Platformer Player Script 00:25:48 - Tiled Background 00:27:35 - Set Playing Animation in Script 00:32:03 - Placing More Tile Types 00:32:37 - One Way Platforms & Drop Down with Player 00:36:26 - Expanding Level Bounds 00:38:22 - Making Rhino Character 00:46:46 - Rhino Enemy Script 00:52:07 - Making a Box Object 00:57:37 - Building System Nodes Setup 01:04:04 - Make Scenes Objects Placeable 01:13:10 - Placement Selection UI 01:17:44 - Placing Boxes and Rhinos 01:19:46 - Generating Tile Collision Indicators 01:26:25 - Valid Placement Tile Rule 01:33:38 - Strawberry Pickup as Placeable Object 01:45:20 - Tutorial WrapupBuilding Objects in Sidescrolling 2D Platformer Games ~ Grid Building for Godot 2.1 UpdateChris Tutorials2023-08-09 | Showing how object placement in side-scroller games works with Guild Building plugin. These are the updates that came in the 2.1 release of the plugin.
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:47 - Valid Placement Tile Rule 01:37 - Tile Collision Indicator Updates 03:09 - Setting Tile Collision Indicator Templates for Rules 04:32 - Building Placement Demonstration 06:36 - Hiding Player & Enemies from Building Collision 07:51 - Different Indicators for Different Rules 08:43 - How to Set Custom Data on Tiles 09:39 - WrapupHow to Use Grid Builder for Godot 4 - Object Placement & Grid Targeting PluginChris Tutorials2023-08-02 | See how you can place objects into your Godot game during gameplay by snapping to the grid and following building rules you set.
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - What to Expect 00:12 - Where to Get Grid Builder 00:54 - Top Down Demo 04:25 - Tutorial Art Pack cainos.itch.io/pixel-art-top-down-basic 05:43 - Main Gameplay Scene Setup 08:02 - Assigning System Dependencies 09:40 - User 11:00 - Building System Settings 11:27 - Collision Indicator Template 14:54 - Scaling Grid Positioner 16:15 - Starting Build Mode with Placement UI 16:55 - Placement UI Example 19:42 - Making Object Scene for Placeable 24:41 - Placeable Resource Setup 26:37 - Tag Resources 28:22 - Assigning Placeables and Categorical Tags to UI 29:46 - Placing Objects with System 30:44 - Adding Building Rules 31:32 - Within Tilemap Bounds Rule 31:47 - Build Log to See Build Messages 33:00 - Spend Resources Rule 34:10 - Creating a Spendable Item Type 38:00 - Item Container for Spend Materials Rule 41:31 - WrapupGrid Building for Godot 4 Plugin Overview - How to Place Objects into your Game Levels!Chris Tutorials2023-07-29 | Demonstration video of the Grid Building Plugin for Godot 4 which provides object placement systems that snaps to 2D TileMap grids in Godot 4 and follows defined build rules to determine whether placement is valid.
You can find out more and download at the below store links
00:00 - What is the Grid Building System for Godot 4? 00:26 - Validating Placement Collisions 02:28 - Building Rules 03:14 - Resource Gathering Example 04:55 - Editor Overview 06:44 - Spend Resources Rule 08:45 - Inventory Template 10:34 - Where to Download 10:52 - WrapupDefining How to Place Buildings with Rules in Godot 4 - Grid Building System Devlog #2Chris Tutorials2023-07-04 | Learn how you can create rules for object placement with my Grid Builder plugin for Godot 4 2D games.
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
00:00 - Start 00:29 - Rule Requirements for Building 02:14 - Setting Up a SpendResources Rule 04:28 - House Requiring 2 Wood and 3 Rocks 05:11 - What's Next? 06:01 - WrapupGlobal Singleton SignalBus to Send Data Between Objects Anonymously ~ Godot 4.1 ExampleChris Tutorials2023-07-02 | Working example of using a SignalBus global singleton to tell a player when a level loads during gameplay in Godot 4
00:00 - Scenario Use Case 02:09 - Code 06:14 - Explained with VisualsSetup Guide for Platformer Crash Course Template Project for Unity 2D GameDevChris Tutorials2023-06-16 | How to setup and open my 2d platformer crash course reference project for Unity engine.
You can find the project on Itch, Patreon, and Ko-fi.
Code and project is free to reuse how you wish. See the art and audio assets below for individual license rules since those come from different creators.
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://linktr.ee/ChrisTutorials ko-fi.com/christutorials chris-tutorials.itch.ioMaking a Grid Building and Targeting System for Godot 4 - DevLog #1Chris Tutorials2023-06-14 | Showing the start of my grid building and targeting system in Godot 4 for top down games.
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
➣ Music dos88 - Smooth Sailing dos88.itch.io/dos-88-music-libraryHow to Setup Physics Collisions for Tilemaps ~ Godot 4.1 Tutorial for BeginnersChris Tutorials2023-06-12 | Quick guide demoing how to setup tileset collisions for a 2d platformer game in Godot 4.1. These basics apply to other game genres like top down rpgs as well (just the tiles you choose to add collisions too would change a bit because of the perspective shift)
00:00 - What to Expect 00:14 - Tilemap Setup 00:50 - Tileset Physics Layers 01:57 - Create New Tiles Atlas 03:04 - Assign Physics to Tiles 03:58 - Custom Tile Collider Shape 05:32 - Tile Placement and Physics Test 06:22 - Using Layers to Enable or Disable Character CollisionTerrain Autotiling and Alternative Tiles ~ Godot 4 Tutorial for BeginnersChris Tutorials2023-06-09 | Tilemap tutorial showing the basics on how to use the terrain features to auto tile 2d tilesets inside Godot 4. We also cover creating Alternative Tiles for when you need to create rotated or flipped varients of tiles or use repeated tiles in different terrain sets.
00:00 - What to Expect 00:38 - Scene Setup 02:04 - Tileset Setup 03:20 - Create a Terrain 04:49 - Define Grass & Dirt for Blob Tileset 17:28 - Simpler Terrain Sets 23:09 - Alternative Tiles 29:57 - WrapupHow to Use 2D Lights in Godot 4 ~ Tutorial for BeginnersChris Tutorials2023-06-01 | Tutorial showing how you can light sprites and tilemaps using 2D lights in Godot 4. We cover PointLight2D and DirectionalLight2D in this video by adding lighting to a 2D platformer scene.
00:00 - Overview 00:57 - PointLight2D 01:33 - Gradient 2D Light Texture 03:43 - Effecting Scene with Light Source 07:07 - Scene Test 07:32 - DirectionalLight2D for Night Time 09:02 - Nighttime Test 09:19 - WrapupMake Enemy Jump Over Pits and Walls ~ Godot 4 Platformer TutorialChris Tutorials2023-05-29 | Using Area2Ds to detect when to jump and when to flip enemy character direction with this Godot 4 script example.
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://linktr.ee/ChrisTutorials ko-fi.com/christutorials chris-tutorials.itch.ioCrash Course ~ How to Make a Resource Gathering Game in Godot 4!Chris Tutorials2023-05-23 | Full tutorial series showing how to design and code resource harvesting mechanics for a 2d top down survival or RPG style game in the Godot 4 engine. In this series, we cover many topics including equipment, inventory, particle effects, pickup items, on hit or swing triggers, tilemapping, and Godot resource files. The project, scripts, and assets are all optionally available below but feel free to code along using whatever art packs you like.
00:00:00 - End Project 00:02:16 - What to Expect 00:02:35 - Art Pack 00:04:10 - Creating a Player 00:06:27 - Swing Down Animation 00:09:38 - Animate Tool with Swing Motion 00:16:36 - Idle Down Animation 00:18:13 - Walk Down Animation 00:20:21 - Collision Shape for Player 00:21:29 - Player Movement 00:23:32 - Input Actions and 4 Directional Movement 00:26:59 - Making a Game Level Scene 00:28:19 - Follow Camera 00:29:57 - Physics Body for Rock Object 00:34:16 - Y Sorting Objects in Scene 00:34:58 - Idle Up, Left, Right and Sorting Tool Behind Player 00:39:57 - Walk Up, Left, Right 00:49:21 - Animation Tree & Animation State Machine 00:52:37 - Setting Animation Parameters in Code 00:57:22 - Debugging Active Scene with Remote View 00:58:04 - Adding Animations to Blend Space 2Ds 01:05:35 - Hitting Resource Node with Equipped Tool 01:09:54 - Equipable Items 01:17:05 - Equipped Item Setter to Update Sprite Texture 01:19:24 - @tool Annotation - Update Sprite in Editor with Code 01:20:38 - @tool Node Access Limitations 01:22:52 - Harvesting Tool 01:30:45 - Giving Types to Resource Nodes 01:34:27 - Checking Node Type for Tool Harvesting 01:41:22 - Pickup Object for Harvested Resources 01:57:02 - Pickup Item and Add to Inventory 02:06:05 - Making a UI HUD to Show Resources Count 02:15:00 - Connect Resource Display to Player's Inventory 02:21:16 - Show Resource Counter for Each Type Added to Inventory 02:26:28 - Making Wood Resource Type 02:29:13 - Grid Layout Side by Side Resource Listings 02:31:19 - Shrinking Resource UI Down 02:34:16 - Tilemap Collisions and Y-Sorting 02:38:57 - Collisions with Water Tiles 02:44:29 - Creating New Resource Node Types 02:46:09 - Setup Axe Tool to Harvest Trees on Contact 02:47:02 - Make Trees Harvested by Axe Type 02:48:08 - Tool Switch Hotbar 02:54:21 - Set Hotbar Icon with @tool Setter 02:56:04 - Connect Hotbar to Player by Group Tag 03:02:18 - Limit Code in @tool Script from Running in Editor 03:03:58 - Hotbar Positioning Offset 03:04:49 - Area2D Trigger Harvest Only During Swing Animation 03:05:19 - Set Animations to Discrete Mode - UpdateCache AnimationPlayer Fix 03:05:41 - Set Area2D Monitoring During Swing Animation 03:06:36 - Area Monitoring Off On Script Load & Limit Editor Code from Running 03:08:36 - Setting Monitoring On and Off in Other Animations 03:09:58 - Testing Harvest On Swing 03:10:26 - Particle Explosion on Resource Node Depletion 03:18:34 - Remove Particle System when Finished 03:19:35 - Instantiate Particle Effect on Trigger 03:25:35 - Summary So Far 03:26:12 - Animated Tiles 03:30:16 - Filling Tilemap with Details 03:30:52 - Desert Environment 03:37:22 - Hotbar Position Fix and Locking Nodes 03:38:15 - Y Sorting All World Objects 03:38:55 - Darklands Biome 03:40:22 - Dark Wood Resource Type 03:43:38 - Darkland Decor 03:44:13 - Project Wrapup - Resource Gathering RPG in Godot 4 TutorialFINAL Project Demo - Resource Gathering RPG in Godot 4 TutorialChris Tutorials2023-05-23 | Demoing the final project before I wrapup the tutorial series. You can find all videos from the video series in the playlist below and learn from start to finish.
00:00 - Filling Tilemap with Details 00:35 - Desert Environment 07:05 - Hotbar Position Fix and Locking Nodes 07:58 - Y Sorting All World Objects 08:39 - Darklands Biome 10:05 - Dark Wood Resource Type 13:21 - Darkland DecorAnimated Tiles Setup ~ Floating Raft - Godot 4 Resource Gathering TutorialChris Tutorials2023-05-23 | How to setup an animated tile for tilemaps & tilesets in the Godot 4 engine.
00:00 - Summary So Far 00:37 - Animated TilesParticle Explosion Effect on Resource Node Depletion - Godot 4 TutorialChris Tutorials2023-05-23 | Create an explosion effect using GPUParticles2D when a resource node is fully harvested and depleted of any remaining resources.
00:00 - Particle Explosion on Resource Node Depletion 08:07 - Remove Particle System when Finished 09:08 - Instantiate Particle Effect on TriggerHarvest Resources on Tool Swing Hit - Godot 4 Resource Gathering TutorialChris Tutorials2023-05-23 | Make a tool only able to harvest resources during a swing animation. A tutorial on Area2D and monitoring for body entered triggers in gdscript code.
00:00 - Area2D Trigger Harvest Only During Swing Animation 00:29 - Set Animations to Discrete Mode - UpdateCache AnimationPlayer Fix 00:51 - Set Area2D Monitoring During Swing Animation 01:46 - Area Monitoring Off On Script Load & Limit Editor Code from Running 03:46 - Setting Monitoring On and Off in Other Animations 05:08 - Testing Harvest On SwingMaking a Hotbar for Switching Players Equipped Tool or Weapon - Godot 4 Resource Gathering TutorialChris Tutorials2023-05-22 | Creating a simple hotbar that can equip items to the player's hand by clicking on the tool button for the tool you want to equip.
00:00 - Tool Switch Hotbar 06:12 - Set Hotbar Icon with @tool Setter 07:55 - Connect Hotbar to Player by Group Tag 14:09 - Limit Code in @tool Script from Running in Editor 15:49 - Hotbar Positioning OffsetMaking Tree a 2nd Harvestable Resource Node in Resource Gatherer Godot 4 ProjectChris Tutorials2023-05-22 | In this tutorial part, I show how to re-use the resource node code to set up a second harvestable resource node. The trees use a new typing "Axeable" to mean that only a tool classified as an Axe will be able to harvest these nodes. This part mostly just shows how to reuse the same code to build out a game without needing special code for every type even though each node produces different resource pickups and is harvested by different tools in the game project.
00:00 - Start 01:39 - Setup Axe Tool to Harvest Trees on Contact 02:32 - Make Trees Harvested by Axe TypeTilemaps - How to Add Collisions, Water, and Layers - Godot 4 Resource Gathering TutorialChris Tutorials2023-05-21 | Basic tilemapping tutorial for Godot 4 showing how to work with multiple layers, add physics collisions to tiles, and one option of handling walking across water tiles in a top down 2D resource gathering rpg style game.
00:00 - Tilemap Collisions and Y-Sorting 04:41 - Collisions with Water TilesMaking a Inventory Resources Count HUD - Godot 4 Resource Gathering TutorialChris Tutorials2023-05-20 | Connect a resource count display to your player's inventory to show what is in the inventory and how much of it during gameplay without opening any menus.
00:00 - Making a UI HUD to Show Resources Count 08:54 - Connect Resource Display to Player's Inventory 15:11 - Show Resource Counter for Each Type Added to Inventory 20:23 - Making Wood Resource Type 23:08 - Grid Layout Side by Side Resource Listings 25:14 - Shrinking Resource UI DownItem Pickups and Adding Items to Inventory - Godot 4 Resource Gathering TutorialChris Tutorials2023-05-20 | Learn how to make a pickup item and add it to your player's inventory for a top down resource gathering game in the Godot 4 game engine.
00:00 - Start 00:28 - Pickup Object for Harvested Resources 16:08 - Pickup Item and Add to InventoryGameplay Interaction by Equipment and Effectible Object Types - Godot 4 Resource Gathering TutorialChris Tutorials2023-05-19 | When you have equipped items, you want them to be able to interact with different objects depending on what kind of item you have equipped. A sword could effect enemies but a pickaxe would harvest rocks or ore. In this tutorial, I show how to give typing to your items and target resource nodes by using Godot 4 resource files as types for your in game objects.
00:00 - Harvesting Tool 07:53 - Giving Types to Resource Nodes 11:35 - Checking Node Type for Tool Harvesting 18:30 - Pickup Object for Harvested ResourcesEquip Items and Auto Update Sprites with @tool - Godot 4 Resource Gathering TutorialChris Tutorials2023-05-19 | Setup a slot for items equipped to the hand and switch between hand items by using gdscript code in Godot 4. This tutorial shows how to use the tool annotation in Godot 4 to let code like swapping sprites on set run both in the editor and in game. Be careful with using the tool annotation though, code running in the editor can make permanent changes to your project which is useful when done write and potentially dangerous to your project when written incorrectly.
00:00 - Hitting Resource Node with Equipped Tool 04:18 - Equipable Items 11:29 - Equipped Item Setter to Update Sprite Texture 13:48 - @tool Annotation - Update Sprite in Editor with Code 15:02 - @tool Node Access LimitationsAnimation Tree State Machine Setup w/ Conditions & BlendSpace2D - Godot 4 Resource Gatherer TutorialChris Tutorials2023-05-18 | Learn how to set up an animation tree with an animation tree state machine as it's root node. To travel between nodes in this setup, I setup conditions which are set through the player's script and the animation state machine switches animations and blend trees based on those conditions. To achieve 4 directional animations, BlendTree2Ds are helpful since they let you switch animations from directional input.
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://linktr.ee/ChrisTutorials ko-fi.com/christutorials chris-tutorials.itch.io4 Directional Player Animations & Sprite Sorting in 2D Animations ~ Godot 4 TutorialChris Tutorials2023-05-17 | Adding 4 directional animations for idle, walk, and swing for a player character. Learn how to sort a secondary sprite for items equipped to the hand slot.
00:00 - Idle Up, Left, Right and Sorting Tool Behind Player 04:59 - Walk Up, Left, RightLevel Scene ~ Follow Camera, Adding Scene Objects, and Y-Sorting - Godot 4 TutorialChris Tutorials2023-05-16 | Start of setting up a level scene in Godot. Filling in some collidable rock objects, adding a follow camera, and enabling y-sorting so sprites render in a top down 2d game style.
00:00 - Making a Game Level Scene 01:19 - Follow Camera 02:57 - Physics Body for Rock Object 07:17 - Y Sorting Objects in SceneMaking a Player Character with Animations, Movement, and Collisions ~ Godot 4 TutorialChris Tutorials2023-05-16 | Learn how to setup a player character with CharacterBody2d adding in animations, movement and collisions. Different than many characters, we also add in a equipment slot to the player so that the player can change out between many tools in this resource gathering game project.
00:00 - Creating a Player 02:16 - Swing Down Animation 05:27 - Animate Tool with Swing Motion 12:25 - Idle Down Animation 14:02 - Walk Down Animation 16:10 - Collision Shape for Player 17:18 - Player Movement 19:21 - Input Actions and 4 Directional MovementMaking a Resource Gathering RPG in Godot 4 ~ GameDev Tutorial Series IntroChris Tutorials2023-05-16 | Learn how to code and design a resource gathering game in the Godot 4 engine. We'll cover many topics including player character setup, hotbars, equipping items, inventories with HUD display, particle effects, and resource files for defining items within the game. I also have a unity engine version of this series on my channel if you're interested in that game engine instead.
00:00 - End Project 02:16 - What to Expect 02:35 - Art PackBasic Theme Setup Guide ~ Godot 4 Tutorial for BeginnersChris Tutorials2023-05-05 | Learn how to create a theme, set custom fonts and background colors, and how theming hierarchy works. We also touch on theme overrides for one time control settings in this Godot 4 tutorial.
00:00 - What to Expect 00:15 - Creating a Simple UI Hierarchy 01:02 - Creating a Theme 02:27 - Customizing Theme Properties 04:56 - Changing Font in Godot 08:38 - Theme Setting Order Hierarchy 10:41 - WrapupMoving Platforms, One Way Collisions, and How to Drop Under Platforms ~ Godot 4 Platformer TutorialChris Tutorials2023-04-23 | Easy platformer tricks to set up moving platforms, one way collision ground, and how to to let your player drop under platforms in this Godot 4 tutorial.
00:00 - What to Expect 00:18 - Making a Moving Platform 03:44 - Animating the Moving Platform 06:38 - Control World Position of Moving Platform 08:30 - One Way Collisions 10:19 - Drop Below One Way Platform 13:09 - WrapupHow to Make a Pause Game Menu & Pause the Game ~ Godot 4 TutorialChris Tutorials2023-04-22 | Learn how to pause the game, open a menu by pressing esc key, and how to setup a basic ui menu with working resume and exit game buttons.
00:00 - What to Expect 00:17 - How Pausing Works in Godot 04:26 - Pause Menu Node Hierarchy 07:43 - Game Manager Script 10:40 - Hide Pause Menu on Load 11:13 - Adding Pausable Object to Level 11:45 - Scale Game Window Up 12:30 - Open Pause Menu on Pause Signal 18:10 - Resume Button 19:22 - Exit Game Button 20:42 - Create UI Theme and Scale Font Size 21:58 - Finishing Menu 22:41 - Wrapup