mirror of
https://github.com/wassname/phaser.git
synced 2026-07-17 11:31:30 +08:00
1.1.6 release. The final of the 1.1 branch.
This commit is contained in:
+185
-21
@@ -2436,7 +2436,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-600">line 600</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-616">line 616</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -2684,7 +2684,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-552">line 552</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-568">line 568</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -2932,7 +2932,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-568">line 568</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-584">line 584</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -3180,7 +3180,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-584">line 584</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-600">line 600</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -3370,7 +3370,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-420">line 420</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-436">line 436</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -3620,7 +3620,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-372">line 372</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-388">line 388</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -3868,7 +3868,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-492">line 492</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-508">line 508</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -4173,7 +4173,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1124">line 1124</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1143">line 1143</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -4291,7 +4291,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1149">line 1149</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1168">line 1168</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -4409,7 +4409,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-932">line 932</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-947">line 947</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -4527,7 +4527,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-913">line 913</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-928">line 928</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -4920,6 +4920,170 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
|
||||
|
||||
<h5>Returns:</h5>
|
||||
|
||||
|
||||
<div class="param-desc">
|
||||
<p>This Loader instance.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
Type
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<span class="param-type"><a href="Phaser.Loader.html">Phaser.Loader</a></span>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<h4 class="name" id="json"><span class="type-signature"></span>json<span class="signature">(key, url)</span><span class="type-signature"> → {<a href="Phaser.Loader.html">Phaser.Loader</a>}</span></h4>
|
||||
|
||||
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<div class="description">
|
||||
<p>Add a custom JSON file to the Loader.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>key</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">string</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><p>Unique asset key of the json file.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>url</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">string</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><p>URL of the json file.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-372">line 372</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Returns:</h5>
|
||||
|
||||
|
||||
@@ -5040,7 +5204,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1092">line 1092</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1107">line 1107</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -5109,7 +5273,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-698">line 698</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-714">line 714</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -5250,7 +5414,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-680">line 680</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-696">line 696</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -6201,7 +6365,7 @@ This allows you to easily make loading bars for games.</p>
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-395">line 395</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-411">line 411</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -6293,7 +6457,7 @@ This allows you to easily make loading bars for games.</p>
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-709">line 709</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-725">line 725</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -6771,7 +6935,7 @@ This allows you to easily make loading bars for games.</p>
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-439">line 439</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-455">line 455</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -6863,7 +7027,7 @@ This allows you to easily make loading bars for games.</p>
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1274">line 1274</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1293">line 1293</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -6955,7 +7119,7 @@ This allows you to easily make loading bars for games.</p>
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1295">line 1295</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1314">line 1314</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -7096,7 +7260,7 @@ This allows you to easily make loading bars for games.</p>
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1168">line 1168</a>
|
||||
<a href="Loader.js.html">loader/Loader.js</a>, <a href="Loader.js.html#sunlight-1-line-1187">line 1187</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -7147,7 +7311,7 @@ This allows you to easily make loading bars for games.</p>
|
||||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Wed Feb 12 2014 15:32:18 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Mon Feb 24 2014 01:12:27 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user