Commit graph

13111 commits

Author SHA1 Message Date
BdR76
f28df06bcf
drawDebug, display checkCollision sides
drawDebug, instead of rectangle only draw the sides where checkCollision is true, similar to debugger in layer
2019-05-19 14:49:15 +02:00
Richard Davey
7bcd4955e2
Merge pull request #4539 from jorbascrumps/fix-arrow-fn-syntax
Removes arrow function syntax
2019-05-19 08:15:09 +01:00
jorbascrumps
648c0faed9 Removed arrow function syntax 2019-05-18 19:15:01 -04:00
Richard Davey
9959dce57e Passing a Frame object to Bob.setFrame would fail, as it expected a string or integer. It now checks the type of object, and if a Frame it checks to make sure it's a Frame belonging to the parent Blitter's texture, and if so sets it. Fix #4516 2019-05-17 14:00:39 +01:00
Richard Davey
3504819b33 The CameraManager would incorrectly destroy the default Camera in its shutdown method, meaning that if you used a fixed mask camera and stopped then resumed a Scene, the masks would stop working. The default camera is now destroyed only in the destroy method. Fix #4520 2019-05-17 13:54:55 +01:00
Richard Davey
0ac5d7b8d9 There was some test code left in the DOMElementCSSRenderer file that caused getBoundingClientRect to be called every render. This has been removed, which increases performance significantly for DOM heavy games. 2019-05-17 13:43:55 +01:00
Richard Davey
e23a86d45a The default BaseShader vertex shader has a new uniform uResolution which is set during the Shader init and load to be the size of the Game Object to which the shader is bound. 2019-05-16 17:44:59 +01:00
Richard Davey
f792fce9cb The default BaseShader vertex shader will now set the fragCoord varying to be the viewport height minus the y inPosition. This will give the correct y axis in the fragment shader, causing 'inverted' shaders to display normally when using the default vertex code. 2019-05-16 17:30:30 +01:00
Richard Davey
48bf3d2b5e Update CHANGELOG.md 2019-05-14 09:46:33 +01:00
Richard Davey
4693bfb859
Merge pull request #4524 from rexrainbow/master
Use `customHitArea` in condition
2019-05-14 09:45:20 +01:00
Richard Davey
48a9925ed1 Update CHANGELOG.md 2019-05-14 09:44:08 +01:00
Richard Davey
70b500cd28
Merge pull request #4519 from hizzd/master
Fixed separateCircle cause the position set NaN.
2019-05-14 09:42:27 +01:00
Richard Davey
725130bc40 Update CHANGELOG.md 2019-05-14 09:37:41 +01:00
Richard Davey
a29bf9905f Updated release version 2019-05-14 09:37:37 +01:00
Richard Davey
9f1946ec45 Tweens created in a paused state couldn't be started by a call to play. Fix #4525 2019-05-14 09:37:26 +01:00
Hua
fd454a1e9b Use customHitArea in condition
customHitArea has been added in 3.17.0, used in text game object
2019-05-14 10:12:32 +08:00
hizzd
4aa3d9f81a
Fixed separateCircle cause the position set NaN. 2019-05-11 20:52:57 +08:00
Richard Davey
06d1618e29 Preparing for 3.18 dev 2019-05-10 18:32:03 +01:00
Richard Davey
a854a96307 3.17 Release files 2019-05-10 16:38:07 +01:00
Richard Davey
f718cb8b94 Fixed Clean path 2019-05-10 16:31:52 +01:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
fbeecd05ac Update README.md 2019-05-10 16:11:22 +01:00
Richard Davey
ca66db35ed Updated Change Log and README 2019-05-10 16:05:32 +01:00
Richard Davey
9a4ea21ca9 Updated Parser and README 2019-05-10 16:05:20 +01:00
Richard Davey
9ed98e97a8 3.17 Release TS Defs 2019-05-10 16:05:08 +01:00
Richard Davey
5c60bb75f3 Update README.md 2019-05-10 14:39:35 +01:00
Richard Davey
f9315bac3f Updated Scene config types 2019-05-10 14:39:35 +01:00
Richard Davey
7deaa9e2b2
Merge pull request #4517 from antoine-pous/patch-1
JSDoc fix returned object type
2019-05-10 14:19:36 +01:00
Richard Davey
5dfea01d61 Update CHANGELOG.md 2019-05-10 12:28:12 +01:00
Richard Davey
e8f6bae7cb A Body with damping and drag enabled would fail to move if it went from zero velocity to a new velocity inside an update loop. It will now reset its speed accordingly and retain its new velocity 2019-05-10 12:28:06 +01:00
Richard Davey
78d1b75872 Add the modes back in, as we need them internally 2019-05-10 12:27:59 +01:00
Richard Davey
e7d06a96cf Update README.md 2019-05-09 17:28:04 +01:00
Richard Davey
ddb33b9860 Update phaser.d.ts 2019-05-09 17:13:49 +01:00
Richard Davey
90d99cc71b Updated TS Parser, removes lots of debug stuff and enum handling 2019-05-09 17:13:46 +01:00
Richard Davey
725e1d7ef7 JSDoc changes to help TypeScript not get its knickers in a twist 2019-05-09 17:13:25 +01:00
Richard Davey
27cbd688b8 New tsdev script 2019-05-09 15:33:38 +01:00
Richard Davey
fa890651f4 Updated TS parser 2019-05-09 15:33:26 +01:00
Richard Davey
edb0a8bfc2 Update CHANGELOG.md 2019-05-09 15:32:58 +01:00
Richard Davey
a6341a97a8 Fixed Types references 2019-05-09 15:32:53 +01:00
Richard Davey
2008438919 Added new Matter World config def 2019-05-09 15:31:59 +01:00
Antoine Pous
ce1577bcc3
JSDoc fix returned object type 2019-05-09 15:20:37 +02:00
Richard Davey
0a0330bdfc Tween Types 2019-05-09 12:40:41 +01:00
Richard Davey
173652ea2b Time Types 2019-05-09 12:39:52 +01:00
Richard Davey
44faa01578 Tilemap Types 2019-05-09 12:39:19 +01:00
Richard Davey
0d831ccf71 Texture Types 2019-05-09 12:38:45 +01:00
Richard Davey
dc18d06f10 Sound Types 2019-05-09 12:38:12 +01:00
Richard Davey
1dca2c2c8a Scenes Types 2019-05-09 12:37:37 +01:00
Richard Davey
11d6f2e802 Renderer Types 2019-05-09 12:36:36 +01:00
Richard Davey
15abc3824a Plugins Types 2019-05-09 12:35:33 +01:00
Richard Davey
6955507ee0 Physics root type 2019-05-09 12:35:01 +01:00