From 5c446925baa34fbdfc3691579e62fed525b61d4e Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Mon, 5 Jun 2023 21:20:34 +0530 Subject: [PATCH] update marbleland links- --- CHANGELOG.md | 3 +++ README.md | 6 +++--- src/Marbleland.hx | 4 ++-- src/gui/MainMenuGui.hx | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e77daa9f..70e59fa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 1.5.2 +- Updated Marbleland integration link to the new site. + # 1.5.1 This update fixes the following bugs: - Fixed a bug concerning moving platform collisions. diff --git a/README.md b/README.md index eb458e40..2cd4b8bd 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,13 @@ The browser port supports touch controls, meaning it can be played on mobile dev ### Marble Blast Platinum: [Play](https://marbleblast.randomityguy.me/) ## Windows and Mac ### Marble Blast Gold: [Download](https://github.com/RandomityGuy/MBHaxe/releases/tag/1.1.9) -### Marble Blast Platinum: [Download](https://github.com/RandomityGuy/MBHaxe/releases/tag/1.5.1) +### Marble Blast Platinum: [Download](https://github.com/RandomityGuy/MBHaxe/releases/tag/1.5.2) ## Mac Instructions - Important Put the .app file in either /Applications or ~/Applications in order to run it properly. You will also have to bypass Gatekeeper since the .app is not signed. ## Android -### Marble Blast Gold: [Download](https://github.com/RandomityGuy/MBHaxe/releases/download/1.1.8/MBHaxe-Gold.apk) -### Marble Blast Platinum: [Download](https://github.com/RandomityGuy/MBHaxe/releases/download/1.5.0/MBHaxe-Platinum.apk) +### Marble Blast Gold: [Download](https://github.com/RandomityGuy/MBHaxe/releases/download/1.1.9/MBHaxe-Gold.apk) +### Marble Blast Platinum: [Download](https://github.com/RandomityGuy/MBHaxe/releases/download/1.5.2/MBHaxe-Platinum.apk) # Why Haxe? I chose Haxe because its a good language that can target other languages, meaning any Haxe code can be converted and used in Python, C++, Java very easily so that nobody has to take effort in porting the code to different languages, atleast thats what my mindset was when I started it, but unfortunately because of the 3d engine I used, it only compiles to C and Javascript. You will have to isolate the engine specific features yourself if you want to use this for other programming languages. diff --git a/src/Marbleland.hx b/src/Marbleland.hx index 356c3ab9..fd923d7e 100644 --- a/src/Marbleland.hx +++ b/src/Marbleland.hx @@ -112,7 +112,7 @@ class Marbleland { } public static function getMissionImage(id:Int, cb:Image->Void) { - return Http.get('https://marbleland.vani.ga/api/level/${id}/image?width=258&height=194', (imageBytes) -> { + return Http.get('https://marbleland.vaniverse.io/api/level/${id}/image?width=258&height=194', (imageBytes) -> { var res = new Image(new hxd.fs.BytesFileSystem.BytesFileEntry('${id}.png', imageBytes)); cb(res); }, (e) -> { @@ -121,7 +121,7 @@ class Marbleland { } public static function download(id:Int, cb:Array->Void) { - Http.get('https://marbleland.vani.ga/api/level/${id}/zip?assuming=none', (zipData -> { + Http.get('https://marbleland.vaniverse.io/api/level/${id}/zip?assuming=none', (zipData -> { var reader = new Reader(new BytesInput(zipData)); var entries:Array = null; try { diff --git a/src/gui/MainMenuGui.hx b/src/gui/MainMenuGui.hx index cf5f78d5..b9accd89 100644 --- a/src/gui/MainMenuGui.hx +++ b/src/gui/MainMenuGui.hx @@ -178,7 +178,7 @@ class MainMenuGui extends GuiImage { versionText.vertSizing = Bottom; versionText.position = new Vector(502, 61); versionText.extent = new Vector(97, 72); - versionText.text.text = "

1.5.1

"; + versionText.text.text = "

1.5.2

"; versionText.text.filter = new DropShadow(1.414, 0.785, 0x3333337F, 1, 0, 0.7, 1, true); this.addChild(versionText);