У нас вы можете посмотреть бесплатно Creating a 2D Attack Object in GameMaker Studio 2 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
This video tutorial provides a detailed walkthrough on how to create a reusable attack object in GameMaker Studio 2. The instructor begins by explaining the core concept of the attack object and its purpose: to allow the player to deal damage to enemies. You'll learn how to create a new object, which they name "obj_attack," and assign a sprite to it. The tutorial then shows you how to animate the sprite to create a visual effect, such as a sword slash. A key part of the tutorial is understanding how to properly code the object. The instructor demonstrates how to set a damage variable for the attack, which will determine its strength. They also cover the crucial step of adding an animation end event that will destroy the attack object after the animation completes, preventing it from lingering in the game world. The video then shifts focus to the player object, showing you how to add code that creates an instance of the attack object when a specific key, like the spacebar, is pressed. You'll also learn to implement a "facing" variable for the player, which is essential for ensuring the attack object is created and oriented correctly in the direction the player is facing. The tutorial concludes with a demonstration of the completed attack system in action, showing how the player can now effectively attack enemies. #GameMakerStudio2 #GameDev #Tutorial #2DGameDev #IndieGameDev -- Video Chapters -- 00:00 Introduction 00:21 Creating the object 00:58 Viewing the a Sprite Animation 02:12 Attack Object Events 03:07 Destroying an Instance 04:03 Creating an Instance Dynamically 04:22 Listening for a KeyBoard Event (space-bar) 05:05 Creating the Instance 06:01 Rotating the Sprite to Point in the direction of the player 06:40 Determining Damage per Strike 07:17 Testing our Code 07:45 Determine the Direction the Player is Facing 09:12 What's Next