Richard Davey
ae9c3b6f56
Tidying up for 3.15 release
2018-10-16 15:10:49 +01:00
Richard Davey
405608bd0b
Add v2 SM for reference
2018-10-16 14:09:21 +01:00
Richard Davey
daee448528
Updated change log
2018-10-16 11:45:07 +01:00
Richard Davey
861de841b0
Commented out logs for beta build
2018-10-16 11:45:01 +01:00
Richard Davey
c23f701456
The Touch Manager, Input Manager and Pointer classes all now handle the touchcancel
event, such as triggered on iOS when activating an out of browser UI gesture, or in Facebook Instant Games when displaying an overlay ad. This should prevent issues with touch input becoming locked on iOS specifically. Fix #3756
2018-10-16 11:44:36 +01:00
Richard Davey
dab510f03d
The Touch Manager
has been rewritten to use declared functions for all touch event handlers, rather than bound functions. This means they will now clear properly when the TouchManager is shut down.
2018-10-16 11:44:15 +01:00
Richard Davey
8dff537b12
Added TOUCH_CANCEL constant.
2018-10-16 11:43:40 +01:00
Richard Davey
7daa8b9d45
Added touchcancel handler and wasCancelled property
2018-10-16 11:42:54 +01:00
Richard Davey
f29126c482
KeyboardPlugin.resetKeys
is a new method that will reset the state of any Key object created by a Scene's Keyboard Plugin.
2018-10-16 11:35:44 +01:00
foobar
e481ea4cfd
Fix reference error when culling
2018-10-15 20:31:46 +02:00
Timur Manyanov
9020e64d7b
Fix Phaser.GameObjects.Shape#setStrokeStyle JSDoc
...
This should fix TypeScript definitions, that at the moment lead to unexpected behavior (cause color is passed instead of a line width).
At the moment definition looks like this:
```setStrokeStyle(color?: number, alpha?: number): this;```
2018-10-14 00:44:01 +02:00
Richard Davey
b3804a2455
eslint fixes
2018-10-12 18:56:56 +01:00
Richard Davey
a043cc88ea
Changed version number
2018-10-12 18:32:52 +01:00
Richard Davey
24837c4312
Updated log
2018-10-12 18:32:42 +01:00
Richard Davey
a9938baec6
Merge pull request #4070 from samme/feature/arcade-group-config-enable
...
Add PhysicsGroupConfig.enable, Arcade.Body#setEnable()
2018-10-12 18:29:58 +01:00
Richard Davey
3c5bf3eba7
Merge pull request #4077 from samme/fix/webgl-game-context-null
...
Fix null game.context after WebGLRenderer init
2018-10-12 18:28:04 +01:00
Richard Davey
fa95e0a3b1
Don't resize if EXACT mode
2018-10-12 15:09:35 +01:00
Richard Davey
a0d3137f76
Shapes and Graphics now set textures correctly (after batch texture changes)
2018-10-12 15:09:21 +01:00
Richard Davey
9dc53d1e5a
The WebGLRenderer method canvasToTexture
has a new optional argument noRepeat
which will stop it from using gl.REPEAT
entirely. This is now used by the Text object to avoid it potentially switching between a REPEAT and CLAMP texture, causing texture black-outs
2018-10-12 15:08:53 +01:00
Richard Davey
4beffe842a
Texture batching during the batch flush has been implemented in the TextureTintPipeline which resolves the issues of very low frame rates, especially on iOS devices, when using non-batched textures such as those used by Text or TileSprites.
2018-10-12 15:06:10 +01:00
Richard Davey
8faafc2ceb
New Scale Manager implementation starting to take shape
2018-10-11 17:02:29 +01:00
Richard Davey
240914ee03
Fixed some types and removed resize calls
2018-10-11 17:02:14 +01:00
Richard Davey
7144f64c82
Added DOM constants
2018-10-11 17:02:01 +01:00
Richard Davey
666c3744b5
Moved to DOM constants
2018-10-11 17:01:49 +01:00
Richard Davey
f9b4419f08
Uses Scale Manager sizes
2018-10-11 17:01:38 +01:00
Richard Davey
99591f0d72
Added new Scale Manager config properties
2018-10-11 17:01:17 +01:00
Richard Davey
fc9b6f7504
Adding preBoot step
2018-10-10 13:53:49 +01:00
Richard Davey
4e0a3e94d2
Getting ready for rewrite
2018-10-10 13:53:14 +01:00
Richard Davey
b90109efe1
Typo fix
2018-10-10 13:41:55 +01:00
Richard Davey
3e9cc42f49
Device.OS has been restructured to allow fake UAs from Chrome dev tools to register iOS devices.
2018-10-10 13:41:47 +01:00
Richard Davey
4b1c762296
Updated @memberOf to @memberof
2018-10-10 10:49:13 +01:00
Richard Davey
1e7251ba97
Commented out resize, soon to be removed
2018-10-10 10:47:13 +01:00
Richard Davey
f32df230d6
Working through SM flow
2018-10-10 10:47:04 +01:00
Richard Davey
b4dfa49750
Clarified docs
2018-10-10 10:46:55 +01:00
Richard Davey
3c4604127a
Shorter error
2018-10-10 10:46:47 +01:00
Stuart Lindstrom
526067f7b6
Fix #4104
2018-10-09 14:34:47 -04:00
Richard Davey
ecc85b447c
Updated to use DOM components and hook into game flow
2018-10-09 18:14:25 +01:00
Richard Davey
953422a059
Exposed Scale Manager via global reference
2018-10-09 18:14:09 +01:00
Richard Davey
bddca4c1de
Added all of the DOM components the Scale Manager needs
2018-10-09 18:13:56 +01:00
Richard Davey
a9063604dc
Replace @readOnly with @readonly
2018-10-09 13:40:00 +01:00
Taran van Groenigen
c841adcba4
Removed whitespaces from empty lines
2018-10-09 11:50:21 +02:00
Taran van Groenigen
af664dc699
Removed two tabs
2018-10-09 11:32:52 +02:00
Taran van Groenigen
4e2bd36ca5
A string now uses the same default values as an object passed into setFont
2018-10-09 11:28:02 +02:00
Taran van Groenigen
9a2a0ad45f
TextStyle.setStyle & TextStyle.setFont now set fontSize, fontStyle & fontFamily when font is a string
...
TextStyle.setFont now sets fontFamily, fontSize, and fontStyle when "font" is a string.
TextStyle.setStyle calls TextStyle.setFont when "font" is overridden.
This fixes an issue where TextStyle.update(true) overrides TextStyle._font
2018-10-09 11:13:23 +02:00
Richard Davey
1025362781
Updated log
2018-10-08 17:03:06 +01:00
Richard Davey
dea2ee89f0
Moving out of experimental
2018-10-08 17:03:00 +01:00
Richard Davey
c28d790243
Updating ScaleManager for v3
2018-10-08 17:02:51 +01:00
Richard Davey
c2f78fe025
Determines if the two objects (either Rectangles or Rectangle-like) have the same width and height values under strict equality.
2018-10-08 17:02:27 +01:00
Richard Davey
e36356eeb7
Added ScaleManager consts
2018-10-08 17:01:26 +01:00
Richard Davey
51c5c9014f
Moved to new location
2018-10-08 15:23:56 +01:00