User Tools

Site Tools


en:tutorials:resources:resource_reloading

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:tutorials:resources:resource_reloading [2021/08/28 12:07 (3 years ago)] iarwainen:tutorials:resources:resource_reloading [2021/08/28 12:07 (3 years ago)] (current) – [Swapping to high-res using Code] iarwain
Line 108: Line 108:
  
 <code c> <code c>
-orxResource_RemoveStorage("Texture", orxNULL); +orxResource_RemoveStorage("Texture", orxNULL);  // Removes all the storages from the Texture group
  
 orxConfig_PushSection("Resource"); orxConfig_PushSection("Resource");
-orxConfig_SetString("Texture", "@ResourceHighRes"); // Switch to the high-res textures+orxConfig_SetString("Texture", "@ResourceHighRes"); // Switches to the high-res textures
 orxConfig_PopSection(); orxConfig_PopSection();
  
en/tutorials/resources/resource_reloading.1630177622.txt.gz · Last modified: 2021/08/28 12:07 (3 years ago) by iarwain