github-actions[bot] 13 часов назад
Родитель
Сommit
3ec0604b52

+ 39 - 1
html/master/_sources/importing_resources/importing_fonts.rst.txt

@@ -1,7 +1,45 @@
+===============
 Importing Fonts
 ===============
 
+Crown can import fonts from popular font file formats. Importing a font produces
+a ``.font`` resource (a map of glyphs), an accompanying ``.texture`` resource
+(an atlas containing all the glyphs) and a ``.material`` resource suitable for
+drawing text.
+
 .. figure:: images/import_font.png
    :align: center
 
-   The font import dialog.
+   The Import Font dialog.
+
+Dialog overview
+===============
+
+On the left, the importer shows a preview of the final texture atlas. On the
+right you can set various parameters that control which characters are included
+in the atlas and their size. This size does not have to match the size used when
+drawing text, but it is good practice to keep them similar to avoid scaling
+artifacts.
+
+Renaming the font
+=================
+
+Font files are often named with variants and other details embedded in the
+filename. If you prefer a simpler name, you can rename the font before
+importing by entering it in the ``Name`` field.
+
+Atlas generation
+================
+
+The atlas dimensions are shown in ``Atlas size``. They are determined
+automatically from the font ``Size`` and the selected ``Charset``. Enter the
+desired font size and press ``Enter``; Crown will regenerate the atlas and
+update the preview. Glyphs are packed as tightly as possible to keep the
+atlas small and avoid runtime performance issues.
+
+Custom charset
+==============
+
+By default Crown provides several common character sets in the ``Charset``
+dropdown. For a custom range, use ``Range min`` and ``Range max`` to set the
+first and last Unicode code point to include in the font.

+ 16 - 0
html/master/_sources/importing_resources/importing_sounds.rst.txt

@@ -1,2 +1,18 @@
+================
 Importing Sounds
 ================
+
+Crown supports importing both short sound effects and longer music tracks.
+Importing any supported audio file produces a ``.sound`` resource in the
+project alongside the original audio file.
+
+Audio streaming
+===============
+
+During project compilation Crown inspects the audio file and chooses an
+appropriate processing strategy:
+
+* Short sound effects are typically preloaded into memory so playback can
+  start with no delay.
+* Long music tracks use the original file compression and are streamed in at
+  runtime to reduce memory usage.

+ 43 - 5
html/master/importing_resources/importing_fonts.html

@@ -3,14 +3,14 @@
 <head>
   <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
 
-    <meta property="article:modified_time" content="2026-02-16T16:34:21+00:00" /><meta property="og:title" content="Importing Fonts" />
+    <meta property="article:modified_time" content="2026-02-16T21:19:30+00:00" /><meta property="og:title" content="Importing Fonts" />
 <meta property="og:type" content="website" />
 <meta property="og:url" content="https://docs.crownengine.org/html/latest/importing_resources/importing_fonts.html" />
 <meta property="og:site_name" content="Crown 0.60.0 Manual" />
-<meta property="og:description" content="The font import dialog.," />
+<meta property="og:description" content="Crown can import fonts from popular font file formats. Importing a font produces a.font resource (a map of glyphs), an accompanying.texture resource (an atlas containing all the glyphs) and a.material resource suitable for drawing text. The Import Font dialog., Dialog overview..." />
 <meta property="og:image" content="https://docs.crownengine.org/html/latest/_images/import_font.png" />
 <meta property="og:image:alt" content="Crown 0.60.0 Manual" />
-<meta name="description" content="The font import dialog.," />
+<meta name="description" content="Crown can import fonts from popular font file formats. Importing a font produces a.font resource (a map of glyphs), an accompanying.texture resource (an atlas containing all the glyphs) and a.material resource suitable for drawing text. The Import Font dialog., Dialog overview..." />
 
   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
   <title>Importing Fonts &mdash; Crown 0.60.0 Manual 0.61.0 documentation</title>
@@ -66,7 +66,13 @@
 <li class="toctree-l2"><a class="reference internal" href="importing_sprites.html">Importing Sprites</a></li>
 <li class="toctree-l2"><a class="reference internal" href="importing_textures.html">Importing Textures</a></li>
 <li class="toctree-l2"><a class="reference internal" href="importing_sounds.html">Importing Sounds</a></li>
