Hola! I’m writing a maze game where there are some animated sprites.
Is better to
- build an animated gif image and load it
or
- a class like animation with a method to build an arrayList of frames where each frame displays for a certain amount of time a png image of the sprite, an update and getImage methods?