Change image every second in menu

Hi, I’m trying to swap between two images to create a simple efect that looks like an animation. Like in this game https://www.youtube.com/watch?v=VTtMruBheqY . Should I create a function or can I do it in the update method? How could I remove one image and add the other and over?

http://phaser.io/examples/v3/view/animation/animation-from-png-sequence

1 Like