HW5: Project Proposal Submission #8

Merged
andrea merged 5 commits from 20210747/homework5:main into 20210747 2025-04-14 00:25:32 +00:00
Showing only changes of commit ccae8ef52f - Show all commits

View File

@ -87,4 +87,4 @@ class World {
### 4. Expected Challenges ### 4. Expected Challenges
<!-- What do you expect to be the main challenges? What features taught in class do you expect to use in your implementation? --> <!-- What do you expect to be the main challenges? What features taught in class do you expect to use in your implementation? -->
The expected main challenges from this project is how to make the cat rendered dynamically (as walking) when it moves. I will use the `p5.js` library to make the rendering, so I think keeping a local state of whether the Cat is moving or not and render the visual accordingly might work. The expected main challenge is implementing dynamic cat animation when it moves, so to make it looks like the cat is running. I plan to keep track of the cat's movement state globally to show if during the rendering stage the cat should be in running animation. I also want to implement scrolling levels where the window follows the cat's movement, but I'm still figuring out how to track the cat's position relative to the viewport for camera movement.