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

solved the scaling issue when going up/down #45

Closed
wants to merge 0 commits into from

Conversation

theDRB123
Copy link
Contributor

The problem appeared to be complex , but was solved by just changing how the combination of PosX and x changes , depending on the heightfromground ,

changes :

PosX doesn't need to scale with changing height so it is fixed ,

the x is replaced by x-width/2 , and y is replaced with y - height/2 to bring the origin of scaling from upper left corner to the center

@Glowstick0017
Copy link
Owner

@theDRB123 is it possible for you to merge master into your branch, master has the modified Perlin call to fix the color change issue.

@Glowstick0017
Copy link
Owner

refer to a2e1e9c to see the changes made

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.

Map Scaling not occuring from the center point
2 participants