Richard Davey
6bd0ab6a8c
Updated jsdocs and jshint fixes.
2016-09-20 01:48:30 +01:00
Felipe Alfonso
d0c23c15b5
Merge branch 'dev' into texture-compression-webgl
...
Conflicts:
src/pixi/renderers/webgl/WebGLRenderer.js
2016-09-19 20:19:24 -03:00
Richard Davey
e49151877b
jshint fixes.
2016-09-19 22:28:25 +01:00
Felipe Alfonso
ce9e9fbd6c
Dynamic loading of compressed textures.
2016-08-07 17:47:55 -04:00
Felipe Alfonso
5ce4643dfa
Compressed textures are able to upload to GPU
2016-08-01 19:40:35 -04:00
Felipe Alfonso
100aa413bf
Texture loading depending on webgl extensions included default truecolor
2016-08-01 16:27:39 -04:00
Felipe Alfonso
0cbe8969d1
Merge branch 'dev' into texture-compression-webgl
2016-07-28 23:04:27 -04:00
Felipe Alfonso
4b3d449a3d
compression algorithm name passed during parsing
2016-07-28 23:02:34 -04:00
Richard Davey
24368ef8d7
Docs update.
2016-07-29 03:39:51 +01:00
Felipe Alfonso
8960cf26d7
texture meta data parsed and saved in cache
2016-07-28 21:33:31 -04:00
Felipe Alfonso
1b9f25b820
texture binary loading.
2016-07-28 18:42:46 -04:00
Felipe Alfonso
08ec080f67
PVR, DDS, KTX and PKM parsing implemented on LoaderParser.js
2016-07-27 19:47:05 -04:00
Richard Davey
cff28860fa
The Loader.headers object has a new property requestedWith
. By default this is set to false
, but it can be used to set the X-Requested-With
header to XMLHttpRequest
(or any other value you need). To enable this do this.load.headers.requestedWith = 'XMLHttpRequest'
before adding anything to the Loader #2398
2016-07-20 12:45:11 +01:00
Boniatillo.com
881dca3cc5
Fix jsdoc: change to #audioSprite
...
The Phaser.Loader.audioSprite method is using #audiosprite in its jsdoc. Here it is changed to #audioSprite.
2016-07-19 08:41:39 -04:00
photonstorm
fced3f86ec
Phaser 2.6.0 Release.
2016-07-08 15:46:26 +01:00
Richard Davey
63158a1dbf
Argument swapped for destroyBaseTexture
.
2016-07-06 22:31:26 +01:00
Richard Davey
886c641ddc
* The default image texture, for when none is supplied, is now available under Phaser.Cache.DEFAULT
.
...
* The missing image texture, for when an image has failed to load, is now available under `Phaser.Cache.MISSING`.
* Phaser.Cache.addImage will now check the key given, and if `__default` or `__missing` it will update the new consts `Phaser.Cache.DEFAULT` and `Phaser.Cache.MISSING` accordingly, allowing you to replace the default or missing image textures used by Phaser.
* Phaser.Cache.getPixiTexture has now been removed, as the Pixi Cache isn't used internally anywhere any longer.
* Phaser.Cache.getPixiBaseTexture has now been removed, as the Pixi Cache isn't used internally anywhere any longer.
2016-07-06 21:46:40 +01:00
Richard Davey
50434375a1
Tidy up formatting for #2585
2016-06-21 22:00:59 +01:00
Stoneman1
4861df4b66
Added file type mappings to accept headers.
2016-06-21 18:05:56 +03:00
photonstorm
7817d47a25
Updated Cache docs.
2016-06-14 12:18:32 +01:00
David Hayes
346aed2866
Distinguish between Arrays and Objects when cloning in Cache.getJSON.
...
Fixes #2551 .
2016-06-10 10:33:33 -05:00
David Hayes
8317563d27
Don't extend Phaser.Utils when doing deep copy in Phaser.Cache.getJSON.
2016-06-03 10:16:07 -05:00
photonstorm
a2d145a43d
When the Loader loads audio via the Audio tag, instead of Web Audio, it used to use Phaser.GAMES[_this.game.id].load
as the callback handler, which would stop it from working if you had multiple Loaders set-up within Phaser. It now uses a local reference to _this
instead (thanks @SBCGames #2435 )
2016-04-18 16:44:28 +01:00
photonstorm
257a22b170
When loading Video with the asBlob
argument set it now uses a 'blob' type for the XHR loader, and doesn't cast the resulting file as a Blob upon load. This fixes loading videos as blobs on Chrome for Android (thanks @JuCarr #2433 )
2016-04-18 16:17:27 +01:00
photonstorm
f40cfbe2ae
2015 - 2016.
2016-04-04 22:16:16 +01:00
photonstorm
866994743b
URI + ? fix.
2016-02-18 14:34:20 +00:00
Rafael Barbosa Lopes
a267e81b26
Doc: Loader.enableParallel
is Boolean.
2016-02-04 10:06:12 -02:00
Richard Davey
4e7fad353e
Loader.audiosprite is renamed to Loader.audioSprite (the old one still works for legacy reasons) (thanks @epaezrubio #2145 )
2016-02-03 23:53:50 +00:00
Richard Davey
92dae1951b
Merge pull request #2204 from tfelix/master
...
Asset packs are now correctly spliced between waiting files.
2016-02-02 16:58:33 +02:00
Richard Davey
99b3ea4a1f
Merge pull request #2285 from allenevans/bug-clearGLTextures
...
Fix cache reference bug in web GL context restoration.
2016-02-01 19:22:37 +02:00
Richard Davey
1d2d707b32
Merge pull request #2168 from nlotz/dev
...
fix typos in API docs
2016-02-01 19:01:58 +02:00
Richard Davey
fc5530657d
Merge pull request #2236 from milkey-mouse/fix-datauri-error
...
Fix issue #2234 : Errors in getAudioURL() and getVideoURL() when using blob: or data: URIs
2016-02-01 18:51:56 +02:00
Richard Davey
806f93bc84
Merge pull request #2251 from milkey-mouse/fix-404-success
...
Fix issue #2250 : Loader.binary returns success on 404
2016-02-01 18:45:54 +02:00
nexiuhm
1c65c48341
onLoadUpdate now recives the last ( 100 ) update.
2016-01-14 17:09:41 +01:00
Allen Evans
1a02d2da6c
Fix cache reference bug in web GL context restoration.
2016-01-06 07:35:53 +00:00
Milkey Mouse
d1c4297802
Fix #2250
...
changes by @mhstar89
2015-12-09 19:54:48 -08:00
Milkey Mouse
0c2e8d8ce9
Implement jackfreak's changes (Issue #2234 )
2015-11-30 14:07:22 -08:00
tfelix
734eba7f84
Asset packs are now correctly spliced between waiting files.
2015-11-15 02:48:05 +01:00
nlotz
da45d04a70
fix typos in API docs
2015-10-27 09:10:14 +01:00
photonstorm
99751a5e8e
BaseTexture.skipRender is a new boolean that can be set to skip the rendering phase in the WebGL Sprite Batch. You may want to do this if you have a parent Sprite with no visible texture (i.e. uses the internal __default
texture) that has children that you do want to render, without causing a batch flush in the process.
2015-10-15 11:39:59 +01:00
Nikolas Lotz
6d4dad7bb4
Apply default X/Y-Spacing
...
Applies default X/Y-Spacing when omitted as a parameter
2015-10-08 20:14:16 +02:00
Nikolas Lotz
33503e7fa7
adds missing API doc param to addBitmapFont()
...
added missing API doc parameter "atlasType" to Cache::addBitmapFont(...)
2015-09-24 19:18:04 +02:00
photonstorm
5c30a228bb
Fixed assignment of TEXTURE_ATLAS_JSON_PYXEL constant ( #2050 )
2015-09-14 11:23:31 +01:00
Richard Davey
1c7b33107f
Merge pull request #2050 from joshpmcghee/dev
...
Feature: Add support for loading single-layer Pyxel Edit TileMap as an Atlas
2015-09-14 13:21:21 +03:00
Richard Davey
1e7f8dddd9
jsdoc fix.
2015-09-03 00:46:48 +01:00
Josh McGhee
4a19aca212
some cleaning up and documentation polish
2015-09-01 01:03:51 +01:00
Josh McGhee
cbd7265bee
cherry pick commits from master. Read: I'm not clever.
2015-09-01 00:57:54 +01:00
Rafael Barbosa Lopes
1485fd110a
Updated to use a matching expression instead.
...
Replaced the booleans with a matching expression. Now, URLs
beginning with the following patterns will be ignored:
- blob:
- data:
- http://
- https://
- //
As suggested by @pnstickne.
2015-08-28 17:19:24 -03:00
Rafael Barbosa Lopes
14632cdfb5
Prevent 'data:' URLs from being prefixed
...
Fixes an issue where 'data:' URLs may get prefixed by
`#baseURL` and `#path` properties making these URLs invalid.
2015-08-28 15:14:30 -03:00
Richard Davey
8b6d696316
jsdoc fix.
2015-08-26 03:59:18 +01:00