Entity Control Prototype
This game prototype introduces a unique mechanic where players can take control of enemies and other entities to use them strategically. The design of the prototype is heavily based on object-oriented programming principles, particularly inheritance.
The architecture involves two main base scripts:
- Default Behavior Script: Defines the logic for what enemies and entities do when they are not under the player's control.
- Controlled Behavior Script: Specifies the actions and logic for enemies and entities when they are being controlled by the player.
Derived scripts build upon these base scripts to add additional functionality or unique behaviors for specific types of enemies and entities. This modular structure allows for efficient reuse of code while making it easy to customize the behavior of individual game elements.
This approach ensures flexibility and scalability in the game's design, making it easier to expand the mechanics and implement new types of controllable entities in the future.
Published | 19 hours ago |
Status | Prototype |
Platforms | HTML5 |
Author | Div Sharp |
Genre | Strategy, Platformer |
Made with | Unity |
Tags | 2D, Game Design, Prototype |
Leave a comment
Log in with itch.io to leave a comment.