• Content Count

  • Joined

  • Last visited

Everything posted by marlene

  1. Thanks for the prompt reply. The blank text file sounds good so I will give that a try.
  2. In Note: by default, the Babylon engine is configured to use online resources. So if you don’t provide any .manifest file, it will assume that you want the resources to be loaded directly from the web all the time. Manifest File Using the skull example from your course Introduction to WebGL 3D with HTML5 and Babylon.js the Microsoft Virtual Academy I am getting error; GET /skull/skull.babylon.manifest?1473362205714" Error (404): "Not found". Why would the engine be configured to use online resources and how can one disable this feature? Does this mean everytime I want to load assets like blend, .obj, etc maybe just for a testing I need to create a manifest file? I am using babylon.2.4.
  3. Have you tried setting the scale mode as the default scale mode is 'NO_SCALE'. For example: init: function () { this.scale.scaleMode = Phaser.ScaleManager.EXACT_FIT; this.scale.pageAlignVertically = true; this.scale.pageAlignHorizontally = true; }
  4. Hi, Firstly you have fixed dimensions, use the Percentage based dimensions var game = new Phaser.Game('100%', '100%', Phaser.AUTO, 'container'); Curious as why you use a resize function when you can use the Phaser Scale Manager.
  5. marlene

    Change tilemap size

    Hiya, Have a look at the Resize Map example Regards
  6. Hello, Use the Phaser scale manager. Below is just an example of what I mean. this.input.maxPointers = 1; if ( { // If you have any desktop specific settings, they can go in here this.scale.pageAlignHorizontally = true; } else { // Same goes for mobile settings. // In this case we're saying "scale the game, no lower than 480x260 and no higher than 1024x768" this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.scale.minWidth = 568; this.scale.minHeight = 600; this.scale.maxWidth = 2048; this.scale.maxHeight = 1536; this.scale.forceLandscape = true; this.scale.pageAlignHorizontally = true; this.scale.setScreenSize(true); }
  7. Hi, Have you tried Intel XDK and there is also a tutorial using the phaserJS framework. Just an option.