Skip to content

Commit

Permalink
Update & publish new doc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue Fire committed Jul 30, 2024
1 parent 8d6c007 commit a16dd62
Show file tree
Hide file tree
Showing 10 changed files with 531 additions and 531 deletions.
1,020 changes: 510 additions & 510 deletions docs/main/_static/apps/tutorials-platformer-app/main.dart.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/main/flame/effects.html
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ <h3><code class="docutils literal notranslate"><span class="pre">SequenceEffect<
<span class="linenos">24</span><span class="w"> </span><span class="n">EffectController</span><span class="p">(</span><span class="nl">duration:</span><span class="w"> </span><span class="m">0.5</span><span class="p">),</span>
<span class="linenos">25</span><span class="w"> </span><span class="p">),</span>
<span class="linenos">26</span><span class="w"> </span><span class="n">ScaleEffect</span><span class="p">.</span><span class="n">by</span><span class="p">(</span>
<span class="linenos">27</span><span class="w"> </span><span class="n">Vector2</span><span class="p">.</span><span class="n">all</span><span class="p">(.</span><span class="m">75</span><span class="p">),</span>
<span class="linenos">27</span><span class="w"> </span><span class="n">Vector2</span><span class="p">.</span><span class="n">all</span><span class="p">(</span><span class="m">0.75</span><span class="p">),</span>
<span class="linenos">28</span><span class="w"> </span><span class="n">EffectController</span><span class="p">(</span><span class="nl">duration:</span><span class="w"> </span><span class="m">0.2</span><span class="p">,</span><span class="w"> </span><span class="nl">alternate:</span><span class="w"> </span><span class="kc">true</span><span class="p">),</span>
<span class="linenos">29</span><span class="w"> </span><span class="p">),</span>
<span class="linenos">30</span><span class="w"> </span><span class="p">]),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/main/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/main/tutorials/klondike/step4.html
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,7 @@ <h3>4. Moving a run of cards<a class="headerlink" href="#moving-a-run-of-cards"
<span class="linenos">12</span><span class="w"> </span><span class="c1">/// Which cards are currently placed onto this pile.</span>
<span class="linenos">13</span><span class="w"> </span><span class="kd">final</span><span class="w"> </span><span class="n">List</span><span class="o">&lt;</span><span class="n">Card</span><span class="o">&gt;</span><span class="w"> </span><span class="n">_cards</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">[];</span>
<span class="linenos">14</span><span class="w"> </span><span class="kd">final</span><span class="w"> </span><span class="n">Vector2</span><span class="w"> </span><span class="n">_fanOffset1</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="m">0</span><span class="p">,</span><span class="w"> </span><span class="n">KlondikeGame</span><span class="p">.</span><span class="n">cardHeight</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="m">0.05</span><span class="p">);</span>
<span class="linenos">15</span><span class="w"> </span><span class="kd">final</span><span class="w"> </span><span class="n">Vector2</span><span class="w"> </span><span class="n">_fanOffset2</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="m">0</span><span class="p">,</span><span class="w"> </span><span class="n">KlondikeGame</span><span class="p">.</span><span class="n">cardHeight</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="m">0.20</span><span class="p">);</span>
<span class="linenos">15</span><span class="w"> </span><span class="kd">final</span><span class="w"> </span><span class="n">Vector2</span><span class="w"> </span><span class="n">_fanOffset2</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="m">0</span><span class="p">,</span><span class="w"> </span><span class="n">KlondikeGame</span><span class="p">.</span><span class="n">cardHeight</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="m">0.2</span><span class="p">);</span>
<span class="linenos">16</span>
<span class="linenos">17</span><span class="w"> </span><span class="c1">//#region Pile API</span>
<span class="linenos">18</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/main/tutorials/klondike/step5.html
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ <h2>The <code class="docutils literal notranslate"><span class="pre">Have</span>
<span class="linenos"> 12</span><span class="w"> </span><span class="c1">/// Which cards are currently placed onto this pile.</span>
<span class="linenos"> 13</span><span class="w"> </span><span class="kd">final</span><span class="w"> </span><span class="n">List</span><span class="o">&lt;</span><span class="n">Card</span><span class="o">&gt;</span><span class="w"> </span><span class="n">_cards</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">[];</span>
<span class="linenos"> 14</span><span class="w"> </span><span class="kd">final</span><span class="w"> </span><span class="n">Vector2</span><span class="w"> </span><span class="n">_fanOffset1</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="m">0</span><span class="p">,</span><span class="w"> </span><span class="n">KlondikeGame</span><span class="p">.</span><span class="n">cardHeight</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="m">0.05</span><span class="p">);</span>
<span class="linenos"> 15</span><span class="w"> </span><span class="kd">final</span><span class="w"> </span><span class="n">Vector2</span><span class="w"> </span><span class="n">_fanOffset2</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="m">0</span><span class="p">,</span><span class="w"> </span><span class="n">KlondikeGame</span><span class="p">.</span><span class="n">cardHeight</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="m">0.20</span><span class="p">);</span>
<span class="linenos"> 15</span><span class="w"> </span><span class="kd">final</span><span class="w"> </span><span class="n">Vector2</span><span class="w"> </span><span class="n">_fanOffset2</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="m">0</span><span class="p">,</span><span class="w"> </span><span class="n">KlondikeGame</span><span class="p">.</span><span class="n">cardHeight</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="m">0.2</span><span class="p">);</span>
<span class="linenos"> 16</span>
<span class="linenos"> 17</span><span class="w"> </span><span class="c1">//#region Pile API</span>
<span class="linenos"> 18</span>
Expand Down
8 changes: 4 additions & 4 deletions docs/main/tutorials/platformer/step_7.html
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ <h2>Congratulations<a class="headerlink" href="#congratulations" title="Link to
<span class="linenos">23</span><span class="w"> </span><span class="n">SpriteAnimationData</span><span class="p">.</span><span class="n">sequenced</span><span class="p">(</span>
<span class="linenos">24</span><span class="w"> </span><span class="nl">amount:</span><span class="w"> </span><span class="m">2</span><span class="p">,</span>
<span class="linenos">25</span><span class="w"> </span><span class="nl">textureSize:</span><span class="w"> </span><span class="n">Vector2</span><span class="p">.</span><span class="n">all</span><span class="p">(</span><span class="m">16</span><span class="p">),</span>
<span class="linenos">26</span><span class="w"> </span><span class="nl">stepTime:</span><span class="w"> </span><span class="m">0.70</span><span class="p">,</span>
<span class="linenos">26</span><span class="w"> </span><span class="nl">stepTime:</span><span class="w"> </span><span class="m">0.7</span><span class="p">,</span>
<span class="linenos">27</span><span class="w"> </span><span class="p">),</span>
<span class="linenos">28</span><span class="w"> </span><span class="p">);</span>
<span class="linenos">29</span><span class="w"> </span><span class="n">position</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span>
Expand Down Expand Up @@ -1238,10 +1238,10 @@ <h2>Congratulations<a class="headerlink" href="#congratulations" title="Link to
<span class="linenos">27</span><span class="w"> </span><span class="n">add</span><span class="p">(</span><span class="n">RectangleHitbox</span><span class="p">(</span><span class="nl">collisionType:</span><span class="w"> </span><span class="n">CollisionType</span><span class="p">.</span><span class="n">passive</span><span class="p">));</span>
<span class="linenos">28</span><span class="w"> </span><span class="n">add</span><span class="p">(</span>
<span class="linenos">29</span><span class="w"> </span><span class="n">SizeEffect</span><span class="p">.</span><span class="n">by</span><span class="p">(</span>
<span class="linenos">30</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="o">-</span><span class="m">24</span><span class="p">,</span><span class="w"> </span><span class="o">-</span><span class="m">24</span><span class="p">),</span>
<span class="linenos">30</span><span class="w"> </span><span class="n">Vector2</span><span class="p">.</span><span class="n">all</span><span class="p">(</span><span class="o">-</span><span class="m">24</span><span class="p">),</span>
<span class="linenos">31</span><span class="w"> </span><span class="n">EffectController</span><span class="p">(</span>
<span class="linenos">32</span><span class="w"> </span><span class="nl">duration:</span><span class="w"> </span><span class="p">.</span><span class="m">75</span><span class="p">,</span>
<span class="linenos">33</span><span class="w"> </span><span class="nl">reverseDuration:</span><span class="w"> </span><span class="p">.</span><span class="m">5</span><span class="p">,</span>
<span class="linenos">32</span><span class="w"> </span><span class="nl">duration:</span><span class="w"> </span><span class="m">0.75</span><span class="p">,</span>
<span class="linenos">33</span><span class="w"> </span><span class="nl">reverseDuration:</span><span class="w"> </span><span class="m">0.5</span><span class="p">,</span>
<span class="linenos">34</span><span class="w"> </span><span class="nl">infinite:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
<span class="linenos">35</span><span class="w"> </span><span class="nl">curve:</span><span class="w"> </span><span class="n">Curves</span><span class="p">.</span><span class="n">easeOut</span><span class="p">,</span>
<span class="linenos">36</span><span class="w"> </span><span class="p">),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/main/tutorials/space_shooter/step_3.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ <h1>Adding animations and depth<a class="headerlink" href="#adding-animations-an
<span class="linenos">52</span><span class="w"> </span><span class="s1">&#39;player.png&#39;</span><span class="p">,</span>
<span class="linenos">53</span><span class="w"> </span><span class="n">SpriteAnimationData</span><span class="p">.</span><span class="n">sequenced</span><span class="p">(</span>
<span class="linenos">54</span><span class="w"> </span><span class="nl">amount:</span><span class="w"> </span><span class="m">4</span><span class="p">,</span>
<span class="linenos">55</span><span class="w"> </span><span class="nl">stepTime:</span><span class="w"> </span><span class="p">.</span><span class="m">2</span><span class="p">,</span>
<span class="linenos">55</span><span class="w"> </span><span class="nl">stepTime:</span><span class="w"> </span><span class="m">0.2</span><span class="p">,</span>
<span class="linenos">56</span><span class="w"> </span><span class="nl">textureSize:</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="m">32</span><span class="p">,</span><span class="w"> </span><span class="m">48</span><span class="p">),</span>
<span class="linenos">57</span><span class="w"> </span><span class="p">),</span>
<span class="linenos">58</span><span class="w"> </span><span class="p">);</span>
Expand Down
6 changes: 3 additions & 3 deletions docs/main/tutorials/space_shooter/step_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -572,15 +572,15 @@ <h1>Adding bullets<a class="headerlink" href="#adding-bullets" title="Link to th
<span class="linenos"> 64</span><span class="w"> </span><span class="s1">&#39;player.png&#39;</span><span class="p">,</span>
<span class="linenos"> 65</span><span class="w"> </span><span class="n">SpriteAnimationData</span><span class="p">.</span><span class="n">sequenced</span><span class="p">(</span>
<span class="linenos"> 66</span><span class="w"> </span><span class="nl">amount:</span><span class="w"> </span><span class="m">4</span><span class="p">,</span>
<span class="linenos"> 67</span><span class="w"> </span><span class="nl">stepTime:</span><span class="w"> </span><span class="p">.</span><span class="m">2</span><span class="p">,</span>
<span class="linenos"> 67</span><span class="w"> </span><span class="nl">stepTime:</span><span class="w"> </span><span class="m">0.2</span><span class="p">,</span>
<span class="linenos"> 68</span><span class="w"> </span><span class="nl">textureSize:</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="m">32</span><span class="p">,</span><span class="w"> </span><span class="m">48</span><span class="p">),</span>
<span class="linenos"> 69</span><span class="w"> </span><span class="p">),</span>
<span class="linenos"> 70</span><span class="w"> </span><span class="p">);</span>
<span class="linenos"> 71</span>
<span class="linenos"> 72</span><span class="w"> </span><span class="n">position</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">game</span><span class="p">.</span><span class="n">size</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="m">2</span><span class="p">;</span>
<span class="linenos"> 73</span>
<span class="linenos"> 74</span><span class="w"> </span><span class="n">_bulletSpawner</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">SpawnComponent</span><span class="p">(</span>
<span class="linenos"> 75</span><span class="w"> </span><span class="nl">period:</span><span class="w"> </span><span class="p">.</span><span class="m">2</span><span class="p">,</span>
<span class="linenos"> 75</span><span class="w"> </span><span class="nl">period:</span><span class="w"> </span><span class="m">0.2</span><span class="p">,</span>
<span class="linenos"> 76</span><span class="w"> </span><span class="nl">selfPositioning:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
<span class="linenos"> 77</span><span class="w"> </span><span class="kd">factory</span><span class="o">:</span><span class="w"> </span><span class="p">(</span><span class="n">index</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="linenos"> 78</span><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">Bullet</span><span class="p">(</span>
Expand Down Expand Up @@ -627,7 +627,7 @@ <h1>Adding bullets<a class="headerlink" href="#adding-bullets" title="Link to th
<span class="linenos">119</span><span class="w"> </span><span class="s1">&#39;bullet.png&#39;</span><span class="p">,</span>
<span class="linenos">120</span><span class="w"> </span><span class="n">SpriteAnimationData</span><span class="p">.</span><span class="n">sequenced</span><span class="p">(</span>
<span class="linenos">121</span><span class="w"> </span><span class="nl">amount:</span><span class="w"> </span><span class="m">4</span><span class="p">,</span>
<span class="linenos">122</span><span class="w"> </span><span class="nl">stepTime:</span><span class="w"> </span><span class="p">.</span><span class="m">2</span><span class="p">,</span>
<span class="linenos">122</span><span class="w"> </span><span class="nl">stepTime:</span><span class="w"> </span><span class="m">0.2</span><span class="p">,</span>
<span class="linenos">123</span><span class="w"> </span><span class="nl">textureSize:</span><span class="w"> </span><span class="n">Vector2</span><span class="p">(</span><span class="m">8</span><span class="p">,</span><span class="w"> </span><span class="m">16</span><span class="p">),</span>
<span class="linenos">124</span><span class="w"> </span><span class="p">),</span>
<span class="linenos">125</span><span class="w"> </span><span class="p">);</span>
Expand Down
Loading

0 comments on commit a16dd62

Please sign in to comment.