Commit graph

14168 commits

Author SHA1 Message Date
samme
c07c57f9f8 Correct center 2020-02-01 16:27:02 -08:00
samme
a13d623743 Correct dimensions from game object 2020-02-01 16:20:46 -08:00
samme
37c64dc0a9 Correct center in constructor 2020-02-01 16:19:10 -08:00
samme
34176becb5 Correct position in constructor 2020-02-01 16:18:52 -08:00
Richard Davey
2a7cfb65dd Update README.md 2020-01-29 17:23:41 +00:00
Richard Davey
231b60890a Update README.md 2020-01-29 17:21:03 +00:00
Richard Davey
0813dcbadc Update CHANGELOG.md 2020-01-29 12:48:19 +00:00
Richard Davey
e4c158c883
Merge pull request #4968 from JasonHK/jsdoc
Fixed `this` return types
2020-01-29 11:48:43 +00:00
Richard Davey
72f0395eec
Update TransformMatrix.js
Added missing braces.
2020-01-29 11:48:11 +00:00
Jason Kwok
e63ca85ba1 Reverted phaser.d.ts 2020-01-29 14:16:23 +08:00
Richard Davey
6fa800cff4 Update CHANGELOG.md 2020-01-28 23:25:54 +00:00
Richard Davey
52b3176771 Update MatterTileBody.js 2020-01-28 23:25:51 +00:00
Richard Davey
d56a6c8790 MatterTileBody now extends EventEmitter, meaning you can listen to collision events from Tiles directly and it will no longer throw errors about gameObject.emit not working. Fix #4967 2020-01-28 23:25:12 +00:00
Richard Davey
b8d2a5b792 Undef or null 2020-01-28 16:13:59 +00:00
Richard Davey
ef641a104f Update Rope.js 2020-01-28 12:59:11 +00:00
Richard Davey
7ce48c20de Update Rope.js 2020-01-28 12:50:22 +00:00
Richard Davey
ddf535c6c3 Rope can now draw vertex debug to a Graphics instance 2020-01-28 12:46:35 +00:00
Richard Davey
c357b5e56d Added alignment property 2020-01-28 12:46:11 +00:00
Richard Davey
0a4b3e3785 Update RopeCanvasRenderer.js 2020-01-28 12:46:03 +00:00
Richard Davey
5a6b274510 Update CHANGELOG.md 2020-01-27 23:35:55 +00:00
Richard Davey
0eaf0c47b5 Respect Camera.renderToGame property 2020-01-27 23:35:52 +00:00
Richard Davey
91dbd42d44 Camera.renderToGame is a new property used in conjunction with renderToTexture. It controls if the Camera should still render to the Game canvas after rendering to its own texture or not. By default, it will render to both, but you can now toggle this at run-time. 2020-01-27 23:35:39 +00:00
samme
bc39e70412 Fix centering Body in setSize() 2020-01-27 11:15:06 -08:00
Richard Davey
54aebfc842 Removed NOOPs and fixed UV projection for vertical atlas frames 2020-01-27 15:15:19 +00:00
Richard Davey
3d7af7f59d Update CHANGELOG.md 2020-01-27 14:48:53 +00:00
Richard Davey
4de9d52769 Animation.setCurrentFrame will no longer try to call setOrigina or updateDisplayOrigin if the Game Object doesn't have the Origin component, preventing unknown function errors. 2020-01-27 14:48:50 +00:00
Jason Kwok
ec25759747 Fixed this return types for Phaser.GameObjects.Zone 2020-01-26 21:52:37 +08:00
Jason Kwok
8e82f22858 Fixed this return types for Phaser.GameObjects.Text 2020-01-26 21:43:48 +08:00
Jason Kwok
192e03c932 Fixed this return types for Phaser.GameObjects.Sprite 2020-01-26 21:36:59 +08:00
Jason Kwok
4578a9e13c Fixed this return types for Phaser.GameObjects.Quad 2020-01-26 21:26:34 +08:00
Jason Kwok
fca63274e2 Fixed this return types for Phaser.GameObjects.Particles.Zones.EdgeZone 2020-01-26 21:21:25 +08:00
Jason Kwok
022fa20673 Fixed this return types for Phaser.GameObjects.Particles.EmitterOp 2020-01-26 21:18:14 +08:00
Jason Kwok
270f7b33a3 Fixed this return types for Phaser.GameObjects.Particles.ParticleEmitterManager 2020-01-26 21:15:30 +08:00
Jason Kwok
1fd71ae088 Fixed this return types fro Phaser.GameObjects.Particles.ParticleEmitter 2020-01-26 21:13:11 +08:00
Jason Kwok
4df2179496 Fixed this return types for Phaser.GameObjects.Light 2020-01-26 21:06:58 +08:00
Jason Kwok
66e314432c Fixed this return types for Phaser.GameObjects.Group 2020-01-26 21:03:57 +08:00
Jason Kwok
494ddf431d Fixed this return types for Phaser.GameObjects.Graphics 2020-01-26 21:01:00 +08:00
Jason Kwok
91f1fefd2b Fixed this return types for Phaser.GameObjects.Container 2020-01-26 20:50:59 +08:00
Jason Kwok
00818a9c61 Fixed this return types for Phaser.GameObjects.Components.TransformMatrix 2020-01-26 20:42:58 +08:00
Jason Kwok
c97a59011d Fixed this return types for Phaser.GameObjects.Components.PathFollower 2020-01-26 20:36:05 +08:00
Jason Kwok
87bf4bd648 Fixed this return types for Phaser.GameObjects.Bob 2020-01-26 20:25:26 +08:00
Jason Kwok
401cb81590 Fixed this return type for Phaser.GameObjects.DynamicBitmapText 2020-01-26 20:16:18 +08:00
Jason Kwok
f970afb34c Fixed this return type for Phaser.Loader.LoaderPlugin 2020-01-26 00:31:56 +08:00
Richard Davey
009dad281f Fixed comparison 2020-01-24 18:18:06 +00:00
Richard Davey
5022830c7a Added preDestroy handler 2020-01-24 18:03:18 +00:00
Richard Davey
bf65d6b577 Push to the updateList too 2020-01-24 18:01:49 +00:00
Richard Davey
e5f5ed70fe Added support for animations, texture flipping, alignment resetting and tint fill 2020-01-24 18:01:40 +00:00
Richard Davey
79357e35ab Support Rope.alpha 2020-01-24 15:35:16 +00:00
Richard Davey
2f6921b80f Added horizontal parameter 2020-01-24 15:35:08 +00:00
Richard Davey
1463aaaaa1 Added horizontal flag and Alpha and Flip components 2020-01-24 15:35:00 +00:00