From 9f30f800443e6496bbba264a375c126cb26b1760 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Wed, 9 Jul 2025 08:58:14 +0200 Subject: Spawn target for newly spawned units --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index c013a54..f25dc35 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ ## TODO -- spawn may register a target, on spawn unit will do as a right click on target (move, gather, ...) - time must come from engine, not now - selection priority: selecting units + building -> select only units - see the current action (debug?) @@ -12,8 +11,11 @@ - bigger map - move the map view - ecs array: on delete, replace by last and update id->index map +- perf: look for nil comparison -> more data oriented +- perf: keep a short array of selected ## Bugs + - select A, gather, move to B, (it stops), gather (no storage) - if B is < 1 cell away, it will go and merge with A - stops moving if someone settles at destination -- cgit v1.3