mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
RenderTexture now displays correctly in Canvas games.
Stage.display property added. A direct reference to the root Pixi Stage object (very useful for RenderTexture manipulation)
This commit is contained in:
@@ -65,7 +65,7 @@ function create() {
|
||||
layer.resizeWorld();
|
||||
|
||||
//coins =
|
||||
map.createFromObjects(34, 'coin', 0)
|
||||
map.createFromObjects('Object Layer 1', 34, 'coin', 0);
|
||||
|
||||
// layer2 = game.add.tilemapLayer(0, 0, 400, 600, null, map, 0);
|
||||
// layer.cameraOffset.x = 400;
|
||||
|
||||
Reference in New Issue
Block a user