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