Enemy: Difference between revisions

4 bytes added ,  9 years ago
m
Linked to Camera.
mNo edit summary
m (Linked to Camera.)
Line 87: Line 87:
Intelligence-wise, enemies have a very simplistic artificial intelligence system. Some bosses are hard-coded to perform more specific actions and reply to more specific events, but for the most part, enemies can recognize the presence of a Pikmin, when to attack, when to shake Pikmin off, when to return to their home spot, and not much else. On top of that, their path recognition systems are non-existent: when they want to reach a spot, they head directly towards it, with no regard to any walls or obstacles. This can lead to them getting stuck behind walls, endlessly walking in place.
Intelligence-wise, enemies have a very simplistic artificial intelligence system. Some bosses are hard-coded to perform more specific actions and reply to more specific events, but for the most part, enemies can recognize the presence of a Pikmin, when to attack, when to shake Pikmin off, when to return to their home spot, and not much else. On top of that, their path recognition systems are non-existent: when they want to reach a spot, they head directly towards it, with no regard to any walls or obstacles. This can lead to them getting stuck behind walls, endlessly walking in place.


This simplicity, however, is required to minimize the development costs and the processor usage, given that more complex path recognition systems could end up lowering the game's framerate. Another trick to minimize processor usage is to simply not render or recognize any enemy that lies beyond the camera's reach. These tricks allow the game to run smoothly without severely compromising the game and the enemies' livelihood.
This simplicity, however, is required to minimize the development costs and the processor usage, given that more complex path recognition systems could end up lowering the game's framerate. Another trick to minimize processor usage is to simply not render or recognize any enemy that lies beyond the [[camera]]'s reach. These tricks allow the game to run smoothly without severely compromising the game and the enemies' livelihood.


==List==
==List==