update marbleland links-

This commit is contained in:
RandomityGuy 2023-06-05 21:20:34 +05:30
parent f201279264
commit 5c446925ba
4 changed files with 9 additions and 6 deletions

View file

@ -1,3 +1,6 @@
# 1.5.2
- Updated Marbleland integration link to the new site.
# 1.5.1 # 1.5.1
This update fixes the following bugs: This update fixes the following bugs:
- Fixed a bug concerning moving platform collisions. - Fixed a bug concerning moving platform collisions.

View file

@ -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/) ### Marble Blast Platinum: [Play](https://marbleblast.randomityguy.me/)
## Windows and Mac ## Windows and Mac
### Marble Blast Gold: [Download](https://github.com/RandomityGuy/MBHaxe/releases/tag/1.1.9) ### 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 ## Mac Instructions - Important
Put the .app file in either /Applications or ~/Applications in order to run it properly. 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. You will also have to bypass Gatekeeper since the .app is not signed.
## Android ## Android
### Marble Blast Gold: [Download](https://github.com/RandomityGuy/MBHaxe/releases/download/1.1.8/MBHaxe-Gold.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.0/MBHaxe-Platinum.apk) ### Marble Blast Platinum: [Download](https://github.com/RandomityGuy/MBHaxe/releases/download/1.5.2/MBHaxe-Platinum.apk)
# Why Haxe? # 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. 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.

View file

@ -112,7 +112,7 @@ class Marbleland {
} }
public static function getMissionImage(id:Int, cb:Image->Void) { 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)); var res = new Image(new hxd.fs.BytesFileSystem.BytesFileEntry('${id}.png', imageBytes));
cb(res); cb(res);
}, (e) -> { }, (e) -> {
@ -121,7 +121,7 @@ class Marbleland {
} }
public static function download(id:Int, cb:Array<haxe.zip.Entry>->Void) { public static function download(id:Int, cb:Array<haxe.zip.Entry>->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 reader = new Reader(new BytesInput(zipData));
var entries:Array<haxe.zip.Entry> = null; var entries:Array<haxe.zip.Entry> = null;
try { try {

View file

@ -178,7 +178,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.5.1</p>"; versionText.text.text = "<p align=\"center\">1.5.2</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);