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:



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):

I spotted this too. I put in a ticket for it: GH: Microsoft/pxt-arcade: on tilt up and on tilt down are reversed in simulator and PyGamer and perhaps could have better names #1190 .

A colleague spotted the sim is messed up too in beta beta: GH: microsoft/pxt-arcade: Simulator tilt is visually incorrect in MakeCode Arcade Beta. #1211.