Skip to content

Center pointy_rectangle to the window and field_of_movement input #134

Answered by ManevilleF
Godnoken asked this question in Q&A
Discussion options

You must be logged in to vote

You could change the world origin in the HexLayout to offset everything, but if you are using the shapes module you might need to rewrite the rectangle function to do what you intend and offset all hexagons to avoid negative values, this combined with the origin change would make a centered rectangle

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@Godnoken
Comment options

@ManevilleF
Comment options

@ManevilleF
Comment options

@Godnoken
Comment options

@ManevilleF
Comment options

Answer selected by Godnoken
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #126 on January 08, 2024 18:27.