rename scale option to stretch
This commit is contained in:
1 parent
b35c02d884
commit
9d2aa9b9ba
3 files changed
+5
-3
No files matched your search
@@ -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