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

Add an "anchor" attribute to structure placements to indicate coordinate origin #2090

Open
kostmo opened this issue Jul 31, 2024 · 0 comments
Labels
G-Scenarios An issue having to do with scenario design, the way scenarios are described and loaded, etc. Z-Developer Experience This issue seeks to make life easier for developers writing Scenarios or other Swarm code. Z-Feature A new feature to be added to the game.

Comments

@kostmo
Copy link
Member

kostmo commented Jul 31, 2024

The 'anchor' may be an enum among bottom-left, bottom-right, top-left, or top-right.

As things are today, some mental calculation is needed to specify proper coordinates given a desired placement that accounts for a structure's size.

@kostmo kostmo added Z-Feature A new feature to be added to the game. G-Scenarios An issue having to do with scenario design, the way scenarios are described and loaded, etc. Z-Developer Experience This issue seeks to make life easier for developers writing Scenarios or other Swarm code. labels Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
G-Scenarios An issue having to do with scenario design, the way scenarios are described and loaded, etc. Z-Developer Experience This issue seeks to make life easier for developers writing Scenarios or other Swarm code. Z-Feature A new feature to be added to the game.
Projects
None yet
Development

No branches or pull requests

1 participant