hackclub / hackclub/sprig

incorrect inputs

Open
#2,044 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.1k
Forks
1.8k
Avg merge
8d 12h
Merged PRs (30d)
12

Description

**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'](https://sprig.hackclub.com/share/XtZadpIBBeicS2wgQLTz)
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/a95e0556-8268-4fe1-b8ae-083b0040fe26)
https://github.com/user-attachments/assets/d3f14bed-902a-49c9-96ab-e3af20eb907a

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the linked art program in the issue on a Sprig device, then run the same program in the editor and compare the I and L inputs. The issue is done when those inputs produce distinct colors on the device as they do in the editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.