-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: zoom in on the game screen to show the players bot more closely…
… and panning on game screen with mouse drag (#81) ## How does this PR impact the user? <!-- Add "before" and "after" screenshots or screen recordings; we like loom for screen recordings https://www.loom.com/ --> ![Recording 2024-11-22 at 12 06 16](https://github.com/user-attachments/assets/c4017c94-6487-4656-9f79-3cfeaf12ab76) ## Description <!-- Concisely describe the changes in this PR --> - Issue #48 - Allows users to zoom in in the game screen using mouse wheel on the mouse location. - Allows user to pan through the game screen with mouse dragging. - Max zoom in is 3 times. ## Limitations <!-- Anything related to this PR that wasn't "done" in this PR --> - Currently panning outside the predefined spawn locations of the food doesn't look good. - Same issue with zooming out ## Checklist - [x] my PR is focused and contains one wholistic change - [x] I have added screenshots or screen recordings to show the changes --------- Co-authored-by: aldrin312 <[email protected]>
- Loading branch information
Showing
1 changed file
with
131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters