Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
(function() {
TitleScreenScrollbar.drawScrollContent = function(x, y, object, isSelect, index) {
}
})();
I found the original code seems to have some relation to my solution, such as:
_drawScrollbar: function() {
var x, y;
var width = this._scrollbar.getScrollbarWidth();
var height = this._scrollbar.getScrollbarHeight();
var dx = LayoutControl.getRelativeX(8) - 60;
var dy = LayoutControl.getRelativeY(7);
x = root.getGameAreaWidth() - width - dx;
y = root.getGameAreaHeight() - height - dy;
this._scrollbar.drawScrollbar(x, y);
}
However, I am not sure which variable and function controls the distribution of title screen scroll bars and the selection cursor. Do you have any ideas?
Change the argument of the above method.
scene-title.js Line 54
And which lines can change the size of scroll bars, which means can control the width and height of scroll bars?
scene-title.js Line 283
BaseScrollbar implements drawCursor.
So you can implement TitleScreenScrollbar.drawCursor.