nightmareci / HeborisCE

Cross-platform Expansion (C.E.) and continuation of Heboris U.E. using modern technology and development approach
33 stars 5 forks source link

Add support for animated and non-4:3 backgrounds #28

Open nightmareci opened 6 months ago

nightmareci commented 6 months ago

SDL_image, the library used for loading images, supports loading animated GIFs and WEBPs, so support for animated backgrounds using the animated image support in SDL_image should be added.

In line with improving background graphics functionality, support for non-4:3 backgrounds should also be added. The current game content layout wouldn't be changed, but would be centered on top of the background, regardless of the current background's aspect ratio. Arbitrary aspect ratios should be supported; don't hard code to only support 4:3 and 16:9 backgrounds, for example.