Changes

→‎Read assets: + note about absolute mod file paths
Line 421: Line 421:  
Notes:
 
Notes:
 
* Don't call <tt>content.Load<T></tt> in draw code for performance reasons, since drawing happens ≈60 times per second. Instead, load your content ahead of time and reuse it.
 
* Don't call <tt>content.Load<T></tt> in draw code for performance reasons, since drawing happens ≈60 times per second. Instead, load your content ahead of time and reuse it.
 +
* When loading a mod file, it's automatically relative to your mod folder. SMAPI won't accept an absolute file path.
 
* Don't worry about which path separators you use; SMAPI will normalise them automatically.
 
* Don't worry about which path separators you use; SMAPI will normalise them automatically.
  
translators
8,404

edits