This website requires JavaScript.
057c780efb
Load sprite frames from a directory of image files
cocktailfrank
2025-06-04 16:24:18 -04:00
c56cc47695
Add configurable anti-aliasing parameters to GL
cocktailfrank
2025-06-03 18:24:14 -04:00
6edeff86dd
Add get function to Progress class
cocktailfrank
2025-05-29 16:40:20 -04:00
b16505e986
Use custom cURL binary for Linux build
cocktailfrank
2025-05-16 18:45:46 -04:00
a97df04115
Fix random number generator to return expected values across platforms
0.2.3
cocktailfrank
2025-05-13 18:34:20 -04:00
f6eddd15e6
Add Sprite constructor and animation accessor functions
cocktailfrank
2025-05-09 23:53:15 -04:00
7c3b76b61c
Add function for getting a random integer in a range
cocktailfrank
2025-05-01 20:41:19 -04:00
cee4119ba1
Add loop and ping pong animation timing functions
cocktailfrank
2025-05-01 12:47:07 -04:00
138c37abac
Move Display::window_box docstring into header file
cocktailfrank
2025-04-29 20:57:57 -04:00
8f324f92bf
Upgrade nlohmann::json from 3.11.3 to 3.12.0
cocktailfrank
2025-04-29 13:51:55 -04:00
d940577933
Switch HTTP authorization format to use headers instead of URL
0.2.2
cocktailfrank
2025-04-26 21:06:13 -04:00
a8b7c9aa9f
Add function to use shader program
cocktailfrank
2025-04-25 14:41:48 -04:00
b4bca9806a
Prepend version string to shaders
cocktailfrank
2025-04-24 16:44:43 -04:00
1b0d9302c4
Update comments in test program Makefile
cocktailfrank
2025-04-22 18:44:39 -04:00
c94c6364e2
Add link to 0.2.1 release
0.2.1
cocktailfrank
2025-04-16 20:11:34 -04:00
ac72b8cb84
Add function for sending play session data over HTTP
cocktailfrank
2025-04-16 20:06:07 -04:00
0caa7731cb
Add per-session stats and achievements tracking to Progress class
cocktailfrank
2025-04-14 23:16:55 -04:00
afe44f4015
Add random ID generator, move math functions into sb::math
cocktailfrank
2025-04-14 18:00:46 -04:00
35d7f97206
Fix end of log stream indicator so it doesn't match an empty string
cocktailfrank
2025-04-10 19:46:17 -04:00
7b512b5287
Add link to 0.2.0 release
0.2.0
cocktailfrank
2025-04-08 20:04:28 -04:00
01d9fc61fc
Add ability to make HTTP requests
cocktailfrank
2025-04-08 19:54:38 -04:00
1d24c85310
Add test for when Steam is uninitialized
cocktailfrank
2025-04-01 15:14:41 -04:00
a7e802c50b
Add Windows notes for including libcurl in a project
cocktailfrank
2025-03-31 17:21:51 -04:00
5f04a83cd1
Add auto-versioning to test program Makefile
cocktailfrank
2025-03-29 16:39:57 -04:00
e796980de6
Add check for pulling global stats to Steam test case
cocktailfrank
2025-03-28 19:58:53 -04:00
6bc23a3331
Add functions and external script for getting Steam stats
cocktailfrank
2025-03-28 18:54:43 -04:00
39b4422fc5
Fix broken link to 0.1.5 release
cocktailfrank
2025-03-17 14:07:55 -04:00
774ac56d74
Add 0.1.5 release notes
0.1.5
cocktailfrank
2025-03-11 19:30:11 -04:00
cc4532094e
Fix --preload-file bug in WASM build instructions
cocktailfrank
2025-03-11 17:47:32 -04:00
b3a5ff1b9d
Log at debug level instead of warning when failing to set Steam stat
cocktailfrank
2025-03-11 16:59:28 -04:00
1240167aef
Quit SDL in Game class destructor instead of Game::quit
cocktailfrank
2025-03-10 18:11:55 -04:00
94070073d8
Add CLI flag for forcing debug output during config load
cocktailfrank
2025-03-06 18:07:48 -05:00
e8695900f5
Remove old done flag setting
cocktailfrank
2025-02-27 02:59:33 -05:00
0594d42fe5
Add quit and daemon quit commands
cocktailfrank
2025-02-26 16:04:12 -05:00
c82b163349
Add BPmono.ttf to Windows, MacOS, and web builds
0.1.4
cocktailfrank
2025-02-18 19:57:11 -05:00
702a81748f
Fix links to config and BPmono.ttf in Ubuntu-18 build
cocktailfrank
2025-02-18 18:43:58 -05:00
ac4deca938
Add release highlights for 0.1.4
cocktailfrank
2025-02-18 16:45:10 -05:00
c1f8edace7
Add functions for reading sprite and text attributes
cocktailfrank
2025-02-18 16:23:59 -05:00
3282cab5cc
Add function for reading a sprite's scale
cocktailfrank
2025-02-13 18:55:34 -05:00
300b117307
Add function to set a sprite's plane object
cocktailfrank
2025-02-13 15:27:46 -05:00
ac8d023bf4
Add visibility flag to sprite objects
cocktailfrank
2025-02-12 23:53:15 -05:00
0b139ee901
Query text pixel dimensions and require default font
cocktailfrank
2025-02-10 16:31:29 -05:00
f338809427
Edit test to use new config CLI priority
cocktailfrank
2025-02-04 14:38:05 -05:00
efa08e7c93
Use SDL_GetKeyFromName to read key names in config
cocktailfrank
2025-02-04 13:28:42 -05:00
51a8d313aa
Make --config a higher priority than --config-file
cocktailfrank
2025-02-03 20:07:40 -05:00
efe07f50ae
Add a search path for config files
cocktailfrank
2025-01-30 23:01:13 -05:00
7caa40c42a
Add release notes for 0.1.3
0.1.3
cocktailfrank
2024-12-22 15:17:54 -05:00
a9437c0551
Keep a list of unlocked achievements in sb::progress
cocktailfrank
2024-12-22 13:09:06 -05:00
086e6b203b
Add sb::animation namespace with interface for LERP class
cocktailfrank
2024-12-19 16:56:30 -05:00
e2e389a913
Move Animation into sb namespace and upgrade SDL-ttf on MinGW
cocktailfrank
2024-12-19 15:54:58 -05:00
7913adba15
Fix url config check to handle empty string
0.1.2
cocktailfrank
2024-12-13 18:21:22 -05:00
49042523eb
Add release highlights for 0.1.2 to README
cocktailfrank
2024-12-13 17:52:14 -05:00
b2c02a707c
Allow config JSON to be passed in the URL in web builds
cocktailfrank
2024-12-13 17:38:11 -05:00
6965d7255f
Improve sb::Text blending
cocktailfrank
2024-12-12 13:33:07 -05:00
ea13e3707f
Rename sb::is_in_container to sb::contains
cocktailfrank
2024-12-10 18:57:21 -05:00
e509a21da4
Add pixel offset to sb::Text
cocktailfrank
2024-12-07 23:06:19 -05:00
b3d78289f0
Use absolute links for tags in README
cocktailfrank
2024-12-05 14:23:20 -05:00
dab0f16707
Add 0.1.1 release highlights to README
0.1.1
cocktailfrank
2024-12-04 18:36:20 -05:00
39969f64f0
Fix broken links in Releases section
cocktailfrank
2024-12-04 18:08:10 -05:00
de6a2652bf
Add function for panning sound by channel
cocktailfrank
2024-11-30 20:21:25 -05:00
b0b42167ad
Change name of Music::load to Music::path
cocktailfrank
2024-11-28 00:12:37 -05:00
753e0b1906
Minor linting and docs grammar edits
cocktailfrank
2024-11-25 19:02:56 -05:00
5a67b6e496
Add 0.1.0 release highlights to README
0.1.0
cocktailfrank
2024-11-17 14:09:24 -05:00
dcebed9ff9
Update test program with special conditions for Windows and Mac
cocktailfrank
2024-11-17 11:38:51 -05:00
d40200f67f
Fix suppress input timer precision in test program
cocktailfrank
2024-11-16 20:49:14 -05:00
66db6fb0bf
Move Mac working directory fix for tests into setup
cocktailfrank
2024-11-16 19:50:00 -05:00
75208543a4
Update test program with special conditions for Emscripten builds
cocktailfrank
2024-11-16 18:53:27 -05:00
573a91daa2
Fix compilation of sb::progress on Emscripten builds
cocktailfrank
2024-11-15 17:22:40 -05:00
040bf539c6
Sync new achievements to Steam immediately
cocktailfrank
2024-11-15 15:15:28 -05:00
3abcc92963
Fix description of Stat types in documentation
cocktailfrank
2024-11-14 14:35:39 -05:00
9d368acff6
Add read-only access to Achievement object's JSON
cocktailfrank
2024-11-12 17:27:05 -05:00
5c4f84cdc7
Log a message when an achievement is unlocked
cocktailfrank
2024-11-09 18:46:28 -05:00
fac4568066
Hack debug info about type_error into json.hpp
cocktailfrank
2024-11-06 20:26:19 -05:00
49bc96c241
Get count of achievements unlocked in progress
cocktailfrank
2024-11-03 01:28:31 -04:00
bef0960109
Add support for storing and loading user preferences
cocktailfrank
2024-11-01 19:09:55 -04:00
5ee08dfeb9
Time functions for getting date as a string and minutes since epoch
cocktailfrank
2024-10-30 19:02:09 -04:00
5f18894d5d
Support for defaulting to a value when reading a stat
cocktailfrank
2024-10-24 14:15:03 -04:00
1536f7c2fb
Minor line length linting
cocktailfrank
2024-10-23 23:40:51 -04:00
55abc9af7f
Add common test setup header, fix various stat assignment bugs
cocktailfrank
2024-10-18 18:45:35 -04:00
a723421d19
Treat missing stat value as zero when calculating sum
cocktailfrank
2024-10-16 19:32:19 -04:00
a5f0cc0b2c
Set stat values for stats which are sums automatically on Steam
cocktailfrank
2024-10-16 15:55:10 -04:00
e624fc37b2
Track unsaved status of progress object
cocktailfrank
2024-10-15 16:28:56 -04:00
01d6d03df4
Unlock corresponding achievements when setting stat values
cocktailfrank
2024-10-10 17:08:05 -04:00
a0cc137033
Require Achievement object to unlock achievement
cocktailfrank
2024-10-09 00:16:47 -04:00
79ed51607e
Add default definitions option to Progress::load
cocktailfrank
2024-10-07 20:25:02 -04:00
29a694200d
Add sb::progress for save files, stats, and achievements
cocktailfrank
2024-10-05 20:43:48 -04:00
1405d548f5
Improve Game::run and add Steam API callbacks
cocktailfrank
2024-09-17 02:01:11 -04:00
9a758f8c7f
Handle argc=0 and argv=NULL in sb::init
cocktailfrank
2024-09-11 19:00:43 -04:00
fe3b5f218d
Echo message for every successful build
cocktailfrank
2024-09-11 14:40:53 -04:00
b78e29995a
Initial Steam API support for MacOS builds
cocktailfrank
2024-09-10 23:26:44 -04:00
5a39c3fa82
Steam API initialization for Windows targets
cocktailfrank
2024-09-10 17:50:03 -04:00
8fb8baaf0d
wip
cocktailfrank
2024-09-09 16:36:20 -04:00
149b0106c3
wip
cocktailfrank
2024-09-09 15:04:20 -04:00
4ebea58ba0
wip - fix builds
cocktailfrank
2024-09-07 18:32:55 -04:00
7530458309
wip
cocktailfrank
2024-09-06 20:51:17 -04:00
4955c4853b
Send messages to the log using the stream operator
cocktailfrank
2024-09-05 20:35:48 -04:00
15ef6b0e17
- Feature: CLI for adding configuration from the terminal - Added more builds of the test program: Ubuntu-18, MacOS, Windows - Added multiple reports to the test program output: console, JSON file, and text file - Added tests to verify the CLI feature is working properly - sb::init and sb::cli::init functions initialize the framework and parse command line - Config parsed from CLI is merged the Game constructor - Change directory on MacOS in sb::init instead of in Game constructor - Use nlohmann::json exception instead of std::exception in JSON file reading function
cocktailfrank
2024-08-20 20:21:06 -04:00
088e7b6120
Use shared_ptr to store SDL window and update existing references
cocktailfrank
2024-07-26 22:02:19 -04:00
2f6a2500f6
- Added unit test framework Catch2 to the repository - Added a simple test program that loads Catch2 and opens and closes a game - Added build targets for Linux and Emscripten for the test program - Game class is no longer pure abstract, so it can be instantiated directly - Changed glcontext to a shared_ptr so it will be deleted automatically
cocktailfrank
2024-07-25 01:45:32 -04:00
3316d8ceb5
- throw exceptions on failure instead of just printing a warning when: loading a json config, loading a shader, reading a file's contents into a string - allow config reloads to fail with just a warning (same behavior as before, but modified to use exceptions) - allow standard config files to fail to load with a warning (same behavior as before, but modified to use exceptions)
cocktailfrank
2024-07-19 01:03:59 -04:00