aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 7a24235c7535a7ec5e020349c661311e7d1bcf9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

## Debugging

- Restart after kernel update until `glxinfo | grep "OpenGL version"` works

## Testing

- **Integration tests** Use `UpdateSimulation(Input{...})` to drive ticks with simulated inputs — no ebiten runtime needed.
- **Performance benchmarks**

## TODO

- [ ] see the current action (debug?)
- [ ] spawner: show queue
- [ ] keyboard config
- [ ] display selected entity name in bottom banner
- [ ] ecs array: on delete, replace by last and update id->index map
- [ ] collision based move w smaller accuracy
- [ ] perf: look for nil comparison -> more data oriented
- [ ] perf: keep a short array of selected and use it instead of `Value.IsSelected`
- [ ] perf: component columns and systems
- [ ] ecs: bitfield for fast checking
- [ ] ecs: rename to systems
- [ ] perf: measure frame budget
- [x] abstraction between ebiten and update to handle inputs in a simulation
- [ ] getMoveMap could be a maintained index
- [ ] entityAt could be a maintained index

## Bugs

- [ ] stops moving if someone settles at destination

## Dependencies

- `sudo dnf install libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel mesa-libGL-devel libXi-devel libXxf86vm-devel`