My Cart:

0 item(s) - £0.00
You have no items in your shopping cart.

0

Custom Kitronik :GAME ZIP 64 MakeCode Blocks

We have just added our new custom :GAME ZIP 64 MakeCode Blocks to the Microsoft MakeCode Editor. The 14 blocks are specifically designed to make coding games as quick and painless as possible.

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 'Add Package'. This will open the Add Package window. Click into the search bar and type Kitronik then hit enter.

GAME ZIP 64 MakeCode Blocks -add-package-1000

We now have four custom code libraries and as a result, you will need to scroll down to get to the ZIP 64 library. You will find that the new menu has been added above 'Basic' in the list. Clicking on the menu option will give you access to the individual blocks. Also, the blocks have been grouped into three submenus, click on the sub menu to gain access to these blocks.

GAME ZIP 64 MakeCode Blocks -menu-1000

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:

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 lets get coding!

Robox 3D Printer
← Previous Post Next Post →

4 thoughts on “Custom Kitronik :GAME ZIP 64 MakeCode Blocks”

  • David Fisher June 14, 2018 at 7:10 am

    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.

    Reply
    • Mark Donnison June 14, 2018 at 3:53 pm

      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

      Reply
  • David Fisher June 14, 2018 at 8:08 am

    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

    Reply
    • Mark Donnison June 14, 2018 at 3:41 pm

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

      Reply
Leave a Reply