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 revision Previous revision
en:tutorials:resources:resource_reloading [2021/08/28 12:07 (8 weeks ago)]
iarwain
en:tutorials:resources:resource_reloading [2021/08/28 12:07 (8 weeks ago)] (current)
iarwain [Swapping to high-res using Code]
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.txt ยท Last modified: 2021/08/28 12:07 (8 weeks ago) by iarwain