Richard Davey
a447d85401
CullTiles recoded to use Camera worldView - finally, properly culling, regardless of layer scale or camera zoom! Fix #3818
2018-07-12 15:07:45 +01:00
Richard Davey
869087044b
Starting work on proper tile culling
2018-07-12 01:14:34 +01:00
Craig Whiteside
375b1f8f18
Pulled out calculation for tile pixel position amended with tilemapLayer position
2018-06-23 21:20:54 +01:00
Craig Whiteside
ac82e39314
Fix whitespace
2018-06-23 16:40:19 +01:00
Craig Whiteside
86f1cbcabf
Made it more specific to the tile offset.
2018-06-23 16:34:45 +01:00
Craig Whiteside
a73e47e508
Account for position of tilemapLayer when culling tiles
2018-06-23 16:28:45 +01:00
Richard Davey
3d9da060c5
Camera.shake would not effect dynamic tilemap layers. Fix #3669
2018-05-24 23:02:59 +01:00
Richard Davey
cd288b33c2
eslint fixes
2018-04-23 23:52:57 +01:00
Felipe Alfonso
1ce2311465
tile culling and clipping progress
2018-04-23 13:45:42 -03:00
Richard Davey
f02eb5874f
Marked all Tilemap components as private
2018-04-16 15:25:22 +01:00
Bugi Görtz
077d933bbb
Fixed Tile-Culling for Zoomed Camera
...
The fix from https://github.com/photonstorm/phaser/pull/3354/ leads to some tiles getting culled when camera is zoomed as the camera.scrollX/camera.scrollY-Properties are needed in unscaled Coordinates (World-Coordinates?) in CullTile.js
Error gets bigger with distance from (0|0)
2018-03-15 20:32:09 +01:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
ed89e48b4d
Updated jsdocs
2018-02-08 02:02:37 +00:00
Richard Davey
cf6bbbd0fb
Added jsdocs
2018-02-08 01:08:59 +00:00
Richard Davey
5dffe21858
Updated jsdocs
2018-02-07 23:27:01 +00:00
Richard Davey
89fe7123e1
Moved to its own top-level folder.
2018-02-07 16:29:48 +00:00