|||

back

August 10th 2024

Animated Sprites

Task Introduction

The goal of the task was to test animated sprites. I was able to achieve this after implementing the source code from the lecture slides for the AnimatedSprite class. After this implementation I decided it was best to implement a new scene to display and control the animated sprites.

The completetion of this task wasn't all smooth sailing, you can read about the bug I encountered here.

Demo

Animated Sprite Demo

As you can seen from the demo above that I was able to successfully implement a scene with the animated sprite. For demonstration purposes I didn't set the animation to loop automatically but rather be scrollable through the debug menu.

Selecting each sprite will allow you to individually scroll through each frame of the sprite essentially creating an animation once auto looping is applied.