Commit graph

14309 commits

Author SHA1 Message Date
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
Richard Davey
72c3b55235 Testing vertical Rope support 2020-01-24 01:58:29 +00:00
mkt
912c0e3bbc
set depth of input debug body 2020-01-22 19:01:26 +01:00
Richard Davey
4c9c50582a Update CHANGELOG.md 2020-01-22 16:30:14 +00:00
Richard Davey
0d263be52a Config.loaderWithCredentials is the new global setting for XHRSettings.withCredentials. 2020-01-22 16:30:11 +00:00
Richard Davey
af85f9451d XHRLoader will now use the XHRSettings.withCredentials as set in the file or global loader config. 2020-01-22 16:29:58 +00:00
Richard Davey
bf0feee498 XHRSettings.withCredentials is a new boolean property that controls the withCredentials setting of the XHR Request made by the Loader. It indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates. You can set this on a per-file basis, or global in the Game Config. 2020-01-22 16:29:47 +00:00
Gauthier Billot
78e2027a0c Create tilesets from image collections 2020-01-21 22:15:52 +01:00
Richard Davey
5d962c65a6 Update CHANGELOG.md 2020-01-20 23:34:43 +00:00
Richard Davey
392c52fa8b Update GetEaseFunction.js 2020-01-20 23:34:40 +00:00
Richard Davey
6a72524869 Added new GetEasedPoints function 2020-01-20 23:34:33 +00:00
Richard Davey
f883cb492a Fixed issue with not enough Rope segments being provided.
Allow to pass in integer to split Rope into.
2020-01-20 17:29:11 +00:00
Richard Davey
78d009c249 Merge branch 'master' of https://github.com/photonstorm/phaser 2020-01-20 16:08:15 +00:00
Richard Davey
ade73f28bf Rope updates 2020-01-20 16:01:30 +00:00
Richard Davey
06bad68468 Improved JSDocs 2020-01-20 15:47:38 +00:00
Tommy Leung
1dd779efcb update SpineGameObject.d.ts
- extends from Phaser.GameObjects.GameObject
- implements interfaces for mixins
- use Omit for setSize signature conflicts in ComputedSize
- use @ts-ignore for state property conflict; spine.AnimationState significantly different than GameObject.state
- added semi-colons to better match rest of defintion files
2020-01-18 14:14:07 -07:00
Richard Davey
57a022db53 Always flush, because tri-strip 2020-01-17 19:04:16 +00:00
Richard Davey
d5473a4840 Added setTintFill method 2020-01-17 17:58:50 +00:00
Richard Davey
18120cb0d5 New Strip pipeline 2020-01-17 17:58:41 +00:00
Richard Davey
0af1303ba2 Added TextureTintStrip pipeline 2020-01-17 17:38:24 +00:00
Richard Davey
162b07bd6b Added new Rope Game Object 2020-01-17 17:38:06 +00:00