Player gets a gun with limited bullets which draw from player's inventory.
Enemies have a detection area around them which when entered causes them to enter an aggressive state and attack the player. Enemies are made of different modules which take damage when shot (either one or multiple modules) and which impact their functions such as move / attack.
Game ORDER of OPERATIONS
First, scan the map to find all legal tiles.
Player action (move / attack)
Upon receiving player action the AI decides what to do. If in an inactive state, check detection radius for whether each individual AI should become aggressive.
If active, move towards player location.
If within range, initiate attack.
Player gets a gun with limited bullets which draw from player's inventory.
Enemies have a detection area around them which when entered causes them to enter an aggressive state and attack the player. Enemies are made of different modules which take damage when shot (either one or multiple modules) and which impact their functions such as move / attack.
Game ORDER of OPERATIONS
First, scan the map to find all legal tiles.
Player action (move / attack)
Upon receiving player action the AI decides what to do. If in an inactive state, check detection radius for whether each individual AI should become aggressive.
If active, move towards player location.
If within range, initiate attack.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Player gets a gun with limited bullets which draw from player's inventory.
Enemies have a detection area around them which when entered causes them to enter an aggressive state and attack the player. Enemies are made of different modules which take damage when shot (either one or multiple modules) and which impact their functions such as move / attack.
Game ORDER of OPERATIONS
First, scan the map to find all legal tiles.
Player action (move / attack)
Upon receiving player action the AI decides what to do. If in an inactive state, check detection radius for whether each individual AI should become aggressive.
If active, move towards player location.
If within range, initiate attack.