hackclub / sinerider

💖 A game about love and graphing, built by teenagers.
https://sinerider.com
GNU Affero General Public License v3.0
548 stars 46 forks source link

[FEATURE] Camera Control In Graph View #618

Open Omay238 opened 8 months ago

Omay238 commented 8 months ago

Description

It would be nice to be able to pan, zoom in graph view. Sometimes it could be helpful to see more of the screen.

Screenshots

No response

Additional information

No response

polytroper commented 8 months ago

Hmm. This does seem like a worthwhile feature but presently click/drag is used to activate the grid lines. Do you have a suggested interface?

Omay238 commented 8 months ago

The first thing that comes to mind for me is for it the be like desmos. Clicking around the terrain edge brings up the graph view, along with clicking around goals and the player, but clicking inside the terrain or outside it will pan instead. It could also be holding shift to pan. Zoom could be either scrolling, or a slider on the bottom somewhere.

theGuardianCode commented 7 months ago

I reckon the arrow keys could be used to pan around in graph view since they're used for the same feature in the level select menu.