Built-in editor Game Resolution changer

Would you like this feature?

  • yes

    Votes: 14 70.0%
  • no

    Votes: 0 0.0%
  • yes but not important

    Votes: 6 30.0%

  • Total voters
    20

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
Description of the Feature:
  • This features offers the possibility to edit IN editor the In Game resolution.
  • Give you a proper idea of how big the in game screen is big.

Code for Implementation:
Code:
/**
 * Initializes the graphics system.
 *
 * @static
 * @method initialize
 * @param {Number} width The width of the game screen
 * @param {Number} height The height of the game screen
 * @param {String} type The type of the renderer.
 *                 'canvas', 'webgl', or 'auto'.
 */
Graphics.initialize = function(width, height, type) {
    this._width = width || this.defaultWidth;
    this._height = height || this.defaultHeight;
    this._rendererType = type || 'auto';
    this._boxWidth = this._width;
    this._boxHeight = this._height;

    this._scale = 1;
    this._realScale = 1;

    this._errorPrinter = null;
    this._canvas = null;
    this._video = null;
    this._upperCanvas = null;
    this._renderer = null;
    this._fpsMeter = null;
    this._modeBox = null;
    this._skipCount = 0;
    this._maxSkip = 3;
    this._rendered = false;
    this._loadingImage = null;
    this._loadingCount = 0;
    this._fpsMeterToggled = false;
    this._stretchEnabled = this._defaultStretchMode();

    this._canUseDifferenceBlend = false;
    this._canUseSaturationBlend = false;
    this._hiddenCanvas = null;

    this._testCanvasBlendModes();
    this._modifyExistingElements();
    this._updateRealScale();
    this._createAllElements();
    this._disableTextSelection();
    this._disableContextMenu();
    this._setupEventHandlers();
};

Graphics.defaultWidth = function() {
 return $dataSystem.screenResolutionWidth;
};

Graphics.defaultHeight = function() {
return $dataSystem.screenResolutionHeight;
};

Mockups:
It would look like this in the editor and the peoples can enter the number they want the screen would be probably a window where you enter two values who are width and height?

Why is this feature good?
This feature is great because of the following:
  • Allow to change the in game screen resolution without relying on Plugin
  • add to the friendly user

Possible issues with this feature?
Issues that might arise from this feature:
  • Probably risk to collide with some Core plugin such Yanfly who offers resizing
  • Change on the data making some old game probably outdated?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top