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

Опубликовано: 11 Октябрь 2024
на канале: shezzor's Dev Corner
966
47

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.

Game template: https://github.com/shezzor/javascript...
Graphic assets: https://0x72.itch.io/dungeontileset-ii

If you'd like to support what I do, get access to the code or just say thank you, why not visit my Patreon page here?   / shezzor  

#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