update readme and fix blast key on js update

This commit is contained in:
RandomityGuy 2022-12-14 19:30:21 +05:30
parent 5528b57b87
commit 2d3153e836
2 changed files with 4 additions and 1 deletions

View file

@ -9,7 +9,7 @@ The browser port supports touch controls, meaning it can be played on mobile dev
### Marble Blast Platinum: [Play](https://mbphaxe.netlify.app/) ### Marble Blast Platinum: [Play](https://mbphaxe.netlify.app/)
## Windows ## Windows
### Marble Blast Gold: [Download](https://github.com/RandomityGuy/MBHaxe/releases/tag/1.1.2) ### Marble Blast Gold: [Download](https://github.com/RandomityGuy/MBHaxe/releases/tag/1.1.2)
### Marble Blast Platinum: [Download](https://github.com/RandomityGuy/MBHaxe/releases/tag/1.2.0) ### Marble Blast Platinum: [Download](https://github.com/RandomityGuy/MBHaxe/releases/tag/1.3.0)
# 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

@ -316,6 +316,9 @@ class Settings {
if (optionsSettings.marbleShader == null) { if (optionsSettings.marbleShader == null) {
optionsSettings.marbleShader = "Default"; optionsSettings.marbleShader = "Default";
} }
if (controlsSettings.blast == null) {
controlsSettings.blast = Key.E;
}
#end #end
highscoreName = json.highscoreName; highscoreName = json.highscoreName;
} else { } else {