animate tile spawning

This commit is contained in:
2023-12-29 23:09:30 +02:00
parent 63de22e0f4
commit b8d11050f8
3 changed files with 108 additions and 62 deletions
+1
View File
@@ -347,6 +347,7 @@ void draw_texture(UIConstraints *constraints, const TextureId texture_id, const
bool draw_button(UIConstraints *constraints, const Color color, const char *text, f32 radius, Alignment align, ButtonState state) {
Color text_color = COLOR_BLACK;
text_color.a = color.a;
Rect rect = {0};
apply_constraints(constraints, &rect.pos, &rect.size);