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
923c805fe5
reset animation object before calling animation function in case the animation function reenables the animation
2023-12-28 16:11:35 -08:00
ohsqueezy
a6a110141d
add toggle function to pause/unpause sb::Animation
2023-12-05 13:43:16 -05:00
ohsqueezy
110b876648
deprecate passing callback to Animation; add an update function to Sprite for running frame by frame animation; rename log's ERROR to ERR to avoid conflict with windows.h
2023-11-14 00:19:32 -05:00
ohsqueezy
55d6e08480
convert between glm::vec and sb::Color, print hierarchy on config access error, composite text onto a separate background surface, set frame time to zero when timer paused
2023-07-08 16:19:31 -04:00
ohsqueezy
c0b55752e1
track timestamp with Timer class
2023-06-24 13:05:40 -04:00
ohsqueezy
635562263b
allow arbitrary functions to be attached to animation objects instead of only node object member functions
2023-06-23 01:45:28 -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
9f33ac872f
- move Timer into sb namespace
...
- debug statement for FPS
- string conversion in Switch class
2023-05-30 16:20:28 -04:00
frank
e2f5126d0a
shorten is_playing to playing
2021-09-08 23:56:06 -04:00
frank
3b6b946560
add default constructor to Animation, set private members in Timer
2021-09-08 20:07:11 -04:00
frank
c8bc86cab7
squircle and 2d collision demo; config auto refresh
2021-08-31 23:55:38 -04:00
Frank DeMarco
35a5acbd53
optionally exclude delay time from checking if animation is playing
2020-09-05 19:40:59 -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
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
f1ba8eed5e
write gif and mp4
2019-05-22 04:27:15 -04:00
Frank DeMarco
321d9df1be
recorder writes video frames to folder
2019-05-16 03:51:36 -04:00