Commit graph

9353 commits

Author SHA1 Message Date
Richard Davey
aa9cac4ba8 Added refreshBody method and jsdocs 2018-02-15 01:52:01 +00:00
Richard Davey
7df00ccb6f Removed un-used properties from the Static Body
Set un-used Vectors to use the Vec2 ZERO constant to save object creation.
Added setGameObject and updateFromGameObject methods.
2018-02-15 01:51:36 +00:00
Richard Davey
4cc7fed1dd Added World.pendingDestroy Set and process it during postUpdate. 2018-02-15 01:50:22 +00:00
Richard Davey
b36dd17430 Removed pendingDestroy and opted for easier Set iteration.
Updated Body.reset so it resets the Sprite as well, otherwise the Body remains stuck on the next update loop.
2018-02-15 01:49:55 +00:00
Richard Davey
11aff17e0d Added Vector2.ZERO const for a handy zero vec2 reference. 2018-02-15 01:49:11 +00:00
Felipe Alfonso
8083cd9d64 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-14 20:04:46 -03:00
Niklas Berg
6a77790aef load.plugin now accepts class as an argument besides an url-string 2018-02-14 23:35:05 +01:00
Richard Davey
e68329f763 Fixed version numbers 2018-02-14 19:55:00 +00:00
Felipe Alfonso
e2bebd3ddd jsdoc property and method updates 2018-02-14 16:52:37 -03:00
Felipe Alfonso
1737399f69 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-14 16:45:30 -03:00
Felipe Alfonso
74abb96211 Added alpha and tint to static tilemap layer. Fixed BitmapMask binding resources issue. 2018-02-14 16:45:22 -03:00
Richard Davey
24e8f7a119 Body.destroy is now flag based, cleared by the World.
Added pendingDestroy flag to handle body destruction within events or collider iterations.
2018-02-14 19:36:34 +00:00
Richard Davey
81d0a48c58 disableBody renamed disableGameObjectBody
disableBody now disables just a body object.
destroying a body sets its `pendingDestroy` flag, which is now cleared in the postUpdate method.
Group vs. Group collision has been implemented.
World.destroy properly clears down its Sets and RTrees.
2018-02-14 19:35:57 +00:00
Richard Davey
b7beea1d37 Impact bodies now remove themselves from the world when destroyed. 2018-02-14 19:34:21 +00:00
Richard Davey
b81b268b29 Matter JS bodies now have a destroy method that removes them from the world. 2018-02-14 19:33:56 +00:00
Richard Davey
c6f4a6ed43 Arcade Physics Colliders have a name property and setName method. 2018-02-14 19:33:33 +00:00
Richard Davey
d72c7d501a Destroying a Game Object will now call destroy on its physics body. 2018-02-14 19:33:13 +00:00
Richard Davey
a0ec4c6d2a Fixed cdn url 2018-02-14 19:32:49 +00:00
samme
633acec058
Fix wrong Extend target in MergeXHRSettings 2018-02-14 09:52:52 -08:00
Felipe Alfonso
92182bed90 Fixed issue with Blitter renderer where it overwrote previous vertex data 2018-02-14 13:43:35 -03:00
Felipe Alfonso
edf15986ff BitmapMask si working properly with the vertex update batching. 2018-02-14 13:20:56 -03:00
Felipe Alfonso
b700ac158c Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-14 10:32:17 -03:00
Richard Davey
9ee31f646c
Merge pull request #3227 from leereilly/showcases-to-collections-url
Update link to JavaScript Game Engines on GitHub
2018-02-14 12:34:03 +00:00
Richard Davey
c80e2fde2c Fixed use of List structure for the Blitter game object. 2018-02-14 12:25:17 +00:00
Lee Reilly
446fad994b
Fix link to JavaScript Game Engines on :octocat: 2018-02-13 23:31:03 -08:00
Felipe Alfonso
844e72a7e1 Buffer resource update batching implemented into TextureTintPipeline 2018-02-13 23:46:34 -03:00
Richard Davey
2892f20e5c Depth component added to the Zone Game Object. Fix #3213 2018-02-13 22:19:44 +00:00
Richard Davey
6a9ac033e2 Fixed call to TweenManager.makeActive. Fix #3219 2018-02-13 21:55:07 +00:00
Richard Davey
eec13883e0 Removed rogue Tween emit calls. Fix #3222 2018-02-13 21:45:21 +00:00
Richard Davey
c1eb443c1f
Merge pull request #3216 from agilul/letkeyword
Fix stray let keywords
2018-02-13 21:09:39 +00:00
Yat Hin Wong
3af1d57a95 Changed let to var 2018-02-13 17:03:28 +01:00
Richard Davey
8afeafd66b SetHitArea now calls setInteractive, fixing Group.createMultiple when a hitArea has been set. 2018-02-13 08:09:13 +00:00
Richard Davey
353dba4d5e Added missing Target camera back, fixing Graphics.generateTexture in the process. 2018-02-13 08:08:48 +00:00
Richard Davey
55bcfd749e
Merge pull request #3212 from Kitanga/patch-1
Just a few small typos fixed
2018-02-13 07:25:51 +00:00
Kitanga Nday
94f1993594
Just a few small typos fixed
Thank you for Phaser 3!!!!
2018-02-13 10:14:47 +03:00
Richard Davey
98f72cc71b Updated package and missing logo. 2018-02-13 06:34:40 +00:00
Richard Davey
52a2322fc7 Phaser 3.0.0 Release. 2018-02-13 06:25:51 +00:00
Richard Davey
26403aa84f Added setCORS method. 2018-02-13 05:54:43 +00:00
Richard Davey
9430104d0d Updated README. 2018-02-13 05:25:25 +00:00
Richard Davey
ace042f889 Phaser 3.0.0 Release files. 2018-02-13 03:45:43 +00:00
Richard Davey
b6e6eb749f Added Arcade Physics entry point. 2018-02-13 03:43:12 +00:00
Richard Davey
1484d8251b Added dist folder to repo.
Build now puts dev files in `build` folder instead, which is excluded from npm.
2018-02-13 03:42:57 +00:00
Richard Davey
49a23f7b6b Moved wip to new repo. 2018-02-13 03:24:45 +00:00
Richard Davey
bf65fb6a30 Multi-dist output and updated package. 2018-02-13 03:23:52 +00:00
Richard Davey
5a7a6c20a9 Removed checksum. 2018-02-13 03:23:29 +00:00
Richard Davey
4dd65dc27e Copy the sourcemap to examples too. 2018-02-13 03:23:16 +00:00
Richard Davey
8f4a1012fd Updated jsdocs. 2018-02-13 01:39:22 +00:00
Richard Davey
512c8df232 Updated jsdocs 2018-02-13 01:13:12 +00:00
Richard Davey
965f2b0e74 Fixed jsdocs and general tidying up. 2018-02-13 00:41:01 +00:00
Felipe Alfonso
2aa94c28eb WebGL types added to jsdoc 2018-02-12 21:12:17 -03:00