1
0
Fork 0
main
Yan Wittmann 2025-01-03 14:51:00 +01:00
parent ac83a72eb5
commit 6087332d5e
2 changed files with 33 additions and 0 deletions

32
doc/planning.md 100644
View File

@ -0,0 +1,32 @@
- Sprites
- Initialize Tilemap (Yan)
- Script --> World (manages access to tilemap)
- Player is an object, not 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 (toggleable, types: normal and warm, transparent solid color)
- Collect all "objects" from the tilemap on initialization in arrays/dictionaries for later access in the tree
- 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
- ...

1
doc/sprites.md 100644
View File

@ -0,0 +1 @@
# Game Sprites