Commit Graph

12 Commits

Author SHA1 Message Date
ohsqueezy bc9cef8674 skip entry if it is an empty array in key input map; add const function for checking if Pad is enabled 2024-05-09 03:05:18 -04:00
ohsqueezy 102d1749a5 added function to disable audio chunks, colors default to fully transparent, add public getters for Pad::box and Pad::visible 2024-05-01 20:25:35 -04:00
ohsqueezy 333a7b73ac pad object can be disabled and/or hidden 2023-11-08 20:00:48 -05:00
ohsqueezy a91bc4b773 - JSON from file static function
- configuration option to start in fullscreen
- render text wrapped when exceeding 3000 pixels wide (arbitrary temporary value)
- set timer elapsed to any amount of seconds
2023-11-04 23:52:43 -04: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 d575307b15 - redesign audio library to use Chunk and Music classes which align more closely with SDL Mix_Chunk and Mix_Music
- remove default texture index from Model class
- add support for two textures to Pad class
- restore SDL audio mixer initialization parameters to SDL defaults
- add optional log level to SDL error logging function
2023-10-09 23:50:18 -04:00
ohsqueezy a4435242f8 minor edit to documentation wording 2023-09-22 23:22:00 -04:00
ohsqueezy d882e111b3 - fix sb::Pad to move the collision box when scaled or translated
- add warning about config JSON copy
- add setter for sb::Pad::_plane
- move point on circle functions from extension to math
2023-09-16 21:04:43 -04:00
ohsqueezy edafaf08ea add texture index to Sprite class, add more error checks to texture surface creation 2023-08-08 12:41:10 -04:00
ohsqueezy f9d171626f added more conversion rules for JSON array to GLM vertex, truncate attribute string representation, post reconfig event on configuration reload, added font load function, added exception handling to functions that bind textures 2023-07-23 17:11:41 -04:00
ohsqueezy d1fe6b927c move sprite and pad into sb namespace 2023-07-15 12:19:37 -04:00
ohsqueezy 9a727513a1 added sprite and pad classes 2023-07-15 11:48:08 -04:00