Add tree test map, fix easing system

This commit is contained in:
2024-01-07 09:32:36 +01:00
parent 6884619f05
commit 07e03702ad
6 changed files with 730 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ i32 harvestEvent(ecs_entity_t entity, HarvestEvent event) {
.duration = 0.6f,
// 45 * (1.0f + (-1.0f) * x)
.target = 45,
.target = GetRandomValue(30, 55) * GetRandomValue(1, 2) - 1,
.easeTarget = -1.0f,
.easeStart = 1.0f
});