These blocks are available to your program when they’re included as part of an added extension. To use the hardware features on your board, the editor provides blocks for them that you include in your programs. Some of the files saved in the application cache are compiled code for the features on the board. When running on actual hardware, the code you write in JavaScript is compiled into instructions which are understood by the processor on the board. The cache is data storage area managed by the browser where a web application can keep additional files it needs. When the editor loads in your browser it tells it to keep the MakeCode service files in the browser’s application cache. This allows the editor to fully function even when disconnected from the internet, no longer having contact with the web site. To do this, it asks the browser to download and keep a number of service files which give the editor the same features provided by the MakeCode web site. The editor is designed to do as much of work as possible in the browser itself without needing to constantly have contact with the web server. These parts of the editor are all downloaded as various files to your browser. The MakeCode editor, like other web applications, is created using HTML, JavaScript, and some style information. If you decide to add an extension, it’s possible that you’ll again need to connect to the internet to allow the code in the new extension to compile. After the web app has loaded you will have everything you need to continue working without an internet connection. MakeCode is an HTML5 web application that’s automatically cached locally (saved to your computer or device) when first viewed in your browser. It works the same as the Web application does in your browser but it’s a stand-alone application that will work when a connection to the internet is restricted or not available.ĭownload the offline app! Web application Once installed, the MakeCode Offline App lets you create, run, and download your projects to the micro:bit. The MakeCode editor is available as app which you can install on a computer with Windows or Mac OS. Here are some ways you can work with MakeCode offline: Offline app You can can use MakeCode when you’re offline too. MakeCode is typically accessed at where create, modify, and run your projects while you’re online.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |