mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-26 20:51:38 +00:00
add version checking and better changelog
This commit is contained in:
parent
deceb8e0b7
commit
c7db01a5ee
5 changed files with 31 additions and 77 deletions
84
CHANGELOG.md
84
CHANGELOG.md
|
|
@ -1,74 +1,10 @@
|
||||||
# 1.5.2
|
# 1.0.0
|
||||||
- Updated Marbleland integration link to the new site.
|
Initial Release of Marble Blast Ultra Haxe Port.
|
||||||
|
Differences from OpenMBU/MBU Xbox:
|
||||||
# 1.5.1
|
- No Multiplayer support, for the forseeable future.
|
||||||
This update fixes the following bugs:
|
- No leaderboards support yet, not until OpenMBU gets leaderboards.
|
||||||
- Fixed a bug concerning moving platform collisions.
|
- Replay recording and watching support, even for Gem Hunt.
|
||||||
- Made moving platforms rewind correctly in case of traplaunches.
|
- Rewind TAS support.
|
||||||
|
- Minor shader differences.
|
||||||
# 1.5.0
|
- Options may differ slightly.
|
||||||
This update brings the following big changes:
|
Please report any bugs.
|
||||||
- Added Rewind capabilities. Open options to configure it.
|
|
||||||
- Added capability to play locally installed custom levels. Install your customs in platinum/data/missions.
|
|
||||||
- Improved traplaunches, now they should be much more easier to do.
|
|
||||||
- Buffed nuke a bit, hold jump key to make it blast much stronger.
|
|
||||||
- Minor physics improvements.
|
|
||||||
- Minor performance improvements.
|
|
||||||
|
|
||||||
# 1.4.0
|
|
||||||
This update adds all the playable MBG, MBP, MBU custom levels via Marbleland integration. Play the entire custom level archive without manually installing with, with a single click.
|
|
||||||
- Added controller support. (Thanks thearst3rd)
|
|
||||||
- Improved replay saving flow.
|
|
||||||
- Improved marble physics a bit.
|
|
||||||
- Cleaned up some UI.
|
|
||||||
- Fixed collision detection bugs.
|
|
||||||
- Fixed various graphical bugs.
|
|
||||||
- Fixed item hitboxes being too small.
|
|
||||||
# 1.3.3
|
|
||||||
This update addresses the following issues:
|
|
||||||
- FOV is now based on horizontal FOV instead of vertical, matching with- original MB.
|
|
||||||
- Fixed the marble getting stuck in the corners.
|
|
||||||
- Fixed black screen on opening the game for the first time on MacOS
|
|
||||||
|
|
||||||
# 1.3.2
|
|
||||||
This is the first build of MBHaxe Platinum that has Mac support.
|
|
||||||
- MBU interior shaders now match more closely to those of MBU in Xbox.
|
|
||||||
- Added Console for debug purposes. Press Tilde ~ to bring it up.
|
|
||||||
- Added replay browser for native.
|
|
||||||
- Reduced lag caused by end pad.
|
|
||||||
- Fixed inactive button hover sounds.
|
|
||||||
- Fixed OOB animation timings.
|
|
||||||
- Added HighDPI/Retina support.
|
|
||||||
- Fixed the color bugs regarding text input.
|
|
||||||
- Minor graphical changes to match original.
|
|
||||||
- Minor performance and physics improvements.
|
|
||||||
- Fixed tornado rendering.
|
|
||||||
|
|
||||||
# 1.3.1
|
|
||||||
This release fixes a lot of bugs that were reported and adds in minor improvements:
|
|
||||||
- Fixed Pad animations not working
|
|
||||||
- Fixed bugs relating to powerup pickup on respawn.
|
|
||||||
- Fixed marble not using the hitbox of the rotated hitbox for item pickups.
|
|
||||||
- Marble finish animation now matches more closely with the original.
|
|
||||||
- Fixed camera keys not working.
|
|
||||||
- Added keyboard shortcuts to certain buttons on certain dialog boxes.
|
|
||||||
- Timer now becomes green on finishing, to match original.
|
|
||||||
- Fixed double click sound on selecting level category.
|
|
||||||
- Hypercube now uses MBG gameplay logic.
|
|
||||||
- Added Time Travel Bonus messages to HUD.
|
|
||||||
- Fixed lag caused by GJK/Startpad/Endpad.
|
|
||||||
- Fixed being able to press the end game buttons while typing the name. The- input box will be focused.
|
|
||||||
- Fixed option sliders not updating values
|
|
||||||
|
|
||||||
# 1.3.0
|
|
||||||
- Added Marble Blast Ultra levels as per Platinum.
|
|
||||||
- Added Ultra Marbles as per Platinum and their shaders.
|
|
||||||
- Added shaders for Ultra levels closely matching original MBU. (This may- lag mobile devices)
|
|
||||||
- Fixed lot of marble physics bugs, they should now be smoother.
|
|
||||||
- Minor performance improvements.
|
|
||||||
- Added restart button to touch controls.
|
|
||||||
|
|
||||||
# 1.2.0
|
|
||||||
- Implemented most Marble Blast Platinum 1.7.42 (except Ultra)
|
|
||||||
- Marble reflections
|
|
||||||
- Optimized resource loading and performance
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
package;
|
package;
|
||||||
|
|
||||||
|
import gui.VersionGui;
|
||||||
import gui.PresentsGui;
|
import gui.PresentsGui;
|
||||||
import src.Debug;
|
import src.Debug;
|
||||||
import src.Marbleland;
|
import src.Marbleland;
|
||||||
|
|
@ -96,6 +97,7 @@ class Main extends hxd.App {
|
||||||
marbleGame.startPreviewWorld(() -> {
|
marbleGame.startPreviewWorld(() -> {
|
||||||
marbleGame.setPreviewMission('urban', () -> {
|
marbleGame.setPreviewMission('urban', () -> {
|
||||||
MarbleGame.canvas.setContent(new MainMenuGui());
|
MarbleGame.canvas.setContent(new MainMenuGui());
|
||||||
|
VersionGui.checkVersion();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,9 +31,10 @@ import src.PreviewWorld;
|
||||||
@:publicFields
|
@:publicFields
|
||||||
class MarbleGame {
|
class MarbleGame {
|
||||||
static var canvas:Canvas;
|
static var canvas:Canvas;
|
||||||
|
|
||||||
static var instance:MarbleGame;
|
static var instance:MarbleGame;
|
||||||
|
|
||||||
|
static var currentVersion = "1.0.0";
|
||||||
|
|
||||||
var world:MarbleWorld;
|
var world:MarbleWorld;
|
||||||
var previewWorld:PreviewWorld;
|
var previewWorld:PreviewWorld;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import src.Util;
|
||||||
import src.Replay;
|
import src.Replay;
|
||||||
import src.Marbleland;
|
import src.Marbleland;
|
||||||
import src.MissionList;
|
import src.MissionList;
|
||||||
|
import src.MarbleGame;
|
||||||
|
|
||||||
class MainMenuGui extends GuiImage {
|
class MainMenuGui extends GuiImage {
|
||||||
var innerCtrl:GuiControl;
|
var innerCtrl:GuiControl;
|
||||||
|
|
@ -140,7 +141,7 @@ class MainMenuGui extends GuiImage {
|
||||||
versionText.vertSizing = Bottom;
|
versionText.vertSizing = Bottom;
|
||||||
versionText.position = new Vector(502, 61);
|
versionText.position = new Vector(502, 61);
|
||||||
versionText.extent = new Vector(97, 72);
|
versionText.extent = new Vector(97, 72);
|
||||||
versionText.text.text = "<p align=\"center\">1.0.0</p>";
|
versionText.text.text = '<p align=\"center\">${MarbleGame.currentVersion}</p>';
|
||||||
versionText.text.filter = new DropShadow(1.414, 0.785, 0x3333337F, 1, 0, 0.7, 1, true);
|
versionText.text.filter = new DropShadow(1.414, 0.785, 0x3333337F, 1, 0, 0.7, 1, true);
|
||||||
this.addChild(versionText);
|
this.addChild(versionText);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ class VersionGui extends GuiImage {
|
||||||
wndTxt.scrollable = true;
|
wndTxt.scrollable = true;
|
||||||
textCtrl.addChild(wndTxt);
|
textCtrl.addChild(wndTxt);
|
||||||
|
|
||||||
Http.get("https://raw.githubusercontent.com/RandomityGuy/MBHaxe/master/CHANGELOG.md", (res) -> {
|
Http.get("https://raw.githubusercontent.com/RandomityGuy/MBHaxe/mbu-port/CHANGELOG.md", (res) -> {
|
||||||
var mdtext = res.toString();
|
var mdtext = res.toString();
|
||||||
var res = "";
|
var res = "";
|
||||||
wndTxt.text.text = "";
|
wndTxt.text.text = "";
|
||||||
|
|
@ -137,6 +137,20 @@ class VersionGui extends GuiImage {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function checkVersion() {
|
||||||
|
Http.get("https://raw.githubusercontent.com/RandomityGuy/MBHaxe/mbu-port/CHANGELOG.md", (res) -> {
|
||||||
|
var mdtext = res.toString();
|
||||||
|
var firstline = mdtext.split("\n")[0];
|
||||||
|
firstline = StringTools.replace(firstline, "#", "");
|
||||||
|
firstline = StringTools.trim(firstline);
|
||||||
|
if (firstline != MarbleGame.currentVersion) {
|
||||||
|
// We need to update lol
|
||||||
|
var mbo = new MessageBoxOkDlg("New version available! Please update your game.");
|
||||||
|
MarbleGame.canvas.pushDialog(mbo);
|
||||||
|
}
|
||||||
|
}, (e) -> {});
|
||||||
|
}
|
||||||
|
|
||||||
override function onResize(width:Int, height:Int) {
|
override function onResize(width:Int, height:Int) {
|
||||||
var offsetX = (width - 1280) / 2;
|
var offsetX = (width - 1280) / 2;
|
||||||
var offsetY = (height - 720) / 2;
|
var offsetY = (height - 720) / 2;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue