Commit graph

14143 commits

Author SHA1 Message Date
Richard Davey
d6b03415b5
Merge pull request #4978 from samme/fix/arcade-body-coordinates
Arcade Physics fixes
2020-02-04 11:21:14 +00:00
Svipal
a8b60cf946 fixed dynamic layer rendering 2020-02-04 04:57:28 +01:00
samme
7d5673a0c7 Fix wrong body dimensions from a scaled game object 2020-02-01 17:25:15 -08:00
samme
a312d03843 Docs for Phaser.Physics.Arcade.StaticBody
`offset` is read only
2020-02-01 16:30:25 -08:00
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
Svipal
fd29e96a5d changed orientation to be part of the layer, really cleaned up API. Started tests on the dynamic layer. Trying to understand getTileAt bug 2020-01-30 15:58:07 +01:00
Svipal
70cbdc0925 preparing for WIP PR 4 2020-01-29 20:32:08 +01:00
Svipal
c4739dc01d Merge branch 'master' of https://github.com/svipal/phaser 2020-01-29 20:28:06 +01:00
Svipal
95df0be94a changed orientation localisation to layer, will make easier the fixing of pixelwidth and height and makes more sense overall 2020-01-29 20:27:40 +01:00
svipal
cf348779dc
Merge pull request #4 from photonstorm/master
Keeping up with master again.
2020-01-29 19:28:09 +01:00
Svipal
d6489d1146 preparing WIP PR 2 2020-01-29 19:21:27 +01:00
Svipal
ccbff39074 preparing WIP PR 2020-01-29 19:20:25 +01:00
Svipal
a82b27ce6f added deep copy, doesn't change anything , this.orientation in the tile still bugging 2020-01-29 19:01:22 +01: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
Svipal
050325bff0 tried to pin down where the orientation became undefined, no success. 2020-01-29 17:42:39 +01: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
Svipal
f1e1ab1941 cleaned up some useless files 2020-01-27 21:40:17 +01:00
samme
bc39e70412 Fix centering Body in setSize() 2020-01-27 11:15:06 -08:00
Svipal
95d2ff9996 need to compare across commits to understand regression regarding this.x 2020-01-27 20:12:53 +01: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
svipal
208c77f3fd
Merge pull request #3 from photonstorm/master
getting up to date with master again
2020-01-26 22:53:30 +01:00
Svipal
946857f756 pixel changes 2020-01-26 22:51:01 +01: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