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

Opening map causes camera to zoom out #627

Closed
Sceptres opened this issue Oct 14, 2021 · 5 comments
Closed

Opening map causes camera to zoom out #627

Sceptres opened this issue Oct 14, 2021 · 5 comments

Comments

@Sceptres
Copy link

What you were trying to do

Move the hero and while moving, opening the map, and then return to the game to continue playing after checking the map.

What actually happened

After opening the map while moving then closing it, everything in the game became smaller (the hero, asteroids, enemy ships, etc.).

How to reproduce

  • Start moving your hero in any direction
  • While moving open the map
  • After viewing the map, close it. Everything in the game will have shrunk down to a smaller size than before

Log details and game version

Game version: v2.0.0

Computer details

CPU: i7-1165G7
RAM: 16 GB
GPU: Intel Iris Xe

@Sceptres Sceptres changed the title Opening map causes camera zoom issue Opening map causes camera zoom Oct 14, 2021
@Sceptres Sceptres changed the title Opening map causes camera zoom Opening map causes camera to zoom out Oct 14, 2021
@BenjaminAmos
Copy link
Contributor

I can reproduce this but it might actually be intended behaviour. The game zooms-out as you accelerate and get further out from stations and planets. This allows you to have a wider view on what's ahead so that you can steer to avoid it.

I believe that what you are describing is like the following:
ZoomNonBug0
The game though is still zooming out as-if you did not have the map screen open. If you didn't open the map screen, then it would still do the same:
ZoomNonBug1

If you still think this is a bug, then just say so and mention what you would have expected to happen instead.

@Sceptres
Copy link
Author

Oh, I see so the game is zooming out as the hero accelerates? That makes sense so the player can have time to change direction before crashing. I thought it was a bug as I didn't realize it did that while moving as well.

@Cervator
Copy link
Member

Thanks still for reporting something you noticed! Maybe we should add a step in the tutorial to point that out :-)

In fact, I wrote it up real quick along with another couple items: #628

@Sceptres
Copy link
Author

I think solving issue #614 would help so that the view does not keep zooming out while the map is open. That is if we stop the ship from accelerating while the map is open

@Cervator
Copy link
Member

I think solving issue #614 would help so that the view does not keep zooming out while the map is open. That is if we stop the ship from accelerating while the map is open

That sounds reasonable yes - if the player starts accelerating then opens the map, pause acceleration / turning as if no keys are being hit, and let the rest of the game act accordingly 👍

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

No branches or pull requests

3 participants