2024-05-30 08:10:06 +02:00
|
|
|
# Todo
|
|
|
|
|
|
|
|
Here some ideas for improving this tiny engine:
|
|
|
|
|
|
|
|
## Rendering
|
|
|
|
- [ ] replace the OpenGL renderer with a Vulkan backend
|
|
|
|
- [ ] add animatable sprites (access to UV mapping and tiling)
|
2024-05-30 08:13:44 +02:00
|
|
|
- [ ] add a SDF based renderer (parametric tiles and font rendering)
|
2024-05-30 08:10:06 +02:00
|
|
|
|
|
|
|
## Game Support
|
|
|
|
- [ ] audio!
|
|
|
|
- [ ] some minimal animation system with tweening with different f-curves
|
|
|
|
|
2024-05-30 08:13:44 +02:00
|
|
|
|
2024-05-30 08:10:06 +02:00
|
|
|
## System Level
|
|
|
|
|
|
|
|
- [ ] add a `Asset` handler to load cache and manage assets
|
|
|
|
- [ ] introspection of file system if we load assset
|
2024-05-30 08:13:44 +02:00
|
|
|
|
|
|
|
## Design
|
|
|
|
|
|
|
|
- [ ] replace some of the 'unkown source' assets
|
|
|
|
|
|
|
|
## Build / Dev Support
|
|
|
|
- [ ] add a test rig either with Snitch or Catch2
|
|
|
|
- [ ] write some reasonable testcases
|
2024-05-30 09:07:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Issues
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
Performance counter stats for 'bin/paradiso_pong':
|
|
|
|
|
|
|
|
555,35 msec task-clock:u # 0,042 CPUs utilized
|
|
|
|
0 context-switches:u # 0,000 /sec
|
|
|
|
0 cpu-migrations:u # 0,000 /sec
|
|
|
|
4.072 page-faults:u # 7,332 K/sec
|
|
|
|
319.484.735 cycles:u # 0,575 GHz
|
|
|
|
358.165.995 instructions:u # 1,12 insn per cycle
|
|
|
|
86.037.942 branches:u # 154,926 M/sec
|
|
|
|
2.469.068 branch-misses:u # 2,87% of all branches
|
|
|
|
|
|
|
|
13,092775373 seconds time elapsed
|
|
|
|
|
|
|
|
0,311565000 seconds user
|
|
|
|
0,247491000 seconds sys
|
|
|
|
```
|
|
|
|
above run with `perf stat bin/paradiso_pong` shows some really bad performance issues.
|