Handmade Hero»Episode Guide
Loading Assets from the Asset File
?
?

Keyboard Navigation

Global Keys

[, < / ], > Jump to previous / next episode
W, K, P / S, J, N Jump to previous / next marker
t / T Toggle theatre / SUPERtheatre mode
V Revert filter to original state Y Select link (requires manual Ctrl-c)

Menu toggling

q Quotes r References f Filter y Link c Credits

In-Menu Movement

a
w
s
d
h j k l


Quotes and References Menus

Enter Jump to timecode

Quotes, References and Credits Menus

o Open URL (in new tab)

Filter Menu

x, Space Toggle category and focus next
X, ShiftSpace Toggle category and focus previous
v Invert topics / media as per focus

Filter and Link Menus

z Toggle filter / linking mode

Credits Menu

Enter Open URL (in new tab)
00:00:27Recap and plan for the day
00:00:27Recap and plan for the day
00:00:27Recap and plan for the day
00:02:11Loading the asset array
00:02:11Loading the asset array
00:02:11Loading the asset array
00:06:20(intermission) Simplifying asset-related structs
00:06:20(intermission) Simplifying asset-related structs
00:06:20(intermission) Simplifying asset-related structs
00:11:24Back to loading the asset array
00:11:24Back to loading the asset array
00:11:24Back to loading the asset array
00:11:53Storing the base of the file
00:11:53Storing the base of the file
00:11:53Storing the base of the file
00:12:16Loading the asset type array
00:12:16Loading the asset type array
00:12:16Loading the asset type array
00:14:42Removing the call to DEBUGLoadBMP
00:14:42Removing the call to DEBUGLoadBMP
00:14:42Removing the call to DEBUGLoadBMP
00:19:16Removing the call to DEBUGLoadWAV
00:19:16Removing the call to DEBUGLoadWAV
00:19:16Removing the call to DEBUGLoadWAV
00:22:35Testing the changes
00:22:35Testing the changes
00:22:35Testing the changes
00:23:26Let's load only what we need, not the entire asset file
00:23:26Let's load only what we need, not the entire asset file
00:23:26Let's load only what we need, not the entire asset file
00:24:10Flat-loading the asset tags and the assets
00:24:10Flat-loading the asset tags and the assets
00:24:10Flat-loading the asset tags and the assets
00:27:47AssetTypes are not flat-loadable
00:27:47AssetTypes are not flat-loadable
00:27:47AssetTypes are not flat-loadable
00:28:42Defining the file API
00:28:42Defining the file API
00:28:42Defining the file API
00:29:34Recipe for a good API: write the usage code first
00:29:34Recipe for a good API: write the usage code first
00:29:34Recipe for a good API: write the usage code first
00:32:00The platform layer takes care of knowing the location of the asset files
00:32:00The platform layer takes care of knowing the location of the asset files
00:32:00The platform layer takes care of knowing the location of the asset files
00:38:53Allowing all operations on files and checking for errors just once
00:38:53Allowing all operations on files and checking for errors just once
00:38:53Allowing all operations on files and checking for errors just once
00:41:02Merging the contents of asset files
00:41:02Merging the contents of asset files
00:41:02Merging the contents of asset files
00:44:31Another opportunity for centralized error handling
00:44:31Another opportunity for centralized error handling
00:44:31Another opportunity for centralized error handling
00:47:38Informing the OS that we are finished using the list of hha files so that it can free any associated resource
00:47:38Informing the OS that we are finished using the list of hha files so that it can free any associated resource
00:47:38Informing the OS that we are finished using the list of hha files so that it can free any associated resource
00:49:11Organizing our assets by asset type by looping multiple times over all files
00:49:11Organizing our assets by asset type by looping multiple times over all files
00:49:11Organizing our assets by asset type by looping multiple times over all files
00:49:51Do this in a super janky wayα
00:49:51Do this in a super janky wayα
00:49:51Do this in a super janky wayα
00:55:30Including a TagBase in the asset_file struct to rebase its tags
00:55:30Including a TagBase in the asset_file struct to rebase its tags
00:55:30Including a TagBase in the asset_file struct to rebase its tags
01:00:22Q&A
🗩
01:00:22Q&A
🗩
01:00:22Q&A
🗩
01:01:31drumboy354 What's your general rule for making a variable a pointer versus not?
🗪
01:01:31drumboy354 What's your general rule for making a variable a pointer versus not?
🗪
01:01:31drumboy354 What's your general rule for making a variable a pointer versus not?
🗪
01:11:24sssmcgrath I don't completely understand your aversion to using the C standard library... is this just a hmh thing for teaching? Or do you just never use the standard library?
🗪
01:11:24sssmcgrath I don't completely understand your aversion to using the C standard library... is this just a hmh thing for teaching? Or do you just never use the standard library?
🗪
01:11:24sssmcgrath I don't completely understand your aversion to using the C standard library... is this just a hmh thing for teaching? Or do you just never use the standard library?
🗪
01:15:41insofaras How and where will user save data be stored?
🗪
01:15:41insofaras How and where will user save data be stored?
🗪
01:15:41insofaras How and where will user save data be stored?
🗪
01:16:51Off-topic Q&A
01:16:51Off-topic Q&A
01:16:51Off-topic Q&A
01:16:55glamhoth What keyboard are you using?
🗪
01:16:55glamhoth What keyboard are you using?
🗪
01:16:55glamhoth What keyboard are you using?
🗪
01:17:05dustrag How long have you been developing games?
🗪
01:17:05dustrag How long have you been developing games?
🗪
01:17:05dustrag How long have you been developing games?
🗪
01:17:17glamhoth Why brown switches over blue?
🗪
01:17:17glamhoth Why brown switches over blue?
🗪
01:17:17glamhoth Why brown switches over blue?
🗪
01:17:43pothead0492 What did you had on your arms?
🗪
01:17:43pothead0492 What did you had on your arms?
🗪
01:17:43pothead0492 What did you had on your arms?
🗪
01:17:54alldenaren1 Do you like dogs or cats?
🗪
01:17:54alldenaren1 Do you like dogs or cats?
🗪
01:17:54alldenaren1 Do you like dogs or cats?
🗪
01:18:11rosssylibus How far do you think you are in terms of stream days from implementing game logic in terms of play vs platform?
🗪
01:18:11rosssylibus How far do you think you are in terms of stream days from implementing game logic in terms of play vs platform?
🗪
01:18:11rosssylibus How far do you think you are in terms of stream days from implementing game logic in terms of play vs platform?
🗪
01:18:47bakunda I just got two Rpi2s, what do you think about the Rpi2 in general?
🗪
01:18:47bakunda I just got two Rpi2s, what do you think about the Rpi2 in general?
🗪
01:18:47bakunda I just got two Rpi2s, what do you think about the Rpi2 in general?
🗪
01:18:55meloaananas What do you think about Intel INDE?
🗪
01:18:55meloaananas What do you think about Intel INDE?
🗪
01:18:55meloaananas What do you think about Intel INDE?
🗪
01:20:08End of the off-topic Q&A
🗩
01:20:08End of the off-topic Q&A
🗩
01:20:08End of the off-topic Q&A
🗩
01:20:35On the joy of building your engine from the ground up
🗩
01:20:35On the joy of building your engine from the ground up
🗩
01:20:35On the joy of building your engine from the ground up
🗩