pull/3/head
Yan Wittmann 2025-01-06 12:50:46 +01:00
parent 567b2cb689
commit 027257fcb6
4 changed files with 36 additions and 17 deletions

View File

@ -1,26 +1,34 @@
## Todo ## Todo
- Sprites (Dome) - Sprites (Dome)
- Design a tilemap for the game - Ground
- Player (Dome) - Berry bush (filled, empty)
- Stats (see document) - Tree (filled, empty)
- As a layer in the tilemap - Ship parts
- Implemented in the PlayerManager - camp (multiple textures)
- Inventory - Design a tilemap for the game (Dome, Colin, Luca)
- with one slot - Navigation v2 (Yan)
- can pick up items from tilemap (Pickup) - Support walkable attribute on interactive/non-interactive tilemap items (is_walkable)
- can drop items back onto tilemap (Pickup) - fix pathfinding for unreachable cells
- Navigation (Dome?) - add search radius (max distance) before canceling
- Use tilemap layers to compute route - improve performance (or rather, check performance first)
- Support obstacles - Player: function to walk up to a tile, not onto the tile (trees, etc.)
- Result must be an array of tile coordinates, length (array length) and the total cost (sum of weights) - Player v2 (Colin)
- TBD
- Check player pickup function and inventory system (if inventory already full, etc.)
- Check player walking capability
- Interactions with camp, etc.
- Interactive and Non-Interactive Items (Luca)
- Add all the items needed to build the game (bushes, trees, etc.)
- Add logic regarding the objects, like picking up berries or taking branches, etc.
- Camp, chest (inventory slots, array of items)
- Implement Behaviours - Implement Behaviours
- Implement all kinds of Behaviours, see document - Implement all kinds of Behaviours, see document
- Visualization, make the simulation understandable - Visualization, make the simulation understandable
- GraphEdit - GraphEdit
- Distances - Distances
- Current navigation path - Current navigation path
- ... - etc.
## Done ## Done
@ -36,3 +44,15 @@
- Reference Food Gatherer for implementation - Reference Food Gatherer for implementation
- Child of player, serves as controller - Child of player, serves as controller
- Script needs access to the scene, player and other objects/data - Script needs access to the scene, player and other objects/data
- Navigation
- 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)
- Player
- Stats (see document)
- As a layer in the tilemap
- Implemented in the PlayerManager
- Inventory
- with one slot
- can pick up items from tilemap (Pickup)
- can drop items back onto tilemap (Pickup)

View File

@ -1 +1 @@
{"width":320,"layers":[{"cels":[{"image":"tilemaps\\tilemap_ground.png","frame":0}],"name":"ground"},{"cels":[{"image":"tilemaps\\tilemap_objects.png","frame":0}],"name":"objects"},{"cels":[{"image":"tilemaps\\tilemap_temperature.png","frame":0}],"name":"temperature"},{"cels":[{"image":"tilemaps\\tilemap_player.png","frame":0}],"name":"player"}],"frames":[{"duration":0.1}],"height":320,"filename":"tilemaps.aseprite"} {"filename":"tilemaps.aseprite","width":320,"frames":[{"duration":0.1}],"height":320,"layers":[{"name":"ground","cels":[{"image":"tilemaps\\tilemap_ground.png","frame":0}]},{"name":"objects","cels":[{"image":"tilemaps\\tilemap_objects.png","frame":0}]},{"name":"temperature","cels":[{"image":"tilemaps\\tilemap_temperature.png","frame":0}]},{"name":"player","cels":[{"image":"tilemaps\\tilemap_player.png","frame":0}]}]}

View File

@ -105,8 +105,7 @@ func tick_handle_temperature(cell_temperature: int):
func tick_handle_food(): func tick_handle_food():
if food <= 0: if food <= 0:
health -= food_damage; health -= food_damage
pass
func game_tick() -> void: func game_tick() -> void: