Commits on Source (6)
-
Florian Schröder authored
The visualization settings for the pygame 2d visualization such as 'use_player_cook_sprites', 'show_interaction_range', and 'show_counter_centers' are now part of the configuration in 'visualization.yaml'. If these settings are not defined in the configuration, the program will use default values. This change allows for easier modification of the visualization aspects without directly changing the code each time.
-
Fabian Heinrich authored
-
Florian Schröder authored
Resolve "Put drawing constants in vis config" Closes #117 See merge request scs/cocosy/overcooked-simulator!83
-
Florian Schröder authored
The reference to the config dictionary has been refactored for better organization in the drawing.py file. Previously, key-value pairs were directly accessed from the config dictionary, now they are accessed from a nested dictionary under the "Gui" key. This change aims to improve code clarity and manageability.
-
Florian Schröder authored
Positions and state of items and counters in the cooperative_cuisine/pygame_2d_vis/sample_state.json file were edited. This included adding new counters and items, changing current nearest counter information and positioning, modifying held objects, and altering active effect conditions among others. The changes cater for a better test coverage.
-
Florian Schröder authored
Resolve "Hook when putting items back on dispenser" Closes #111 See merge request scs/cocosy/overcooked-simulator!84
Showing
- cooperative_cuisine/configs/environment_config.yaml 1 addition, 0 deletionscooperative_cuisine/configs/environment_config.yaml
- cooperative_cuisine/configs/human_readable_print_templates.yaml 1 addition, 0 deletions...ative_cuisine/configs/human_readable_print_templates.yaml
- cooperative_cuisine/counters.py 2 additions, 0 deletionscooperative_cuisine/counters.py
- cooperative_cuisine/hooks.py 2 additions, 0 deletionscooperative_cuisine/hooks.py
- cooperative_cuisine/pygame_2d_vis/drawing.py 19 additions, 7 deletionscooperative_cuisine/pygame_2d_vis/drawing.py
- cooperative_cuisine/pygame_2d_vis/sample_state.json 603 additions, 262 deletionscooperative_cuisine/pygame_2d_vis/sample_state.json
- cooperative_cuisine/pygame_2d_vis/visualization.yaml 6 additions, 0 deletionscooperative_cuisine/pygame_2d_vis/visualization.yaml
- cooperative_cuisine/recording.py 1 addition, 1 deletioncooperative_cuisine/recording.py
- tests/test_pygame.py 21 additions, 2 deletionstests/test_pygame.py
This diff is collapsed.