Skip to content

Destructible tiles#60

Open
leo-in-the-house wants to merge 4 commits intoRogueCollab:masterfrom
leo-in-the-house:DestructibleTiles
Open

Destructible tiles#60
leo-in-the-house wants to merge 4 commits intoRogueCollab:masterfrom
leo-in-the-house:DestructibleTiles

Conversation

@leo-in-the-house
Copy link
Copy Markdown
Contributor

-Add the ability for tiles to be instantly destroyed with Moves of certain types and power. Effects can be spawned when the tile is destroyed this way.
-Add an "Object" category for tiles. Objects cannot be passed through but can be attacked through, and items inside of an object are hidden until the object is destroyed.

@audinowho
Copy link
Copy Markdown
Contributor

Several uncertainties about this PR, those being the power needed to destroy and the effective elements. Those seem somewhat hardcoded to a particular purpose and are potentially better off implemented as a TileState. However, I will need to see more about how they're being used. Can you link the code that uss these two members?

Aside from that, it would be ideal to separate some of these changes into their own PRs:

-Create a PR for the feature of hiding items behind objects.
-Create a PR for the changes that involve the new TileAttackBlocked methods.

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

Successfully merging this pull request may close these issues.

2 participants