pxt-arcade
pxt-arcade copied to clipboard
Acceleration events don't seem to fire?
Describe the bug Can't seem to get any "on" tilt, 2g/3g/shake, up/down events to fire either on web version nor pygamer. Also the "on light bright/dark" doesn't seem to fire.
I had to use input.setLightThreshold()
through the js tab as there doesn't seem to be a block for it?
Perhaps I'm doing something wrong with all of this?
To Reproduce Steps to reproduce the behavior:
- Go to https://makecode.com/_2C3aDwWfXe0C
- Move mouse around over the demo
- Doesn't seem to trigger any events
- Same thing on a pygamer
- Covering the light sensor on pygamer does not fire the "on light bright/dark" either.
Expected behavior Events should fire?
Desktop (please complete the following information):
- OS: Windows, PyGamer
- Browser Chrome