Microsoft MakeCode

Pygamer Extension for Accelerometer

Has anyone seen an extension to make use of the accelerometer or other hardware of the pygamer yet?

The controller extension has some blocks to use the accelerometer:

36%20AM

46%20AM

If I remember correctly, for now you might need to use the beta version the accelerometer to work on the pygamer though (and also possibly update the bootloader)

1 Like

The controller extension worked great for the accelerometer (y acceleration is flipped for the pygamer)! I made the following marble maze game (only tested on the pygamer): https://makecode.com/_3oKMec3kUPYX