gai-ca2/doc/planning.md

1.2 KiB

  • Sprites (dome)
  • Initialize Tilemap (Yan)
    • Script --> World (manages access to tilemap)
    • Player is on tilemap
    • Multiple layers
      • Ground (Water, Ground) --> custom data (Walkable, Weight = 1)
      • Obstacles (Stone, ...)
      • Pickup (Berries, Trees, Boat parts) --> custom data (Type of collectable "tree", "berry", "boat")
      • Temperature layer (normal and different levels of coldness, transparent solid color)
  • Design a tilemap for the game
  • Player (Dome)
    • Stats (see document)
    • Inventory
      • with one slot
      • can pick up items from tilemap (Pickup)
      • can drop items back onto tilemap (Pickup)
  • Navigation (Dome?)
    • Use tilemap layers to compute route
    • Support obstacles
    • Result must be an array of tile coordinates, length (array length) and the total cost (sum of weights)
  • Decision Tree (Classes, etc.) (Luca, Cool in)
    • Reference Food Gatherer for implementation
    • Child of player, serves as controller
    • Script needs access to the scene, player and other objects/data
  • Implement Behaviours
    • Implement all kinds of Behaviours, see document
  • Visualization, make the simulation understandable
    • GraphEdit
    • Distances
    • Current navigation path
    • ...