Well, I didn't code the game myself, but I recommend using references :) You can choose what you like from games similar to yours and try to implement it. There are also many tutorials on YouTube for creating certain effects, like squash and stretch, for example