I looked briefly but didn't see it - does Minecraft scripting have a way to save state and reset to that state instantly, how about stepping through code in real time? If not, most programs are just macros - they simply mimic user-actions, and if somewhere along the script something doesn't go as planned, it's just a mess. It's really hard teaching 10 year olds how to do anything more than the basics if every time th…
They have in-game error messages and log files, or you can attach Visual Studio's debugger. https://minecraft.gamepedia.com/Bedrock_Beta_Script_Document...
Scripting API now in public beta
81–90 of 102 posts
Re: Scripting API now in public beta
#82This will get way more young kids interested in programming than all the subsidized school programs combined, by the way
Re: Scripting API now in public beta
#83Re: Scripting API now in public beta
#84Earlier quoted context omitted.
Bedrock edition is in C++, isn't it?
Yes, they ported it to C++ due to game consoles and mobiles support. Creating a couple of Java AOT compilers from scratch wasn't properly part of their idea how to best make use of resources.
Re: Scripting API now in public beta
#85Earlier quoted context omitted.
My issue is not with the act of programming, just as I don't have an issue with the act of writing something on a paper. The issue is that the parents are doing this in order to set the kids up to a career in programming, which IMO is going to be the blue collar work of their future. There is no glory in being a code monkey 10 years from now... just a decently paid blue collar worker making someone else rich. Teach t…
Another dad told me the same thing about my middle son 15 years ago. He was guiding his own son to be a psychologist because he felt that off shoring was going to remove all of the IT jobs in the developed world. As it turns out he was wrong, my son's enjoying a great career as a programmer, his son has left psychology and is doing some kind of creative arts) music/digital career. I think ultimately no one really kno…
Re: Scripting API now in public beta
#86Earlier quoted context omitted.
I disagree. This would have been true like 4-6 years ago when Minecraft was still in the spotlight of the mainstream. Kids today have moved onto other games like Roblox and Fortnite
Roblox seems to have a pretty good Lua mod ecosystem.
Re: Scripting API now in public beta
#87Re: Scripting API now in public beta
#88Earlier quoted context omitted.
Looking down on being a "decently paid blue collar worker" is not something anyone decent is going to want to teach their kids.
I'm sorry I want more for my kids than them being a car mechanic. Nothing wrong if that ends up happening, but I'm not going to teach them to fix cars at 10 with the intention of them being a mechanic growing up.
Re: Scripting API now in public beta
#89Re: Scripting API now in public beta
#90Earlier quoted context omitted.
Yes, they ported it to C++ due to game consoles and mobiles support. Creating a couple of Java AOT compilers from scratch wasn't properly part of their idea how to best make use of resources.
I wonder whether the landscape looks different today, with Oracle's Graal efforts.
Java AOT compilers to native code have been available since early 2000's, as long as companies are willing to pay for them.
However there have been very little attempts to support Java on game consoles, apart from ajile's attempt [0].
Targeting game consoles is similar to bare metal programming, even when a thin OS is present and doesn't bound well with a programming model that abstracts what the hardware is capable of.
As for iOS support, there are a couple of options like CodenameOne, GluonVM and RoboVM.
And for UWP only CodenameOne.
So there isn't really an option that would make sense from business point of view.
Hence why porting the game engine into a programming language that is available out of the box in all SDKs was a much more pragmatic option.
[0] https://www.geek.com/games/new-development-kit-brings-java-t...