https://github.com/i-e-b/sdlbase
A minimum dependency experimental CLion project for games and graphics
https://github.com/i-e-b/sdlbase
experimental working
Last synced: over 1 year ago
JSON representation
A minimum dependency experimental CLion project for games and graphics
- Host: GitHub
- URL: https://github.com/i-e-b/sdlbase
- Owner: i-e-b
- License: bsd-3-clause
- Created: 2020-11-12T09:45:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-10-09T15:40:19.000Z (over 3 years ago)
- Last Synced: 2025-01-27T12:11:15.137Z (over 1 year ago)
- Topics: experimental, working
- Language: C
- Homepage:
- Size: 1.83 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SdlBase
A minimum dependency experimental CLion project for larger game and graphics projects.
This will be a port from a bunch of other projects. Don't expect anything
useful for quite a while.
This should be pretty plain C code.
## The plan
* [x] Bring in the container structures and SDL hook-ups from MECS, but not the compiler / runtime engine.
* [ ] Add joystick stuff (supporting multiple)
* [ ] frame-delay guessing to reduce latency (need to change buffering strategy)
* [ ] Bitmap drawing for the scan buffer thing (rectilinear, then affine)
* [x] texture atlas drawing
* [x] fix uncovering issue
* [x] allow materials to have offsets & offset mode (screen, edge)
* [x] edit material (change Z, change offset)
* [ ] PNG loading (PicoPNG? SDL?)
* [ ] some tool to pack sprites down to minimal size
* [ ] some format to save/load texture atlas material defs.
* [ ] sprite splat
* [ ] Easy way to mix plain graphics and the scan-buffer/depth graphics
* [ ] Port the graphics format and compression bits in ImageTools from C#
* [ ] Port StreamDb over as a file format
### Using the base for projects
Your application-specific code should go in `src/app`.
Start with the event handlers and frame routines in src/app/app_start.c