Commit Graph

60 Commits

Author SHA1 Message Date
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 6371f9c279 remove Sprite class 2023-06-08 20:04:40 -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
ohsqueezy a8126605e8 added opencv camera linux and android demo; added carousel, connection, and model classes; added format parameter to texture.generate; added android opencv lib build instructions 2023-05-02 18:43:32 -04:00
ohsqueezy f793073348 full example for building opencv libraries; upgrade box demo SDL version 2023-04-25 23:17:13 -04:00
ohsqueezy ecce532abf fix description of emscripten output for box demo makefile 2023-04-10 18:06:07 -04:00
frank f47c080d72 box demo android support, android file to string for reading files inside APK 2022-11-08 17:17:20 -05:00
frank ec993b7337 support background images on android icon 2022-10-18 16:10:20 -04:00
frank ad9aab4a46 android helper scripts and icon assets and fill screen android demo 2022-10-17 21:57:56 -04:00
frank e11fecbc12 added fill screen demo for testing basic initialization and drawing 2022-10-07 18:56:20 -04:00
frank b1fb77b1c8 set gl context profile attribute to ES 2022-09-07 20:57:00 -04:00
frank f63cb2bfb2 example program for using a c++ program to stream a webcam in browser 2022-09-06 20:52:34 -04:00
frank ee119ecc7e add engine name to log file name 2022-05-06 23:39:32 -04:00
frank 6adac9806f abstract base class for GL objects 2021-09-24 02:43:38 -04:00
frank 1f8de2f5f1 minor change header url 2021-09-10 15:02:23 -04:00
frank ada139c26f change sfw namespace to sb 2021-09-02 18:23:48 -04:00
frank c8bc86cab7 squircle and 2d collision demo; config auto refresh 2021-08-31 23:55:38 -04:00
frank ba44b8e8d5 box documentation, remove get/set prefixes from Box and Segment 2021-08-14 19:53:39 -04:00
frank 14759a1c79 box aspect function 2021-07-21 02:08:45 -04:00
frank fff9e13562 custom log function; change Game and Node from struct to class 2021-06-24 17:40:30 -04:00
frank 4ece64442f custom logging function 2021-05-08 20:01:53 -04:00
Frank DeMarco ad7d42155d precise collision detection used Pixel object; fixed out of scope bug in collision detection 2020-09-12 21:57:27 -04:00
Frank DeMarco 013f8279d4 audio, sfx and bgm classes; filesystem path added as type to json lib 2020-09-11 18:01:27 -04:00
Frank DeMarco be360b8a47 sprite update accepts a list of subsections of the sprite to draw 2020-09-08 17:34:47 -04:00
Frank DeMarco c6341d2bfc added get point on circle function 2020-09-06 16:05:19 -04:00
Frank DeMarco df8bf267f0 added const qualifier to box stamp method 2020-09-06 03:02:02 -04:00
Frank DeMarco 877d63cf4e fix sprite wipe and precision collision for scaled sprites; box move and return copy function 2020-09-02 23:32:01 -04:00
Frank DeMarco 3a571adaa3 segment comparison operators; get sdl surface from pixels 2020-09-01 17:00:17 -04:00
Frank DeMarco 54a8c219ed add wipe animation to sprite 2020-08-29 23:49:45 -04:00
Frank DeMarco 536a5ec5f5 separate move weighted from move in sprite class 2020-08-27 20:41:21 -04:00
Frank DeMarco edc836908d box inherits sdl_rect; color comparison operators; pixels operator() returns pointer of void, 8bit, 16bit, or 32bit; remap texture uses pixel class 2020-08-26 16:43:43 -04:00
Frank DeMarco 14afcef0ce fix root lookup; add vec2 to json types; render test image when window is created 2020-08-21 02:21:34 -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 f5d03b9be6 - extended version of sdl gfx primitives
- drag left and right edge box
- complete segment member functions
- extension functions: get segments, get relative step, populate
pixel array
2020-08-06 18:54:50 -04:00
Frank DeMarco cea0bb5a21 sprite edge setters 2020-08-01 19:30:16 -04:00
Frank DeMarco 555c1e51a3 - optionally preserve center when modifying box size
- sprite scale modifier and scale quality setting
- get filled texture method
- get map keys utility method
2020-07-31 12:10:21 -04:00
Frank DeMarco 3d439e56e0 suppress input temporarily 2020-07-22 00:53:40 -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 bbc53d357c wishlist 2020-06-05 00:02:08 -04:00
Frank DeMarco eb519bdf93 - restored to space texture
- invert option added to gl texture load
2019-10-03 14:21:23 -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 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 c71635e5d6 keyup sends cancel to command subscribers 2019-05-31 21:53:39 -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 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