rename scale option to stretch

This commit is contained in:
2024-08-01 01:25:23 +03:00
parent b35c02d884
commit 9d2aa9b9ba
3 changed files with 5 additions and 3 deletions

View File

@ -57,7 +57,7 @@ static void ingame_tick(struct state *state) {
m_sprite(m_set(path, "/assets/player/baron-walk.png"),
m_set(rect, ((t_frect){ 256, 256, 48, 48 })),
m_opt(color, ((t_color){ 255, 255, 255, 255 })),
m_opt(scale, false ),
m_opt(stretch, false ),
m_opt(texture_origin, ((t_fvec2){ ctx.tick_count % 48, ctx.tick_count % 48 })));
m_sprite(m_set(path, "/assets/light.png"),