Grid children: support .grid_pos property #221
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
john/McRogueFace#221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
entities have a peculiar
.posproperty, which gives their position in pixels only if they are associated with a grid. An entity has an intrinsic.grid_posthat it carries with it.UIDrawables could have the inverse: an intrinsic
.posvalue that they store internally, and calculated.grid_posand.grid_sizeproperties when assigned to a Grid. This would allow developers to size and position their objects in exact tiles: very handy for placing things relative to entities in the same grid.