Wooden Fence - UQdeco2800/2022-studio-1 GitHub Wiki
Introduction
As a tower defense game, the player must be provided with a method of 'pathing' enemies to the desired location, or preventing enemies from damaging certain objects. The wooden Fence entity is a method of doing so, and extends the general entity class, as described in Infrastructure.
- Flippable
Class Design
Wooden Fence functions like a wall.
The Wooden Fence entity is a specialized extension of the Entity class. Components have been added which provide the Wooden Fence a specific amount of Health Points, which are shown in the fence's Health Point Bar, as well as to create a collider component around the entity, making it impassable for all entities in the game.
As the basic component of the Building class, the Wooden Fence will apply to the design guidelines of the building. Considering that the game is from a 2.5D perspective, the Wooden Fence is designed as two perspectives.
Design Iteration
Current Version | Version 1 |
Design reference
https://images.app.goo.gl/kpYnZwPtx2CqZs2z8
https://images.app.goo.gl/6E1J54EhzqdBFvtw9
Future Expansion
In the future, research can be conducted amongst users to understand whether they expect further types of walls to be added to the game, or potentially whether to only include a feature where the current wall structure can be upgraded to enhance its stats.