Commit graph

8867 commits

Author SHA1 Message Date
Svipal
1573e25214 added isoCullDistances parameter to DynamicTilemapLayer 2020-02-07 15:21:11 +01:00
Svipal
d7a857697f fixed worldToTileXY and tileToWorldXY undefined point mistakes. Fixed getTilesWithinXY incorrect snaptoFloor setting 2020-02-07 14:05:42 +01:00
Svipal
dc330aaf4a linted everything 2020-02-06 11:02:44 +01:00
svipal
786834be5e
Merge pull request #5 from photonstorm/master
keeping up with master again.
2020-02-05 18:45:52 +01:00
Svipal
5747f7102d fixed problems with removeTileAt 2020-02-05 18:42:20 +01:00
Svipal
aaf512b9cd fixed problems with putting tiles from null tiles 2020-02-05 18:37:40 +01:00
Richard Davey
58d40fa9e0 Cache the vars 2020-02-04 23:56:50 +00:00
Richard Davey
0b696ebc74 Added MatterJS.BodyType to GameObject.body type. Fix #4962 2020-02-04 21:13:44 +00:00
Richard Davey
03ee36f9ba Finished JSDocs 2020-02-04 17:30:27 +00:00
Richard Davey
3183f1e7de Finished JSDocs 2020-02-04 17:16:19 +00:00
Richard Davey
e675c21db1 Finished JSDocs 2020-02-04 16:53:33 +00:00
Richard Davey
0ee6d16c17 Finished Geom JSDocs 2020-02-04 16:19:42 +00:00
Richard Davey
8f52fe59bb Completed JSDocs 2020-02-04 14:56:28 +00:00
Richard Davey
20fabba0b9 Impact Physics is now removed from the core API 2020-02-04 14:52:04 +00:00
Richard Davey
b5d91f1fdf Finished JSDocs 2020-02-04 14:51:43 +00:00
Richard Davey
1a493caa4b
Merge pull request #4970 from samme/fix/arcade-body-setSize-center
Fix centering in Body#setSize()
2020-02-04 11:26:17 +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
Svipal
050325bff0 tried to pin down where the orientation became undefined, no success. 2020-01-29 17:42:39 +01: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
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
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
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
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