Crash Bandicoot collecting animation

I’ve created a small project to demonstrate one of the ways this could be handled:

Image from Gyazo

Project link (v4.25):


  • the player has a widget that represents their interface
  • that interface widget has an additional (animation) canvas that we can shift elements in
  • when the player collects an item, we create a widget that represents that item and add it to the above-mentioned canvas
  • the player interface interpolates the location of the item widgets between starting location and another widget’s location, here represented by the white (collection) border
  • we also count collection items, and destroy their widgets

Do tell if anything is unclear.