Skip to content

Commit 55870bc

Browse files
committed
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.
1 parent 90dcdbf commit 55870bc

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

docs/_phaser_tilemap_GL_progress.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,29 @@ I'll start with "blank tilemap" and then retest the others in case it's all caus
4141
Ok, turns out that the examples are mostly set to Canvas mode... having overwritten that setting we get much better results (the examples are hardwired to use the GL tile layers at the moment, so Canvas logic + GL drawing == examples fail weirdly).
4242
I have the blank tilemap example working, but there seems to be a difference in the way tiles are represented... for "sci fly" we have to subtract one from the tile index values (I'm assuming they're '1' based tile indices accessing a '0' based tilemap with the '0' tile index representing a blank tile). In the 'blank tilemap' example the tile indices are '0' based with '-1' representing a blank tile.
4343

44+
Retests:
45+
blank tilemap - works, but tile numbers are out by one (click on the second tile picture to draw the first tile, etc) and there's no alpha blending when layers are not focused
46+
* create from objects - draws arrow, coins, and map, but doesn't draw 'objects' like the signs
47+
csv map (all three demos) - work but tile numbers are out by one
48+
* features test - works but doesn't draw 'objects' like the torches and signs
49+
fill tiles - appears to work, tile numbers are out by one
50+
map bounce - works perfectly
51+
map collide - works perfectly
52+
* mario - works but 'wrap' is not repeating the map data down the screen
53+
paint tiles - works, tiles out by one
54+
randomise tiles - works, tiles out by one
55+
replace tiles - works, tiles out by one
56+
* resize map - draws map but doesn't visibly resize
57+
sci fly - works perfectly
58+
shuffle tiles - works perfectly
59+
swap tiles - works perfectly
60+
* tile callbacks - draws map but not coins, blobs where coins should be don't vanish (so callbacks might not be working)
61+
tile properties - works perfectly
62+
* tilemap ray cast - draws map but not debug layer, impossible to tell if raycast is working without debug
63+
tileset from bitmapdata - works perfectly
64+
65+
* demos that fail for other reasons that 'tiles out by one'
66+
4467

4568

4669

0 commit comments

Comments
 (0)