Creating an asset manager for your JavaScript games - dynamically load assets at runtime

preview_player
Показать описание
Let's investigate how we can manage our assets at runtime rather than using the DOM. We'll first see what the browser offers us to help with this and then build an asset store before putting it through its paces in a real game example.

#javascript #asset #tutorial

Timestamps:
00:00 Intro
01:30 Understanding how to load assets at runtime
05:39 Building an asset manager
12:17 Using our asset manager in an actual game example
17:18 Outro
Рекомендации по теме
Комментарии
Автор

thank you so much for sharing these cool knowledge, helped me a lot, because I was loading the assets every time I create a new object, and now, I can reuse the same one :D

guilhermecarmo
Автор

Cool! Seeing the dungeon assets make me look forward to your future series about either a RPG/Roguelike/Tower Defense game! Or maybe all :D

EmiliaKaida
Автор

First, I really like these tutorial videos. It got me thinking that you could probably expand on the asset manager to store the data in the indexedDB or serialised localStorage for offline gameplay.

skelbagz