rename scale option to stretch
This commit is contained in:
@ -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"),
|
||||
|
Reference in New Issue
Block a user