-<li class="toctree-l2 current"><a class="current reference internal" href="#">Importing Fonts</a></li>
+<li class="toctree-l2 current"><a class="current reference internal" href="#">Importing Fonts</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="#dialog-overview">Dialog overview</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#renaming-the-font">Renaming the font</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#atlas-generation">Atlas generation</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#custom-charset">Custom charset</a></li>
+</ul>
+</li>
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" href="../gameplay/index.html">Writing Gameplay</a></li>
@@ -105,12 +111,44 @@
              
   <section id="importing-fonts">
 <h1>Importing Fonts<a class="headerlink" href="#importing-fonts" title="Permalink to this headline">¶</a></h1>
+<p>Crown can import fonts from popular font file formats. Importing a font produces
+a <code class="docutils literal notranslate"><span class="pre">.font</span></code> resource (a map of glyphs), an accompanying <code class="docutils literal notranslate"><span class="pre">.texture</span></code> resource
+(an atlas containing all the glyphs) and a <code class="docutils literal notranslate"><span class="pre">.material</span></code> resource suitable for
+drawing text.</p>
 <figure class="align-center" id="id1">
 <img alt="../_images/import_font.png" src="../_images/import_font.png" />
 <figcaption>
-<p><span class="caption-text">The font import dialog.</span><a class="headerlink" href="#id1" title="Permalink to this image">¶</a></p>
+<p><span class="caption-text">The Import Font dialog.</span><a class="headerlink" href="#id1" title="Permalink to this image">¶</a></p>
 </figcaption>
 </figure>
+<section id="dialog-overview">
+<h2>Dialog overview<a class="headerlink" href="#dialog-overview" title="Permalink to this headline">¶</a></h2>
+<p>On the left, the importer shows a preview of the final texture atlas. On the
+right you can set various parameters that control which characters are included
+in the atlas and their size. This size does not have to match the size used when
+drawing text, but it is good practice to keep them similar to avoid scaling
+artifacts.</p>
+</section>
+<section id="renaming-the-font">
+<h2>Renaming the font<a class="headerlink" href="#renaming-the-font" title="Permalink to this headline">¶</a></h2>
+<p>Font files are often named with variants and other details embedded in the
+filename. If you prefer a simpler name, you can rename the font before
+importing by entering it in the <code class="docutils literal notranslate"><span class="pre">Name</span></code> field.</p>
+</section>
+<section id="atlas-generation">
+<h2>Atlas generation<a class="headerlink" href="#atlas-generation" title="Permalink to this headline">¶</a></h2>
+<p>The atlas dimensions are shown in <code class="docutils literal notranslate"><span class="pre">Atlas</span> <span class="pre">size</span></code>. They are determined
+automatically from the font <code class="docutils literal notranslate"><span class="pre">Size</span></code> and the selected <code class="docutils literal notranslate"><span class="pre">Charset</span></code>. Enter the
+desired font size and press <code class="docutils literal notranslate"><span class="pre">Enter</span></code>; Crown will regenerate the atlas and
+update the preview. Glyphs are packed as tightly as possible to keep the
+atlas small and avoid runtime performance issues.</p>
+</section>
+<section id="custom-charset">
+<h2>Custom charset<a class="headerlink" href="#custom-charset" title="Permalink to this headline">¶</a></h2>
+<p>By default Crown provides several common character sets in the <code class="docutils literal notranslate"><span class="pre">Charset</span></code>
+dropdown. For a custom range, use <code class="docutils literal notranslate"><span class="pre">Range</span> <span class="pre">min</span></code> and <code class="docutils literal notranslate"><span class="pre">Range</span> <span class="pre">max</span></code> to set the
+first and last Unicode code point to include in the font.</p>
+</section>
 </section>
 
 

+ 22 - 3
html/master/importing_resources/importing_sounds.html

@@ -3,10 +3,12 @@
 <head>
   <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
 
-    <meta property="article:modified_time" content="2025-11-27T16:23:47+00:00" /><meta property="og:title" content="Importing Sounds" />
+    <meta property="article:modified_time" content="2026-02-16T23:04:08+00:00" /><meta property="og:title" content="Importing Sounds" />
 <meta property="og:type" content="website" />
 <meta property="og:url" content="https://docs.crownengine.org/html/latest/importing_resources/importing_sounds.html" />
 <meta property="og:site_name" content="Crown 0.60.0 Manual" />
