microboy

MakeCode extension for micro:boy

View the Project on GitHub schizoakustik/microboy

Open this page at https://schizoakustik.github.io/microboy/

micro:boy

Description

micro:boy is basically a micro:bit with a 2-axis pot and a speaker added to make a handheld game console. This extension is to ease the handling of the joystick when creating games for the micro:boy.

Usage

Read joystick #microboyreadjoystick

Return analog value on x or y axis.

Center is 594. Full left and up is 1023, right and down is 173.

microboy.readJoystick(axis)

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project Build status badge

To edit this repository in MakeCode.

Blocks preview

This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.

A rendered view of the blocks

Metadata (used for search, rendering)