Change parallax scrollx to float factor

This commit is contained in:
Lucas S. Vieira 2024-10-23 00:56:42 -03:00
parent f6c6d49761
commit bb4df1993d
5 changed files with 14 additions and 6 deletions

View file

@ -35,7 +35,7 @@ typedef struct {
typedef struct {
uint8_t num_parts;
uint8_t is_single;
int16_t scrollx;
int32_t scrollx;
int16_t y0;
uint16_t width; // Sum of all widths, calculated on load!
ParallaxPart *parts;