Richard Davey
dd39f9ab08
Updated TS defs.
2016-08-26 01:24:15 +01:00
Richard Davey
0c8723ed59
Moved dev doc.
2016-07-19 00:02:26 +01:00
Richard Davey
8d1b670df1
Merge remote-tracking branch 'origin/webgl-tilemap' into dev
2016-07-18 23:00:35 +01:00
Pete Baron
48ea3ec8e0
Final notes and 'blank tilemap' example source showing constant scaling of layer 1. (There aren't any examples of map scaling).
2016-07-18 13:35:31 +12:00
Pete Baron
83b73f6a77
Update progress.
2016-07-18 12:44:22 +12:00
photonstorm
1572a5313a
README update.
2016-07-11 10:11:09 +01:00
photonstorm
ac2516f5aa
2.6.1 Release.
2016-07-11 10:07:56 +01:00
photonstorm
fced3f86ec
Phaser 2.6.0 Release.
2016-07-08 15:46:26 +01:00
photonstorm
7ebae00c8f
Phaser 2.5.1 RC1
2016-07-01 16:57:36 +01:00
Pete Baron
2a2c82ee3d
Fixed the alpha blending (copied the approach from the TriangleStrip PIXI shader) for Tilemap layers. The "blank tilemap" example now works properly and blends the background layers when you use the number keys to switch primary layers.
2016-06-28 00:28:28 +12:00
Pete Baron
9e3a7ec537
Modified the batch creation code and the batch drawing code to only insert degenerate triangles at the end of rows or when a row is broken (e.g. by some empty tiles which we won't draw at all). This should speed things up by optimising the draw, and reducing the amount of data required to describe the batch.
...
PIXI.Tilemap - _renderBatch using a local 'degenerate' flag to signal to next iteration that one should be inserted before the next triangle.
Phaser.TilemapLayerGL - add degenerate markers at end of rows and whenever a row has a break in it (e.g. empty tiles)
Phaser.Tileset - new addDegenerate function which prevents double markers in a row
2016-06-27 18:24:56 +12:00
Pete Baron
626d0cf64f
Latest progress notes.
2016-06-27 16:09:22 +12:00
Pete Baron
61635c930e
Added offsets to render large tiles at the correct (according to Tiled editor) positions.
2016-06-27 15:21:55 +12:00
Pete Baron
b8c81c21c9
Removed resolveTileset from TilemapLayerGL, added new task to task list.
2016-06-27 15:14:08 +12:00
Pete Baron
4f1728c62d
First working demo of multiple tileset sources specified in a single Tiled map layer being rendered as separate Batch drawing lists by the webgl renderer.
...
Phaser.Tilemap now creates internal map layers for each tileset except the first one (which will be handled by the createLayer call from the game). It also stores a reference to each tileset where the new map layers can access it.
Phaser.TilemapLayerGL uses the new tileset reference to ensure the correct base image and tile sizes are used for each new layer.
PIXI.Tilemap: added initialisation of glBatch to null in c'tor.
Phaser.TilemapParser was cleaned up to remove the now unnecessary tilemap parameter and the attempt to create layers while parsing.
2016-06-27 14:41:46 +12:00
Pete Baron
8d4733c8a5
Commit current state of development before trying something different (see last note in the progress doc). Will revert to previous commits if this attempt fails.
2016-06-27 11:46:52 +12:00
Pete Baron
835df12274
Notes about failed attempt to hack in the new layers approach quickly (proof of concept). The class relationship is more complex than it first appears and there are some odd connections and label namings which make it hard to manipulate quickly.
2016-06-20 18:25:31 +12:00
Richard Davey
a9976d2703
Phaser 2.5.0 Release.
2016-06-17 12:46:56 +01:00
photonstorm
47f0224a40
Phaser 2.4.9 release.
2016-06-17 01:11:24 +01:00
Pete Baron
6848c90257
Added remaining task summary.
2016-06-14 01:20:43 +12:00
Pete Baron
a648026fa4
Progress update.
2016-06-13 18:39:16 +12:00
Pete Baron
446eab60af
Progress update.
2016-06-13 17:47:25 +12:00
photonstorm
0880380ea9
Phaser 2.4.9 RC4.
2016-06-10 16:22:54 +01:00
photonstorm
28c1a26780
Phaser 2.4.9 RC3.
2016-06-09 17:13:31 +01:00
photonstorm
aa8e5f00db
Phaser 2.4.9 RC2.
2016-06-03 18:48:34 +01:00
Pete Baron
9450cecbe3
Progress update.
2016-05-26 14:13:18 +12:00
Pete Baron
5b6e157a43
Progress update.
2016-05-23 21:22:00 +12:00
Pete Baron
1b7eaadd06
First (nearly) working batch drawing test. Instead of pushing rectangles as pairs of triangles individually, this version creates a vertex buffer object for all visible tile rectangles, with degenerate triangles separating each one from the next. The drawing is done by a single call to gl.drawArrays.
...
Bizarrely, this version still chokes in Firefox, implying that the previous demo's horrible performance was not down to the GPU blocking as the rectangles are sent to it.
The test is not fully working because it does not scroll the drawing position. So instead of the map moving when you hit a scroll boundary, it simply stops drawing the top or left edges as the scroll region moves away from the visible window. It's an easy fix, but I think I'll leave it until I find out exactly why Firefox still chokes on this demo.
Progress text file updated with latest experiments and progress today.
2016-05-23 17:48:54 +12:00
photonstorm
9f28d0659d
Phaser 2.4.8 release.
2016-05-19 12:36:51 +01:00
Pete Baron
55870bce8a
Results of retesting for all tilemap examples. Most work with many having an 'out by one' tile issue (I've requested help from Rich on this). I'll investigate the other failures now.
2016-05-13 15:08:53 +12:00
Pete Baron
90dcdbfa98
Log file of progress on Tilemap GL work.
2016-05-13 14:41:24 +12:00
photonstorm
a29cc64932
Phaser 2.4.7 Final.
2016-04-22 15:15:28 +01:00
photonstorm
47123c192d
2.4.6 Build files + docs + TS Docs.
2016-02-18 14:41:53 +00:00
photonstorm
34c484367c
Phaser 2.4.5 Build files.
2016-02-17 13:27:09 +00:00
photonstorm
6ad22bc098
Phaser 2.4.5-RC2 with fresh docs and build files.
2016-02-12 16:00:36 +00:00
photonstorm
fc3ffe5441
New docs.
2016-02-08 17:01:45 +00:00
photonstorm
c9c85330ab
2.4.4 Release.
2015-10-15 12:06:38 +01:00
Jack Morgan
2f3cf3637e
Corrected spelling: 'mainted' to 'maintained'
2015-09-23 12:03:13 +12:00
Jack Morgan
4b6e3b10f2
Corrected spelling: 'mainted' to 'maintained'
2015-09-23 12:02:00 +12:00
photonstorm
486c15f16f
New docs.
2015-08-24 15:43:45 +01:00
yahiko
3fd35d0ec1
Add extra information for the imageData property.
2015-08-06 12:40:16 +02:00
photonstorm
4b22f48c75
2.4.2 release.
2015-07-29 15:01:04 +01:00
photonstorm
9401755ab9
Phaser 2.4.1 docs.
2015-07-24 13:30:46 +01:00
photonstorm
858ad51610
Phaser 2.4 release.
2015-07-22 15:31:30 +01:00
photonstorm
e33455e34f
2.3.0 API Docs
2015-03-26 02:55:18 +00:00
photonstorm
cf4e213056
New API Docs.
2015-03-26 02:38:46 +00:00
photonstorm
43d6339f3a
New jsdoc files generated.
2015-03-23 23:46:30 +00:00
photonstorm
1b34216f6e
Docs update.
2015-01-06 06:57:25 +00:00
photonstorm
ea19aeae5c
API Docs update.
2014-12-04 11:33:42 +00:00
photonstorm
95ffa83e34
Phaser 2.2.0 Docs.
2014-12-03 10:39:20 +00:00