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

Change size of module #13

Closed
ztffn opened this issue Jul 2, 2019 · 4 comments
Closed

Change size of module #13

ztffn opened this issue Jul 2, 2019 · 4 comments

Comments

@ztffn
Copy link

ztffn commented Jul 2, 2019

Hi, I'm trying to use your system with 200x200 blocks. How do I change the size of the gizmos and the ofset the world places the modules with?

@marian42
Copy link
Owner

marian42 commented Jul 2, 2019

Hi,

you need to change AbstractMap.BLOCK_SIZE.

I only ever used a size of 2. I just fixed some places where it was hardcoded. I hope I didn't miss any! It seems to work with other sizes though.

@ztffn
Copy link
Author

ztffn commented Jul 2, 2019

Changed that value in AbstractMap.cs - which sorted the gizmos, but seems the neighbor preview/ghosts are still 2f it seems.

https://imgur.com/32gj2Kp

Any idea where that offset might be found?

@marian42
Copy link
Owner

marian42 commented Jul 2, 2019

Did you pull the commit that I made an hour ago? That one should have fixed it.

@ztffn
Copy link
Author

ztffn commented Jul 3, 2019

Works like a charm! Thank you very much - for sharing this great project and the quick feedback 👍

@marian42 marian42 closed this as completed Jul 3, 2019
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

2 participants