ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Constructor - The king of data [GameMaker | Advanced]

Автор: 1up Indie

Загружено: 2024-02-19

Просмотров: 4620

Описание: This advanced video tutorial shows you how to use efficient data with constructors in GameMaker.

Image you have an inventory with hundreds of entries and each entry has values like name, costs, icon image etc. . Creating for each entry one variable per value even with arrays is not an good way to handle that task. So what I think is one efficient way is to create structs via constructor and store each entry into one array. By that you have only one index that defines which item you want values from. That's it!

Tldr: Yes


Video on structs:
   • Structs - light objects [Game Maker | Basics]  


// slime from the thumbnail:
https://ggoolmool.itch.io/slime


👑 Support me and get fresh game art and game maker projects every month:
  / 1upindie  

Follow me on:
📸 Instangram:   / 1upindie  
🐦 Twitter:   / 1upindie  
💬 Discord:   / discord  
📜 Udemy: https://www.udemy.com/course/become-a... (See youtube about page for discount)


----------------------------------------------------------------------------------------
0:00 What we will do
1:22 Subscribe
1:34 Old school way of storing items/data with single variables
2:38 Using arrays to store
3:23 Using structs to store
6:29 Using constructors - Setup
7:00 Store each new entry/struct into an array
8:12 Adding variables to the constructor
10:00 How to grab entries/items
12:58 Modulary advance the constructor with a function

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Constructor - The king of data [GameMaker | Advanced]

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Record/tutorial Ghost for cutscenes [GameMaker | Advanced]

Record/tutorial Ghost for cutscenes [GameMaker | Advanced]

How to Use Structs in GameMaker | Complete Beginner Tutorial

How to Use Structs in GameMaker | Complete Beginner Tutorial

Autonomy Sandboxes: Cultivating Safe Competence in the AI Age

Autonomy Sandboxes: Cultivating Safe Competence in the AI Age

Префабы GameMaker — обзор и первые впечатления!

Префабы GameMaker — обзор и первые впечатления!

GameMaker Tutorials

GameMaker Tutorials

I Tried Making an Undertale-like RPG in Gamemaker—In One Day

I Tried Making an Undertale-like RPG in Gamemaker—In One Day

Шансы и вероятности в сапёре: 8, 77, 8-8, поля без 0, 1, 2, в одно нажатие.  [Games Computer Play]

Шансы и вероятности в сапёре: 8, 77, 8-8, поля без 0, 1, 2, в одно нажатие. [Games Computer Play]

How Two Students Created Risk of Rain and Why They Sold the IP Rights

How Two Students Created Risk of Rain and Why They Sold the IP Rights

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

ТЫ НИЧЕГО НЕ ЗНАЕШЬ ПРО ТЕКСТУРЫ В ИГРАХ

ТЫ НИЧЕГО НЕ ЗНАЕШЬ ПРО ТЕКСТУРЫ В ИГРАХ

Почему я выбрал Gamemaker для своей инди-игры

Почему я выбрал Gamemaker для своей инди-игры

Программирование на ассемблере без операционной системы

Программирование на ассемблере без операционной системы

[GMS2.3] Structs and Constructors : OOP in Gamemaker Studio 2.3 | FunBox tutorial

[GMS2.3] Structs and Constructors : OOP in Gamemaker Studio 2.3 | FunBox tutorial

Inventory system to park your gear [GameMaker]

Inventory system to park your gear [GameMaker]

Debian: САМЫЙ СТАБИЛЬНЫЙ Linux и ТЁМНАЯ История Создателя

Debian: САМЫЙ СТАБИЛЬНЫЙ Linux и ТЁМНАЯ История Создателя

RUST: Язык Программирования, Который ЗАМЕНИТ C и C++?

RUST: Язык Программирования, Который ЗАМЕНИТ C и C++?

КАК ОБНУЛЯЮТ СТРАНЫ, И ПРИ ЧЕМ ТУТ КРИПТА?

КАК ОБНУЛЯЮТ СТРАНЫ, И ПРИ ЧЕМ ТУТ КРИПТА?

Как заставить своего персонажа-платформера хвататься за уступы! — Учебник GameMaker

Как заставить своего персонажа-платформера хвататься за уступы! — Учебник GameMaker

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Руководство RESOLUTION для разработчиков игр и GameMaker

Руководство RESOLUTION для разработчиков игр и GameMaker

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]