Skip to content

Create a more advanced WPF example #8

@Exouxas

Description

@Exouxas

The current WPF example is great for showing the basics of FosterScript. Create a more advanced example that shows how a complete ecosystem could be made. Try to make the container for the actors like in Pacman, where it loops endlessly.

Create the following modules for the existing actors:

  • SmartSight: Observe things nearby. Ability to adjust sensing range with the cost of energy. Gene or neuron to determine how good they are at determining the target substance type (costs energy).
  • SmartEating. Drain a target actor's health and fill up digestion (stomach) based on their substance type.

Create the following modules for a new actor that will act as a food source:

  • SmartRegeneration. Refill health by using energy.

Create the following for both actor types:

  • SmartHealth (with an enum to determine if they're plant-based or meat-based
  • SmartReproduction. Sacrifice X amount of energy to create a similar actor. Will need to figure out a way to duplicate/mutate modules.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions