Commit Graph

34 Commits

Author SHA1 Message Date
ohsqueezy 0e4f06d779 - restore video recording
- remove sdl context
- configurable audio device settings
- deprecate node
- move audio recording input handling to game object
2024-03-04 19:44:06 -05:00
ohsqueezy e168844fc5 - added Windows build using MinGW for box demo along with Windows instructions to main README
- replaced Model class in box demo with library's Model class
- switched GL context profile mask to compatibility in Windows builds
- only open audio device if audio is initialized
- increase default audio frequency and buffer size
- convert path objects to strings for compatibility with MinGW
- update MinGW builds to use regular filesystem library instead of experimental
2023-10-18 00:07:32 -04:00
ohsqueezy 4c3235c2ff frame timing updated to run at maximum allowable framerate, delay between frame calls configurable, vsync flag configurable, max framerate configurable up to unlimited 2023-09-09 23:34:36 -04:00
ohsqueezy c0b55752e1 track timestamp with Timer class 2023-06-24 13:05:40 -04:00
ohsqueezy e3941707e3 start recorder animation in game constructor after config fully loads 2023-06-08 12:56:21 -04:00
ohsqueezy 355ab4d8c4 - pass timestamp of frame start time to all update functions
- use timestamp instead of SDL_GetTicks to keep time in Timer class
- use seconds instead of milliseconds in Timer class
2023-06-07 20:22:20 -04:00
ohsqueezy 1ca956b5ac - add function for wrapping an arbitrary point or curve into an arbitrary clip space
- remove custom mod functions in favor of glm::mod
- deactivate recorder object during game construction after full config is loaded
2023-06-05 18:22:43 -04:00
ohsqueezy 8c086ba161 add instructions for curl; add array operator to configuration, give configuration object access to nodes; fix src paths in android skeleton script; add copy file function 2023-05-10 02:51:11 -04:00
frank 3444afc2c1 changed get_configuration to configuration; added option to return the larger ratio to box aspect; changed default window size to 16:9; changed get_window to window; added SDL_RENDERER_PRESENTVSYNC; removed clear renderer to black on emscripten builds to prevent mouse bug; 2022-06-16 16:45:41 -04:00
frank 86ca3eabec convert ndc box to pixel coordinates box in display 2021-11-19 14:13:37 -05:00
frank f70ea1c215 started log class 2021-10-02 19:21:07 -04:00
frank ada139c26f change sfw namespace to sb 2021-09-02 18:23:48 -04:00
frank ba44b8e8d5 box documentation, remove get/set prefixes from Box and Segment 2021-08-14 19:53:39 -04:00
frank 2831f2fc60 restored gl screen capture; get points on circle utility function 2021-08-02 20:18:56 -04:00
frank 569e203409 move gl attributes to right before opening gl context; file to string func 2021-07-02 22:42:48 -04:00
frank 4ece64442f custom logging function 2021-05-08 20:01:53 -04:00
Frank DeMarco 0e6e506c68 added children to sprites; sprite can set canvas it will draw on; fixed memory leak in precise collision detection on scaled sprites 2020-09-04 23:10:39 -04:00
Frank DeMarco bab8c778ca color class, sprite hue shift, generate halo and portal effect
animation frames, ignore repeat keys, hue shifted texture
2020-08-19 03:29:46 -04:00
Frank DeMarco 0ccc00f201 - framerate indicator sprite added to Game class
- functions to build vectors from an integer range (from https://stackoverflow.com/a/30312659/1256386)
- fullscreen toggle added to Display class
2020-07-19 15:43:47 -04:00
Frank DeMarco 1df303fe17 added frameset class for use with sprite class 2020-07-17 22:58:23 -04:00
Frank DeMarco 74ca4da69a - replaced location with box, added get/set functions for size and
sides
- preprocessor statements for handling emscripten main loop
- pass floats to render functions
- added box and get/set box functions to sprite class
- functions for filling a texture with solid color or tile texture
2020-06-27 17:47:14 -04:00
Frank DeMarco b2f5f56063 - store video stashes in linked lists
- cube face textures demo
- only dispatch events to active nodes
- only update animation if containing object is active
2019-07-21 03:13:19 -04:00
Frank DeMarco d7f1877cbe reserve 100 video stashes temporary fix 2019-06-16 19:12:21 -04:00
Frank DeMarco 30e6c970d3 get screen pixels uses gl or sdl 2019-06-16 03:05:02 -04:00
Frank DeMarco 7e51a04b71 stash and write audio to recording 2019-06-04 03:20:13 -04:00
Frank DeMarco 437f2d321c bug fix: initialize last frame timestamp 2019-05-31 23:34:04 -04:00
Frank DeMarco daa7945c89 write most recent frames to video 2019-05-31 02:54:31 -04:00
Frank DeMarco bef7c1a740 stash pixel buffers and write video frames in chunks 2019-05-25 07:28:05 -04:00
Frank DeMarco 92178b8f42 free recorder pixel data 2019-05-24 22:43:30 -04:00
Frank DeMarco f1ba8eed5e write gif and mp4 2019-05-22 04:27:15 -04:00
Frank DeMarco 9210b3fcf4 write video frames in separate thread 2019-05-19 05:55:46 -04:00
Frank DeMarco e45806f8bc create resource management objects on stack 2019-05-18 17:39:47 -04:00
Frank DeMarco 321d9df1be recorder writes video frames to folder 2019-05-16 03:51:36 -04:00
Frank DeMarco 1dbb2a2e1d save indexed screenshot to directory 2019-05-07 03:33:54 -04:00