OSTA — Back to Home
HomeProjectsVideos
HomeProjectsVideos
Back to Videos
Building a Game: Programming Enemy Movement and Layer System | Episode 6
generalID: gH6wBVuIpJo

Building a Game: Programming Enemy Movement and Layer System | Episode 6

Views
3.6K
Duration
20:33
Published on
9/8/2023

In this sixth episode of our game project series, we focus on making the enemy smarter and more interactive with its surroundings. The video explains how to program enemy movement between two specific points to ensure it stays on track, using the "Delta" technique to maintain consistent speed across different devices. We also feature a detailed explanation of the "Layers and Masks" system and how to professionally separate collisions between players, enemies, and the environment. Additionally, we program the "Knockback" mechanic, where the enemy is pushed backward upon being hit by the player, adding a realistic touch to the combat system. This segment provides you with the necessary tools to control enemy physics and their complex interactions within the game world, making the gameplay experience more balanced and exciting.

OSTA

Teaching Game Development

Building the future of games, one line of code at a time.

Subscribe to the Channel

Related Videos

  • Thumbnail for The Ultimate Guide: Exporting Godot 4.6 Games to Windows & Linux Error-Free

    The Ultimate Guide: Exporting Godot 4.6 Games to Windows & Linux Error-Free

  • Thumbnail for The Easiest Way to Create a Shooting Enemy in Godot 4

    The Easiest Way to Create a Shooting Enemy in Godot 4

  • Thumbnail for The Right Way to Program Enemies and Spawners in Godot 4 | Episode 3

    The Right Way to Program Enemies and Spawners in Godot 4 | Episode 3

Osta Logo

© 2026 Osta. All rights reserved © OSTA