rapid-router icon indicating copy to clipboard operation
rapid-router copied to clipboard

Animate the cows - move from point A to point B

Open faucomte97 opened this issue 11 months ago • 0 comments

Task Description

Currently, the cows aren't really animated. They spawn on whichever square the level data says they should spawn on, and stay there for the whole level. When the van honks at the cow, it moos and vanishes by just getting smaller and smaller.

This task is to do specifically with the animation of the cow from one given square A to another given square B, where A and B are adjacent.

Acceptance Criteria

  • [ ] Create the animation code which makes a cow move from A to B. The animation needs to be reusable and easily callable.
  • [ ] It is probably worth looking into how the van / character moves from A to B and what the code for that animation looks like, as source of inspiration.
  • [ ] We don't want robotic cows, we want real, live cows. Ie we don't want cows that just move from A to B at a constant speed and stopping suddenly. The speed can vary, increasing at the start of the animation and decreasing by the end. Bonus points if it looks like the cow is actually walking instead of just "rolling around" like the van.

faucomte97 avatar Mar 11 '24 16:03 faucomte97