Grid_System_Overhaul #20

Merged
matt merged 4 commits from Grid_System_Overhaul into main 2026-08-25 23:52:54 -07:00
Owner

Check the comments on each commit for more information. This is a big design shift to force towers to be built on top of platforms. This PR does not include the resource requirements for placing a platform.

Check the comments on each commit for more information. This is a big design shift to force towers to be built on top of platforms. This PR does not include the resource requirements for placing a platform.
This change introduces some new vocabulary for us: a Tile is a 1x1 square on our map. Enemies only need a space 1 tile wide to be able to navigate through a maze. A Pad is a 2x2 selection of tiles, and is the only selectable size currently. All towers currently have Pad sized footprints. A Platform is a raised Pad. Press Space to enter selection mode.
The UI for building towers changes when in platform mode to allow players to place platforms instead of towers. I've added some safety checks so that when a load of platforms are placed at once enemies don't get flattened by a platform. Instead placement validity changes in real time and any platform that may fall onto an enemy breaks on landing. More checks are needed to allow enemies to escape being encased by platforms.
With the new platform placement system it's possible to trap enemies entirely encircled. As a failsafe I've given them the ability to attack their way out from that trapped space to get free. I've also changed the Puerto Rican builder's name to Manny.
Place a platform, then build a tower on top of it. This is the final part of this implementation. When a platform is destroyed by an enemy the tower on top of it is also destroyed and no refund is given.
matt merged commit 38f6b9287f into main 2026-08-25 23:52:54 -07:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
yeahweregames/UnityTowerDefense!20
No description provided.