Skip to content

1.0.2

Choose a tag to compare

@github-actions github-actions released this 18 Nov 16:06
· 137 commits to main since this release

Features

New Agents:

  • agentseek/src/main/asl/camera_agent.asl: Added new behavior plans for the camera agent, including start_behavior, check_surroundings, alarm_agents, and monitor_player.
  • agentseek/src/main/asl/guard_agent.asl: Introduced new behavior plans for the guard agent, such as start, searchForPlayer, followEnemy, alertAllies, and defendBase.
  • agentseek/src/main/asl/hearing_agent.asl: Added behavior plans for the hearing agent, including start and searchForPlayer.

Enhancements to Sensor Components:

  • agentseek/src/main/kotlin/io/github/agentseek/components/NoiseSensorComponent.kt: Enhanced the NoiseSensorComponent to include new functionalities such as adding reactions and updating the visual representation of the noise sensor.
  • agentseek/src/main/kotlin/io/github/agentseek/components/SightSensorComponent.kt: Improved the SightSensorComponent by adding new methods to rotate and set the direction of the sensor, and enhanced the detection logic to filter out blacklisted names.

Refactoring and Code Improvements

  • agentseek/src/main/kotlin/io/github/agentseek/components/DistanceSensorComponent.kt: Refactored the DistanceSensorComponent to improve readability and performance by filtering out objects named "Player" from the collision detection.
  • agentseek/src/main/kotlin/io/github/agentseek/components/FieldMovementComponent.kt: Added new methods to control the movement direction and state of the FieldMovementComponent, and adjusted the maximum velocity.
  • agentseek/src/main/kotlin/io/github/agentseek/components/NoiseSensorVisualComponent.kt: Modified the NoiseSensorVisualComponent to react to noise detections and update the visual feedback accordingly.

New Utility Functions:

  • agentseek/src/main/kotlin/io/github/agentseek/components/common/ComponentsUtils.kt: Added a new utility function getRandomVelocity to calculate a random velocity for game objects based on their surroundings.