Christmas Information: Kitronik will be closing 24th Dec December 2024, reopening on 2nd of January 2025. See our delivery schedule for more information.

Custom Kitronik :GAME ZIP 64 MakeCode Blocks
We have just added our new custom :GAME ZIP 64 MakeCode Blocks to the Microsoft MakeCode Editor. They have been specifically designed to improve your coding experience. GAME ZIP 64 MakeCode Blocks -main-1000 Writing games can be very challenging and time-consuming, especially if you are new to coding. These blocks have been specifically designed to meet these challenges. The :GAME ZIP 64 allows you to take microbit gaming to the next level, in addition, the new blocks will help you get there more easily.  

Adding :GAME ZIP 64 MakeCode Blocks To The Editor:

We now have four packages that have been added to the Microsoft Makecode Editor that can be added in the same way as with other packages, such as neopixels. GAME ZIP 64 MakeCode Blocks -cog-1000 First of all, click the Cog icon (shown in the green square) in the top right of the editor and select 'Extensions'. This will open the Extensions window. Click into the search bar and type Kitronik then hit enter. We now have multiple custom code libraries and as a result, you will need to scroll down to get to the ZIP 64 library. The new menu has now been added to the list of menu items in the editor. Clicking on the menu option will give you access to the individual blocks. Now that we know how to add them to the MakeCode Editor we’ll have a look at each block individually to see what they all do.  

:GAME ZIP 64 MakeCode Blocks:

Each of the tables below covers a different submenu in the package. These descriptions are also available in the editor and can be seen by hovering the mouse over the block. Also, to see a larger version of any image in the tables, click on the image.  

Display Submenu:

NOTE: Due to changes in MakeCodes look and feel, the blocks below vary slightly from the current design. They do still function in exactly the same way as the changes were only cosmetic.
custom-kitronik-game-zip-64-makecode-blocks-1
Create a new ZIP LED driver for :GAME ZIP 64 display.
custom-kitronik-game-zip-64-makecode-blocks-2
Set LED to a given colour (range 0-255 for r, g, b) in the 8 x 8 matrix. You need to call `show` to make the changes visible.
custom-kitronik-game-zip-64-makecode-blocks-3
Shows whole ZIP64 display as a given colour (range 0-255 for r, g, b).
custom-kitronik-game-zip-64-makecode-blocks-4
Send all the changes to the ZIP64 display.
custom-kitronik-game-zip-64-makecode-blocks-5
Turn off all LEDs on the ZIP64 display.
custom-kitronik-game-zip-64-makecode-blocks-6
Set the brightness of the ZIP64 display. This flag only applies to a future operation.
custom-kitronik-game-zip-64-makecode-blocks-7
Shows a rainbow pattern across all LEDs.
custom-kitronik-game-zip-64-makecode-blocks-8
Rotate LEDs forward. You need to call 'Show' to make the changes visible.
custom-kitronik-game-zip-64-makecode-blocks-9
Gets the RGB value of a known colour.
custom-kitronik-game-zip-64-makecode-blocks-10
Converts reg, green, blue channels into an RGB colour.
 

Feedback Submenu:

custom-kitronik-game-zip-64-makecode-blocks-11
Run vibration motor for a particular length of time. Express time in milliseconds.
custom-kitronik-game-zip-64-makecode-blocks-12
Setup micro:bit to play music through :GAME ZIP64 buzzer.
 

Inputs Submenu:

custom-kitronik-game-zip-64-makecode-blocks-13
This block states that a :GAME ZIP 64 button has been pressed.
custom-kitronik-game-zip-64-makecode-blocks-14
Do something when one of the :GAME ZIP 64 Buttons are pressed.
   

Useful Links:

In conclusion, we hope these blocks help to make the most of your :GAME ZIP. Follow the links below to explore further. Also,  share your work with #kitronikfun and let's get coding!

4 comments

Mark Donnison

Mark Donnison

Hi David, Thanks for the feedback and suggestions. This highlights the downfall of developing and releasing everything at the same time using more than one person. One thing isn't always available to be used for another thing. Developing more games is something we would like to do but the development guys are run ragged at the moment, juggling multiple new projects. In the meantime, I'm glad that you're having fun with the games and the blocks. Also, you might find these teaching resources useful: https://www.kitronik.co.uk/zip/5626_GAME_ZIP_64_Lesson_Plans.zip

Mark Donnison

Mark Donnison

Hi David, thanks for sharing your code, it's great to see people having fun and sharing what they do. Great stuff!

David Fisher

David Fisher

Cute little example: https://makecode.microbit.org/_KTf5HyDUdT25 Use Up, Down, Left, Right to move Use Fire 1 to change colors Use Fire 2 to raise and lower your pen A+B to clear

David Fisher

David Fisher

So example MakeCode projects using these blocks would be welcome. Reading a detailed description of each block isn't the funnest way to start. Loved the 2 complex examples but they didn't use this library.

Leave a comment

All comments are moderated before being published