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

mandyBrigwell style is not dimension-less #2 #99

Closed
AqwUnderscoreZert opened this issue Feb 21, 2022 · 3 comments
Closed

mandyBrigwell style is not dimension-less #2 #99

AqwUnderscoreZert opened this issue Feb 21, 2022 · 3 comments

Comments

@AqwUnderscoreZert
Copy link
Contributor

Hi @mandyBrigwell

After checking, once again your project, it still shows the different tiles form problem... It looks like an issue with some rounding (using int() or floor()).

image

@mandyBrigwell
Copy link
Contributor

I'm afraid I can't see where the issue lies—it's got me completely mystified. I don't use int() or floor(), so that's not an issue.

It happens when the dimension s changes from being the width to the height, but I can't find anywhere in the code that would cause this.

@mandyBrigwell
Copy link
Contributor

Issue resolved and pushed.

@mandyBrigwell
Copy link
Contributor

I figured out that because my initial graphics layer was calling random() a number of times dependent on the size of the screen, the random numbers when it got to the main loop were not the same. Took me way to long to work that out!

I could replace the initial random calls with noise, but I think I prefer it without them.

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