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

How do you move the map? #36

Closed
Luke004 opened this issue Jul 20, 2018 · 1 comment
Closed

How do you move the map? #36

Luke004 opened this issue Jul 20, 2018 · 1 comment
Labels

Comments

@Luke004
Copy link

Luke004 commented Jul 20, 2018

right now im using
view.move(currMoveVec);
but is there a way to move just the map instead of the whole view?

@fallahn
Copy link
Owner

fallahn commented Jul 21, 2018

That depends entirely on what you're using to draw the map - although I believe the general consensus is to move the view. For instance, if you had collision data stored with the map, or other characters moving around, you would have to move all of those too... in which case moving the view is much simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants