mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 14:40:38 +00:00
The Core.Config.resolution
property has been removed.
This commit is contained in:
parent
f0f93cde7d
commit
c46c3e4c82
3 changed files with 0 additions and 8 deletions
|
@ -61,11 +61,6 @@ var Config = new Class({
|
|||
*/
|
||||
this.zoom = GetValue(config, 'zoom', 1);
|
||||
|
||||
/**
|
||||
* @const {number} Phaser.Core.Config#resolution - The canvas device pixel resolution. Currently un-used.
|
||||
*/
|
||||
this.resolution = GetValue(config, 'resolution', 1);
|
||||
|
||||
/**
|
||||
* @const {?*} Phaser.Core.Config#parent - A parent DOM element into which the canvas created by the renderer will be injected.
|
||||
*/
|
||||
|
@ -130,7 +125,6 @@ var Config = new Class({
|
|||
this.width = GetValue(scaleConfig, 'width', this.width);
|
||||
this.height = GetValue(scaleConfig, 'height', this.height);
|
||||
this.zoom = GetValue(scaleConfig, 'zoom', this.zoom);
|
||||
this.resolution = GetValue(scaleConfig, 'resolution', this.resolution);
|
||||
this.parent = GetValue(scaleConfig, 'parent', this.parent);
|
||||
this.scaleMode = GetValue(scaleConfig, 'mode', this.scaleMode);
|
||||
this.expandParent = GetValue(scaleConfig, 'expandParent', this.expandParent);
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* @property {(integer|string)} [width=1024] - The width of the game, in game pixels.
|
||||
* @property {(integer|string)} [height=768] - The height of the game, in game pixels.
|
||||
* @property {number} [zoom=1] - Simple scale applied to the game canvas. 2 is double size, 0.5 is half size, etc.
|
||||
* @property {number} [resolution=1] - The size of each game pixel, in canvas pixels. Values larger than 1 are "high" resolution.
|
||||
* @property {number} [type=CONST.AUTO] - Which renderer to use. Phaser.AUTO, Phaser.CANVAS, Phaser.HEADLESS, or Phaser.WEBGL. AUTO picks WEBGL if available, otherwise CANVAS.
|
||||
* @property {(HTMLElement|string)} [parent=undefined] - The DOM element that will contain the game canvas, or its `id`. If undefined, or if the named element doesn't exist, the game canvas is appended to the document body. If `null` no parent will be used and you are responsible for adding the canvas to the dom.
|
||||
* @property {HTMLCanvasElement} [canvas=null] - Provide your own Canvas element for Phaser to use instead of creating one.
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* @property {(integer|string)} [width=1024] - The base width of your game. Can be an integer or a string: '100%'. If a string it will only work if you have set a parent element that has a size.
|
||||
* @property {(integer|string)} [height=768] - The base height of your game. Can be an integer or a string: '100%'. If a string it will only work if you have set a parent element that has a size.
|
||||
* @property {(Phaser.Scale.ZoomType|integer)} [zoom=1] - The zoom value of the game canvas.
|
||||
* @property {number} [resolution=1] - The rendering resolution of the canvas. This is reserved for future use and is currently ignored.
|
||||
* @property {?(HTMLElement|string)} [parent] - The DOM element that will contain the game canvas, or its `id`. If undefined, or if the named element doesn't exist, the game canvas is inserted directly into the document body. If `null` no parent will be used and you are responsible for adding the canvas to your environment.
|
||||
* @property {boolean} [expandParent=true] - Is the Scale Manager allowed to adjust the CSS height property of the parent and/or document body to be 100%?
|
||||
* @property {Phaser.Scale.ScaleModeType} [mode=Phaser.Scale.ScaleModes.NONE] - The scale mode.
|
||||
|
|
Loading…
Reference in a new issue