Image:
 Author: BeyondBlues Group: Default Filesize: 38.55 kB Date added: 2021-11-16 Rating: 5 Downloads: 1678 Views: 382 Comments: 2 Ratings: 1 Times favored: 0 Made with: Algodoo v2.1.0 Tags:
|
[BEFORE THIS SCENE CAN BE RUN, IT IS RECOMMENDED TO USE A COMPUTER POWERFUL ENOUGH TO PROCESS ALL OBJECTS IN A STABLE RATE]
In this scene, there are two teams, each composed of 16 ships. Every ship is controlled by themselves and contains 9 lasers which gather info around the ship's sight (4 left side, 4 right side, 1 forward).
Each ship has three states: Wander, Gather, and Attack.
If the ship is in Wander state, it moves around and avoids walls. If the ship's health goes below 80%, it enters Gather state. If the ship sees a ship of a different color, it enters Attack mode.
If the ship is in Gather state, it does the same as Wander state, except it searches for "food" pellets to regain health. If the ship's health is full, it enters Wander state.
If the ship is in Attack state, it faces towards its enemy and shoots projectiles whenever the ship's front laser hits an enemy. |