hackclub / sprig

🍃 Learn to code by making games in a JavaScript web-based game editor.
https://sprig.hackclub.com
MIT License
877 stars 1.02k forks source link

incorrect inputs #2044

Open Neptune1190 opened 1 month ago

Neptune1190 commented 1 month ago

Describe the bug when I and L are hit on the sprig console they result in the same action,despite the fact in the editor it works fine,might be a issue with my game?we have tried reflashing it to no avail,

To Reproduce Steps to reproduce the behavior:

  1. Go to 'my art program'
  2. Click on Run on Device
  3. Set it up as usual
  4. Hit the button for I and then move over a space (wasd for movement) and hit L,they should both result in the same color, 5.go back to the editor and run it in the editor 6.view the expected behaviour of them being two different colors Expected behavior That the editor and sprig would both run the same code,obviously not happening in this case

Actual behavior
when hitting l and i in the editor and the sprig it results in the same thing,

Screenshots the editor showing the appropriate colors for (going clockwise from top left) I J K and L image https://github.com/user-attachments/assets/d3f14bed-902a-49c9-96ab-e3af20eb907a

Neptune1190 commented 1 month ago

thanks to @Shibedev12 for the video and telling me about the issue