+<meta property="og:description" content="Crown supports importing both short sound effects and longer music tracks. Importing any supported audio file produces a.sound resource in the project alongside the original audio file. Audio streaming: During project compilation Crown inspects the audio file and chooses an ap..." />
+<meta name="description" content="Crown supports importing both short sound effects and longer music tracks. Importing any supported audio file produces a.sound resource in the project alongside the original audio file. Audio streaming: During project compilation Crown inspects the audio file and chooses an ap..." />
 
   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
   <title>Importing Sounds &mdash; Crown 0.60.0 Manual 0.61.0 documentation</title>
@@ -61,7 +63,10 @@
 <li class="toctree-l2"><a class="reference internal" href="importing_scenes.html">Importing Scenes</a></li>
 <li class="toctree-l2"><a class="reference internal" href="importing_sprites.html">Importing Sprites</a></li>
 <li class="toctree-l2"><a class="reference internal" href="importing_textures.html">Importing Textures</a></li>
-<li class="toctree-l2 current"><a class="current reference internal" href="#">Importing Sounds</a></li>
+<li class="toctree-l2 current"><a class="current reference internal" href="#">Importing Sounds</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="#audio-streaming">Audio streaming</a></li>
+</ul>
+</li>
 <li class="toctree-l2"><a class="reference internal" href="importing_fonts.html">Importing Fonts</a></li>
 </ul>
 </li>
@@ -101,6 +106,20 @@
              
   <section id="importing-sounds">
 <h1>Importing Sounds<a class="headerlink" href="#importing-sounds" title="Permalink to this headline">¶</a></h1>
+<p>Crown supports importing both short sound effects and longer music tracks.
+Importing any supported audio file produces a <code class="docutils literal notranslate"><span class="pre">.sound</span></code> resource in the
+project alongside the original audio file.</p>
+<section id="audio-streaming">
+<h2>Audio streaming<a class="headerlink" href="#audio-streaming" title="Permalink to this headline">¶</a></h2>
+<p>During project compilation Crown inspects the audio file and chooses an
+appropriate processing strategy:</p>
+<ul class="simple">
+<li><p>Short sound effects are typically preloaded into memory so playback can
+start with no delay.</p></li>
+<li><p>Long music tracks use the original file compression and are streamed in at
+runtime to reduce memory usage.</p></li>
+</ul>
+</section>
 </section>
 
 
@@ -115,7 +134,7 @@
 
   <div role="contentinfo">
     <p>&#169; <a href="../copyright.html">Copyright</a> Except where otherwise noted, content on this page is licensed under a CC-BY-SA 4.0 Int. License.
-      <span class="lastupdated">Last updated on Nov 27, 2025.
+      <span class="lastupdated">Last updated on Feb 16, 2026.
       </span></p>
   </div>
 

+ 11 - 2
html/master/importing_resources/index.html

@@ -126,8 +126,17 @@ for use in Levels, Units, and other project content.</p>
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" href="importing_textures.html">Importing Textures</a></li>
-<li class="toctree-l1"><a class="reference internal" href="importing_sounds.html">Importing Sounds</a></li>
-<li class="toctree-l1"><a class="reference internal" href="importing_fonts.html">Importing Fonts</a></li>
+<li class="toctree-l1"><a class="reference internal" href="importing_sounds.html">Importing Sounds</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="importing_sounds.html#audio-streaming">Audio streaming</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="importing_fonts.html">Importing Fonts</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="importing_fonts.html#dialog-overview">Dialog overview</a></li>
+<li class="toctree-l2"><a class="reference internal" href="importing_fonts.html#renaming-the-font">Renaming the font</a></li>
+<li class="toctree-l2"><a class="reference internal" href="importing_fonts.html#atlas-generation">Atlas generation</a></li>
+<li class="toctree-l2"><a class="reference internal" href="importing_fonts.html#custom-charset">Custom charset</a></li>
+</ul>
+</li>
 </ul>
 </div>
 </section>

BIN
html/master/objects.inv


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
html/master/searchindex.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
html/master/sitemap.xml


Некоторые файлы не были показаны из-за большого количества измененных файлов