Commit graph

44 commits

Author SHA1 Message Date
Michael Hadley
13ded52c6b New Tile class to be shared across static and dynamic layers 2017-11-14 15:34:33 -06:00
Michael Hadley
3f08689c44 Tilemap parsers: remove width & height parameters since they are inferred 2017-11-14 15:33:13 -06:00
Michael Hadley
bf19553135 Tilemap parsers: add ability to insert null instead of blank tile 2017-11-14 15:02:19 -06:00
Michael Hadley
a7424fa750 Progress on Tilemap - can now link tileset images and create layers 2017-11-11 10:38:52 -06:00
Michael Hadley
780bd76c6f Tilemap Parsers: refactor csv parser into csv parser + 2D array parser 2017-11-10 21:38:42 -06:00
Michael Hadley
1ba75cd50c ParseTiledJSON eslint auto fix 2017-11-10 17:13:11 -06:00
Michael Hadley
f9f6d95097 Tilemap: json tiled parser from v2 2017-11-10 15:57:38 -06:00
Michael Hadley
249fe58bba Tileset: tile lookup features 2017-11-10 15:56:14 -06:00
Michael Hadley
a76a6535e0 CSV tilemap parser & dummy tiled json parser 2017-11-09 20:50:25 -06:00
Michael Hadley
1b1bc41f81 Adding CSV & JSON tilemaps to BaseLoader 2017-11-09 12:21:06 -06:00
Michael Hadley
0804bf7595 Rename static & dynamic tilemaps -> tilemap layer 2017-11-09 12:18:23 -06:00
Richard Davey
0d38e232e6 Both Static and Dynamic Tilemaps support the new property skipIndexZero which allows them to skip over index 0 tiles. Works in both canvas and webgl. Fix #3052 2017-11-03 16:52:57 +00:00
Felipe Alfonso
9649347287 Static Tilemap WebGL Renderer now applies camera transform matrix correctly 2017-11-01 14:55:01 -03:00
Richard Davey
b4edeaec10 Updated GameObjectCreator to use same system as GameObjectFactory. 2017-09-14 02:27:29 +01:00
Richard Davey
1340e6930f Refactored the GameObjectFactory so it's now populated by the GameObjects directly, avoids globbing all GOs into it 2017-09-14 01:32:10 +01:00
Felipe Alfonso
dc45945d99 WebGL Specific Game Objects work with restored context, except EffectLayer and RenderPass. That would require developer to rebind render targets and resources 2017-09-13 17:54:32 -03:00
Richard Davey
ae13ac702e The Canvas and WebGL Renderers are now included based on Webpack feature flags, allowing us to build a 'WebGL only' or 'Canvas only' version of Phaser 3. 2017-09-13 15:28:17 +01:00
Richard Davey
6f3ec9fb9e All Game Objects now use GameObject.RENDER_MASK to compare against instead of a local property. 2017-09-13 00:58:25 +01:00
Felipe Alfonso
de35793fda Dynamic Tilemap Canvas Renderer 2017-08-24 23:46:33 -03:00
Felipe Alfonso
25630f2af5 Static Tilemap Culling added 2017-08-23 19:27:51 -03:00
Felipe Alfonso
7e957d5cb6 bruteforce tilemap canvas rendering 2017-08-22 20:26:17 -03:00
Felipe Alfonso
5d52bd956b Fix for StaticTilemap after defining vertex attributes 2017-08-18 13:17:48 -03:00
photonstorm
dbc1298752 Moved access of game property to sys.game to keep it inline with the Injection Map. 2017-08-16 17:15:12 +01:00
Richard Davey
fe2f82c229 Updated Camera.Ignore so it works with the canvas renderer as well 2017-08-15 23:51:37 +01:00
Felipe Alfonso
9856200fdf Added camera gameobject filtering 2017-08-15 16:42:04 -03:00
photonstorm
52bb355429 Removing old and incorrect jsdoc blocks ready for first documentation pass. 2017-08-01 13:10:08 +01:00
photonstorm
d804e056ed Renaming from State to Scene internally.
This is one monster update.
2017-07-14 14:50:51 +01:00
Felipe Alfonso
7eaa45673c Simple camera culling 2017-07-06 21:17:27 -04:00
Richard Davey
f770712c2a Huge refactoring of States, plugins and object factories 2017-07-04 01:59:31 +01:00
Felipe Alfonso
1594036cfc Tile border added to static tilemap 2017-06-27 17:49:06 -04:00
Felipe Alfonso
b61635b51b Added tile border support to dynamic tilemap 2017-06-27 17:22:39 -04:00
photonstorm
812197744f Comments added. 2017-06-26 15:08:26 +01:00
photonstorm
c5242004c4 Added in BuildFromConfig support for Static and Dynamic Tilemaps. 2017-06-26 13:16:27 +01:00
Felipe Alfonso
fe835266fd Fixed issue with camera bounds and static tilemap culling 2017-06-23 18:42:08 -04:00
Felipe Alfonso
441becd618 Static Tilemap Culling 2017-06-23 18:16:23 -04:00
Felipe Alfonso
25977cfc4d Dynamic tilemap webgl rendering 2017-06-21 22:19:03 -04:00
Felipe Alfonso
8c3a857850 Mapping tile texture from the center 2017-06-09 15:15:07 -04:00
Felipe Alfonso
c3eb8bff3b StaticTilemap position + scrollFactor 2017-06-09 11:43:09 -04:00
Felipe Alfonso
b7fd964df1 Tilemap Progress 2017-06-09 00:00:12 -04:00
Felipe Alfonso
9a1bb506ee Camera Scroll added to Tile map 2017-06-01 18:42:57 -04:00
Felipe Alfonso
ea71909b4e Tile rendering correctly 2017-06-01 17:29:51 -04:00
Felipe Alfonso
dc035ddaab Tilemap Rendering 2017-06-01 17:05:50 -04:00
Felipe Alfonso
d19d1f6b8d Tilemap Static Mesh Construction 2017-05-31 13:40:51 -04:00
Felipe Alfonso
c470df9db5 Static Tilemap Base 2017-05-30 12:55:15 -04:00