We added items to be generated on the main game screen to include the ingredients and animals from the main game. These items are spawned in the background and keep rotating in the main menu screen. This was done by moving these items (position wise) around on the screen. The changes were made in the Main Menu Display. We also added some code for the player interaction to update the player sprite when picking up an item(pressing on E) in the player animation component. We also added some test cases to test the functionality of the features we implemented.
Fixes / Closes # (issue)
220, #216, #217, #155, #219 as well as the testing for the other task tickets mentioned in previous pull request.
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue) (letting animals go down - border)
[ ] New feature (non-breaking change which adds functionality) (player interactions and spawning of items on the main menu screen)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
[ ] Mostly visual testing since most of the code updated is rendering
[ ] Few test cases were created in the tests folder to verify the testable features of the changes made
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Description
We added items to be generated on the main game screen to include the ingredients and animals from the main game. These items are spawned in the background and keep rotating in the main menu screen. This was done by moving these items (position wise) around on the screen. The changes were made in the Main Menu Display. We also added some code for the player interaction to update the player sprite when picking up an item(pressing on E) in the player animation component. We also added some test cases to test the functionality of the features we implemented.
Fixes / Closes # (issue)
220, #216, #217, #155, #219 as well as the testing for the other task tickets mentioned in previous pull request.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: