У нас вы можете посмотреть бесплатно Making an Action RPG: Code and Collision in GameMaker Studio или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this comprehensive tutorial, you'll learn the essential steps to add core functionality to your Action RPG game in GameMaker Studio. This video is aimed at beginners and intermediate developers who want to understand the fundamentals of coding and *collision detection*. The instructor provides clear, simple steps to follow, ensuring you can apply these concepts to your own projects. You'll not only see a demonstration of the code but also learn the logic behind each line, empowering you to create more complex and dynamic games in the future. The tutorial begins by showing you how to set up the groundwork for your player character's health. At [00:23], you'll see how to create variables for hit_points and total_hp within the Create Event. This is a crucial first step for any game with a health system, as it establishes the player's initial health state. The video then moves on to implementing a *damage system*, demonstrating how to use an Alarm event at [01:12] to manage a brief invincibility period after the player is hit. The code sets the image_blend to a red color to visually indicate that the player has taken damage, and then returns it to white once the alarm expires, as seen at [01:17]. The video continues by explaining one of the most vital concepts in game development: collision handling. The tutorial demonstrates how to add a Collision event handler that checks for collisions between the player and an enemy object [01:50]. Within this event, the code checks if the damage alarm is active. If it's not, the player's hit_points are reduced, the image_blend is changed to red, and the alarm is set to prevent taking damage again immediately. This prevents a single collision from causing multiple hits. Finally, the tutorial wraps up with a look at a "*game over*" condition. At [03:56], the code demonstrates a simple if statement that checks if the player's hit_points are less than or equal to zero. When this condition is met, the room is restarted, effectively resetting the level and giving the player a chance to try again. This straightforward yet powerful code is an essential foundation for any action game. #GameMakerStudio #GameDev #IndieDev #GameMaker #GML -- Video Chapters -- 00:00 Introduction 00:14 Creating Data to Allow the Player to be Attacked 00:45 Setting Alarm to Handle Strike Timing 01:45 Colliding with Enemies 02:46 Managing Damage 03:45 Checking for Being Knocked Out 04:18 Play testing