Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweaked colony rendering screen behavior, added panning limits. #1107

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

hemoridos
Copy link
Contributor

Resolve #978

Implemented colony render screen to reposition to a location proportional to the last viewed colony's render screen location.
Based on these ratios added a limit to screen panning so the render screen's center point can never leave the planet surface's bounding rectangle's area.
This behavior is enforced for wind resizing as well.

@akarnokd akarnokd merged commit 198e865 into akarnokd:master Nov 30, 2023
@akarnokd
Copy link
Owner

akarnokd commented Nov 30, 2023

Next time, could you please enable the checkstyle.xml in Checkstyle Eclipse-CS and follow the style suggestions of it?

image

@hemoridos
Copy link
Contributor Author

Will do next time.
I'm using intellij with the latest checkstyle plugin and for that I needed to change the chekstyle.xml to make it work.
Should I add that as a separate checkstyle file for intellij users?

@akarnokd
Copy link
Owner

Separate.

@hemoridos hemoridos deleted the colony_screen_tweaks branch April 12, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Colony screen behaviour
2 participants