photonstorm
09e8d465e4
Lots more work on the FrameDebugger. Just need texture preview and then can test it properly.
2015-09-16 13:17:06 +01:00
Christoph Dörfel
4c9412088c
Add option to prefix shape name and optimize JSON output
2015-09-16 14:00:24 +02:00
Richard Davey
61edd1b458
FrameDebugger can now handle Text and BitmapText.
2015-09-16 03:18:15 +01:00
Richard Davey
b89f6dd3b4
Much improved final output and logging process.
2015-09-16 02:25:57 +01:00
Richard Davey
29b4bb3174
:)
2015-09-16 02:25:40 +01:00
Richard Davey
66aca82084
Removed duplicate call.
2015-09-16 02:25:32 +01:00
Richard Davey
4828415d97
Merge pull request #2090 from pnstickne/wip-2088
...
Updated documentation to clarify 'types' of time
2015-09-15 19:12:02 +03:00
Richard Davey
b6a67cc795
Merge pull request #2091 from noidexe/patch-4
...
Fix for tile ids between 0x7FFFFFFF and 0xFFFFFFFF
2015-09-15 19:11:36 +03:00
photonstorm
3be0ed8849
FrameDebugger now hooked into Canvas Renderer. Better output coming.
2015-09-15 16:14:14 +01:00
photonstorm
4c5dfc4847
Optimised getSmoothingEnabled, setSmoothingEnabled and setImageRenderingCrisp.
2015-09-15 14:18:00 +01:00
photonstorm
b9fcb7f179
Optimised size of PIXI.CanvasRenderer.mapBlendModes and started removal of options object.
2015-09-15 13:54:17 +01:00
photonstorm
646380f710
Tweaked Canvas.getSmoothingEnabled and Canvas.setSmoothingEnabled to early out on more common browsers.
...
Added Canvas.getSmoothingPrefix
2015-09-15 13:43:52 +01:00
photonstorm
4125e42a06
Sorted out setting the Stage backgroundColor. Much more concise now.
2015-09-15 13:34:07 +01:00
photonstorm
5f77c70309
jsdoc fix.
2015-09-15 13:33:42 +01:00
photonstorm
8069560aaf
No longer needed.
2015-09-15 12:53:44 +01:00
photonstorm
6784a9c1df
Optimised render loop slightly. Moved properties to game.
2015-09-15 12:53:44 +01:00
photonstorm
ff254ec33b
Added clearBeforeRender boolean.
2015-09-15 12:53:44 +01:00
photonstorm
0ee95b22d6
Fixed rogue comma.
2015-09-15 12:53:44 +01:00
photonstorm
b99c9e22ec
Removed PIXI.Stage. Phaser.Stage now handles everything it needs to do.
2015-09-15 12:53:44 +01:00
photonstorm
705cacf2ca
Sorting out the Stage background color assignment so we can drop a boolean check in the render method.
2015-09-15 12:53:43 +01:00
photonstorm
5a1a918a5d
Added FrameDebugger.
...
Tidying up the renderer constructors.
2015-09-15 12:53:43 +01:00
photonstorm
06ed961e81
Added FrameDebugger into the mix.
2015-09-15 12:53:43 +01:00
photonstorm
5ceb9914b9
Bumped verison number. Removed default render options (as they're set in Phaser.Game).
2015-09-15 12:53:43 +01:00
photonstorm
daef7d5bfc
Consolidating Pixi into Phaser. Removed options object, values all game from Game anyway so it saves space. Starting to move to jsdocs from yuidocs.
2015-09-15 12:53:43 +01:00
Lisandro Lorea
daff43fd77
Fix for tile ids between 0x7FFFFFFF and 0xFFFFFFFF
...
2147483647 tile ids should be enough for anybody, but it is now working for any valid tile id.
2015-09-15 01:36:13 -03:00
Paul
9733fb4ec2
Updated documentation to clarify 'types' of time
...
- Added 'Types of time' description and cross-links
- Also some general documentation update for Timer
- Type specialization
Ref #2088
2015-09-14 20:21:47 -07:00
Richard Davey
5af444b6a3
Merge pull request #2089 from noidexe/patch-3
...
Correctly interpret binaryString as a sequence of uint32-le values
2015-09-15 03:23:26 +03:00
Lisandro Lorea
f52ca58d7d
Correctly interpret binaryString as a sequence of uint32-le values
...
The previous implementation was ignoring the 3 most significant bytes of each value and would result on improper parsing of any map with tile ids higher than 255
2015-09-14 20:38:58 -03:00
photonstorm
a8e972b25a
Under setTimeOut (or when forceSetTimeOut
was true) the Time was incorrectly setting Time.timeExpected
causing game updates to lag (thanks @satan6 #2087 )
2015-09-14 16:31:16 +01:00
photonstorm
5c30a228bb
Fixed assignment of TEXTURE_ATLAS_JSON_PYXEL constant ( #2050 )
2015-09-14 11:23:31 +01:00
photonstorm
8915a570d9
Readme update.
2015-09-14 11:21:48 +01:00
photonstorm
e9cefbfccf
Added base64 polyfill for new Tiled export support.
2015-09-14 11:21:48 +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
31d0d3905a
Merge pull request #2075 from fonsecas72/patch-1
...
fix tutorial doc
2015-09-14 13:15:56 +03:00
Richard Davey
f8ef567641
Merge pull request #2081 from pnstickne/wip-inputhandler-docs2
...
Fixes incorrect "Pointer" type documentation and parameter names in InputHandler
2015-09-14 13:15:08 +03:00
Richard Davey
1dbfabacbd
Merge pull request #2084 from noidexe/patch-2
...
Add support for TiledJSON with base64 encoding
2015-09-14 12:57:39 +03:00
Richard Davey
1d05f27ac9
Merge pull request #2085 from clark-stevenson/dev
...
Minor TS updates. Added missing DeviceButton.
2015-09-14 12:54:18 +03:00
Clark Stevenson
1c113bc414
Minor TS updates. Added missing DeviceButton.
2015-09-13 21:43:38 +01:00
Lisandro Lorea
8528f0c700
Fixed variable naming style
2015-09-13 12:15:02 -03:00
Lisandro Lorea
308ce6b57c
Add support for TiledJSON with base64 encoding
...
Tiled 0.13.0 added support for layer data compression when exporting as LUA or JSON. This means that any .tmx stored unsing base64 encoding will start exporting layer data as a base64 encoded string rather than a native array.
Phaser would try to load the level anyway without emitting any errors, resulting in a corrupted level while playing.
This PR adds detection and support for base64 encoded levels as long as they don't use compression.
2015-09-13 12:07:57 -03:00
Paul
4474b8fde3
Fixes incorrect type and parameter names
...
- Impact: none; documentation and local variable names only
- Incorrect documentation that claimed to take a Pointer when they really
took a Pointer ID is fixed
- Also updates parameter names for consistenct/clarity
2015-09-12 17:32:40 -07:00
photonstorm
816bcaca75
Missing physicsElapsed value reset.
2015-09-10 16:05:15 +01:00
photonstorm
8db23545da
jsdoc updates.
2015-09-10 15:57:55 +01:00
Richard Davey
83eaf3a574
Added Node.js v4 stable to Travis config (thanks @phillipalexander #2070 )
2015-09-09 22:12:27 +01:00
Richard Davey
96dae9bf2e
Merge pull request #2055 from pmcmonagle/dev
...
Added useCapture flags to removeEventListener where approriate
2015-09-10 00:03:19 +03:00
Richard Davey
6c9e43ad36
DeviceButton was setting a duration
property on itself, which went against the read only getter of duration (thanks @winstonwolff)
2015-09-09 21:58:50 +01:00
photonstorm
90a500ec1e
Game.update could call updateLogic
multiple times in a single frame when catching up with slow device frame rates. This would cause Tweens to advance at twice the speed they should have done (thanks @mkristo)
...
Time.desiredFpsMult is a pre-calculated multiplier used in Game.update.
Time.refresh updates the `Time.time` and `Time.elapsedMS` values and is called automatically by Game.update.
2015-09-09 12:09:18 +01:00
Richard Davey
ee0094f172
Docs update.
2015-09-08 23:00:15 +01:00
Richard Davey
aaecf14c12
Merge pull request #2069 from Pappa/master
...
Fix for AudioBufferSourceNode listener memory leak.
2015-09-08 21:40:19 +03:00
Pappa
12d24d3677
Fix for AudioBufferSourceNode listener memory leak.
...
In Chrome, the AudioBufferSourceNode onended listeners were never being garbage collected. This frees up the listener for collection.
2015-09-08 17:56:17 +01:00