update few stuff

This commit is contained in:
RandomityGuy 2022-11-28 00:18:22 +05:30
parent f820a3e41b
commit f79a633322
5 changed files with 14 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>Marble Blast Gold Haxe Port</title>
<title>Marble Blast Platinum Haxe Port</title>
<link rel="shortcut icon" href="./data/icon.png" id="favicon">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="manifest" href="/data/manifest.json">

View file

@ -288,6 +288,11 @@ class Settings {
levelStatistics.set(key, value);
}
}
if (optionsSettings.marbleIndex == null) {
optionsSettings.marbleIndex = 0;
optionsSettings.marbleSkin = "base";
optionsSettings.marbleModel = "data/shapes/balls/ball-superball.dts";
}
highscoreName = json.highscoreName;
} else {
save();

View file

@ -32,7 +32,13 @@ class JukeboxDlg extends GuiImage {
var markerFelt24 = markerFelt32b.toSdfFont(cast 18 * Settings.uiScale, MultiChannel);
var markerFelt18 = markerFelt32b.toSdfFont(cast 14 * Settings.uiScale, MultiChannel);
var songFiles = ResourceLoader.fileSystem.dir("data/sound/music");
#if hl
var songPath = "data/sound/music";
#end
#if js
var songPath = "sound/music";
#end
var songFiles = ResourceLoader.fileSystem.dir(songPath);
var songList = songFiles.map(x -> StringTools.replace(x.name, ".ogg", ""));
var playing:Bool = !AudioManager.currentMusicPaused;

View file

@ -146,7 +146,7 @@ class MainMenuGui extends GuiImage {
versionText.vertSizing = Bottom;
versionText.position = new Vector(502, 66);
versionText.extent = new Vector(97, 72);
versionText.text.text = "<p align=\"center\">1.1.2</p>";
versionText.text.text = "<p align=\"center\">1.2.0</p>";
this.addChild(versionText);
}
}