ycliper

Популярное

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

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

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

Топ запросов

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

Diablos/Dredge like grid Inventory | Godot 4 Tutorial/Code along

Автор: MrAlphredo

Загружено: 2023-04-24

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

Описание: I spent too much time trying to stuff an extra fish into my tiny boat in Dredge, so I decided to make my own.

Updated Info
Apologies for the confusing x,y conventions used throughout the video, to clarify:
1. The grid id of the item data (shown around 18:56) uses the convention I mentioned, which x positive goes to the right, and y positive goes to the bottom.
2. The icon_anchor used in script, used to calculate grid id in:
var calculated_grid_id = current_slot.slot_ID + icon_anchor.x * col_count + icon_anchor.y
uses the convention where x is the row, positive going down, and y is the column, positive going right.

This is why in
if can_place:
grid_array[grid_to_check].set_color(grid_array[grid_to_check].States.FREE)
#save anchor for snapping
... line 97 in inventory.gd

it may feel confusing why grid[1] sets the x component while grid[0] sets the y component. Adjusting it will require some change to the calculation, and be extra careful with the rotation logic. I am too lazy to change it but I believe my brilliant viewers will not make the same mistake again in their own projects.

github repo:
For some reason youtube description cuts off the link, I will add it in a comment.

music: lofi study by FASSounds

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Diablos/Dredge like grid Inventory | Godot 4 Tutorial/Code along

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

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

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

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

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

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

.kkrieger - Инженерное Безумие Размером 96KB

.kkrieger - Инженерное Безумие Размером 96KB

This is better than @export | Godot Tutorial

This is better than @export | Godot Tutorial

Knifepoint - Indie Dev Log #3 (Godot Engine -  Top Down Shooter)

Knifepoint - Indie Dev Log #3 (Godot Engine - Top Down Shooter)

Странности Кремля и Буданов

Странности Кремля и Буданов

Как 2D существо видит ИСКРИВЛЁННОЕ ПРОСТРАНСТВО?

Как 2D существо видит ИСКРИВЛЁННОЕ ПРОСТРАНСТВО?

How to Make Survival Game in Godot

How to Make Survival Game in Godot

Как я с нуля сделал ноутбук на базе C64 — Portable 64 (эмуляция)

Как я с нуля сделал ноутбук на базе C64 — Portable 64 (эмуляция)

Grid System in Unity (How to make it and where to use it)

Grid System in Unity (How to make it and where to use it)

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

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

Освоение композиции для начинающих в Godot

Освоение композиции для начинающих в Godot

De-Mystifying Inventory Systems - Unreal Engine 5 - Part 1

De-Mystifying Inventory Systems - Unreal Engine 5 - Part 1

Адаптивный UI в Unity. Часть 5. Настраиваем GridLayoutGroup

Адаптивный UI в Unity. Часть 5. Настраиваем GridLayoutGroup

Creating Diablo IV's Inventory UI in Godot 4

Creating Diablo IV's Inventory UI in Godot 4

Как устроена компьютерная графика? OpenGL / C++

Как устроена компьютерная графика? OpenGL / C++

The Power of Video Game HUDs

The Power of Video Game HUDs

Спейс и Зодиак. Хиты восьмидесятых. Космическая музыка.

Спейс и Зодиак. Хиты восьмидесятых. Космическая музыка.

Giving Personality to Procedural Animations using Math

Giving Personality to Procedural Animations using Math

Я обеспечил свой дом энергией с помощью 500 одноразовых вейпов

Я обеспечил свой дом энергией с помощью 500 одноразовых вейпов

Скрипты Godot, которые я добавляю в каждую игру

Скрипты Godot, которые я добавляю в каждую игру

How to make 3D Games in Godot

How to make 3D Games in Godot

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



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



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