mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
update few stuff
This commit is contained in:
parent
f820a3e41b
commit
f79a633322
5 changed files with 14 additions and 3 deletions
BIN
data/icon.png
BIN
data/icon.png
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 27 KiB |
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue