Table of Contents
KookaBlockly is a fully functional visual-based programming language (VPL) editor resident on a PC or a Mac.
It is based upon the Scratch VPL and has been designed to edit code in real time on the Kookaberry technology platform
It does not require access to the internet to write, run, and edit MicroPython programmes on a tethered Kookaberry.
KookaBlockly is one of three elements of KookaSuite. The others are a text based editor (KookaIDE) and an application (KookaTW) which mirrors the Kookaberry screen on a connected computer.
The most effective way to download KookaBlockly onto your computer is to use KookaManager. However, this is a relatively sophisticated tool offering functionality beyond that needed for classroom teaching. Teachers should ask their IT support to isolate the KookaBlockly application files from within the KookaSuite folder and install it on the computers being used in their classroom.
New KookaSuite software is currently under development which will make this process easier.
Creating and editing apps
Connect a Kookaberry to your PC or Mac using the USB-A to mini-USB Power and data lead as indicated. Connect peripherals as required.
Open KookaBlockly and use the “Scripts” and Choose a script” dropdown menus to select a previously created or demo programme to Run or edit.
If you are creating a new programme, start dragging programming blocks from the menu on the left onto the canvas.
Saving apps to KookaberryScripts
The KookberryScripts folder is where scripts (programmes) created using the KookaSuite software editors (KookaBlockly and KookaIDE) are stored.
KookaBlockly scripts are stored in a KookaBlockly sub-folder. When you click the “SaveAs” button in the editor window you are directed to this sub-folder. You can add as many folders as you like to the KookaberryScripts>KookaBlockly sub folder
All scripts (programmes) using KookaBlockly should be saved with a suffix (kby) added to their name. This should be written as “Name.kby“. They will be saved as “Name.kby.py” files.
When these programmes are saved to a Kookaberry, the .kby suffix will identify them as KookaBlockly programmes.
Scripts (programmes) created using KookaBlockly are still text-based files written in the MicroPython programming language. The additional code which allows for graphical (KookaBlockly) presentation is added to the MicroPython code. An example of the text-based version of the simple KookaBlockly script “mynameis.py” is shown below using the KookaIDE.
NOTE: KookaIDE can run a script created using KookaBlockly, but KookaBlockly cannot run a purely text-based MicroPython script. It needs the extra KookaBlockly code….
Saving apps to a Kookaberry
Save your app to a Kookaberry Scripts folder, and then copy and paste it into the app folder of the connected Kookaberry.
The KookaManager app can also be used to load KookaBlockly apps from KookaberryScripts sub-folders directly onto the Kookaberry