I have been looking at this: http://phaser.io/examples/v2/games/gemmatch example. The columns and rows are positioned starting at the game origin, which can cause the sprites to appear off centre, when looked at relative to the canvas/game border.
I have aded a couple of lines of code which [visually] centres the 'gems'. The code lets you adjust the GEM_SPACING and/or canvas/game dimension values, and updates the 'gems' [group] [*correction, each 'gem'] anchor value accordingly.
However, what I can't seem to do, is to create a margin between the canvas edges and the 'gem' [group], without breaking the code.
All suggestions, welcome.
Thanks....
-u
Correction above in bold.
I don't know why this text has strikethrough applied, or why some of the above text does too!