Commit Graph

  • 7140e8a3eb - add untransform, transform, and specialized transforms to Model class - reset viewport on window resize events - add boolean assignment operator to Switch class - throw error if GL object is generated before GL context is created - add Selection container - add string conversion to Box frank 2023-05-24 22:49:05 -04:00
  • 3ba3be4496 - add Switch and time_it classes - finish adding #pragma once to headers - move configuration initialization into Game class - print debug to stdout by default - explicitly pass file to refresh to config auto refresh - add delegate to sb namespace and deprecate get_delegate() in favor of delegate() - set custom log function before loading config - raise exception when no model textures are available frank 2023-05-23 15:28:53 -04:00
  • 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 frank 2023-05-10 02:51:11 -04:00
  • 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 frank 2023-05-02 18:43:32 -04:00
  • f793073348 full example for building opencv libraries; upgrade box demo SDL version frank 2023-04-25 23:17:13 -04:00
  • ecce532abf fix description of emscripten output for box demo makefile frank 2023-04-10 18:06:07 -04:00
  • 297fdef6e8 main readme additions about building on raspberry pi frank 2023-04-10 16:27:07 -04:00
  • 6777f26d87 remove angle brackets from heading frank 2023-02-11 19:32:07 -05:00
  • f47c080d72 box demo android support, android file to string for reading files inside APK frank 2022-11-08 17:16:05 -05:00
  • ec993b7337 support background images on android icon frank 2022-10-18 16:10:20 -04:00
  • ad9aab4a46 android helper scripts and icon assets and fill screen android demo frank 2022-10-17 21:57:56 -04:00
  • e11fecbc12 added fill screen demo for testing basic initialization and drawing frank 2022-10-07 18:56:20 -04:00
  • 0d00314f5a added ability to set some GL properties with config, added some more GL properties to log frank 2022-10-07 18:29:25 -04:00
  • d0bf52a03d instructions for building an android example frank 2022-10-04 18:33:16 -04:00
  • 1ff7f802cb updated instructions for building with OpenCV + barcode extension through Emscripten frank 2022-09-26 20:57:51 -04:00
  • 346a059ee2 log statements from texture load changed from info to debug level frank 2022-09-22 17:21:53 -04:00
  • 24f6d3ed3d argument checking for texture load function input frank 2022-09-19 22:14:31 -04:00
  • 60acb11d41 parameter documentation for texture loading frank 2022-09-13 01:01:20 -04:00
  • b1fb77b1c8 set gl context profile attribute to ES frank 2022-09-07 20:57:00 -04:00
  • f63cb2bfb2 example program for using a c++ program to stream a webcam in browser frank 2022-09-06 20:52:34 -04:00
  • 52ef535eac remove unsupported gl functions from emscripten builds, restore removing gl context settings from emscripten builds frank 2022-09-06 20:44:23 -04:00
  • 0bf2e12935 added more documentation for GLObject::generate frank 2022-08-10 13:30:44 -04:00
  • dc2141c2c4 Merge branch 'pudding' into cuckoo frank 2022-08-09 18:28:29 -04:00
  • 21e1e7e707 set GL attributes before creating a window frank 2022-08-06 18:43:12 -04:00
  • 9fd3ee282e change default keys for screenshot and video frank 2022-07-26 17:28:56 -04:00
  • a3fba9c38a adjust pre tag frank 2022-07-23 19:34:11 -04:00
  • 6956688430 add title to README frank 2022-07-23 19:30:39 -04:00
  • ee06bb6732 use markdown for README frank 2022-07-23 19:27:49 -04:00
  • d1cb24a785 angle difference and ratio methods frank 2022-07-23 18:55:27 -04:00
  • 7e31b5a1c0 fix trigonometry functions so angles correspond with GL coordinates, add function to calculate angle between two vectors frank 2022-06-19 23:28:01 -04:00
  • 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; frank 2022-06-16 16:45:41 -04:00
  • ee119ecc7e add engine name to log file name frank 2022-05-06 23:39:32 -04:00
  • 86ca3eabec convert ndc box to pixel coordinates box in display frank 2021-11-19 14:13:37 -05:00
  • 660865b2f2 read individual vertices and components of vertices in attributes frank 2021-11-16 23:20:56 -05:00
  • 54cf01246b Display object can return ndc coordinates from a pixel coordinate box frank 2021-11-13 14:49:56 -05:00
  • 03d179eed4 attributes can be accessed as a typed vector; box set gl mode function; mouse events are suppressed in addition to key events when input is suppressed frank 2021-11-09 23:30:27 -05:00
  • 863db5467b mod only works on int frank 2021-11-04 01:16:09 -04:00
  • dd736f341f started utilities file frank 2021-11-01 17:33:27 -04:00
  • 2c0517b9e2 change uint to int for attributes bind index frank 2021-10-29 22:09:01 -04:00
  • 950a95502b attributes print format frank 2021-10-29 01:07:48 -04:00
  • 70bc054c7f updated documentation of attribute index frank 2021-10-26 14:05:43 -04:00
  • 9e5ecc3ace bind and enable/disable attributes frank 2021-10-26 12:48:02 -04:00
  • 8972b0c868 move stream operator overloads into std namespace frank 2021-10-22 15:06:05 -04:00
  • 186d14cb48 print glm matrix types frank 2021-10-19 16:22:56 -04:00
  • 3212dc15cf vbo, vao, and buffer classes frank 2021-10-18 17:33:33 -04:00
  • 3e5e0fcbb8 pass attributes as int frank 2021-10-17 03:26:15 -04:00
  • 3baaa7624e add dimensions and type functions to attributes class frank 2021-10-14 02:55:17 -04:00
  • 64f6b765a7 add index to attributes class frank 2021-10-14 00:31:35 -04:00
  • 1690bb5f19 attributes object for holding generic gl vertices frank 2021-10-13 00:34:11 -04:00
  • a6bcc2a4d9 stream operator for all variants of glm vec frank 2021-10-08 23:43:09 -04:00
  • f70ea1c215 started log class frank 2021-10-02 19:21:07 -04:00
  • f03d58dae1 pass specialized generate function to generic base function for globject frank 2021-09-28 02:09:49 -04:00
  • 6adac9806f abstract base class for GL objects frank 2021-09-24 02:43:38 -04:00
  • 1a4b8507e3 GL texture class; logging functions changed to static frank 2021-09-20 02:32:15 -04:00
  • 1f8de2f5f1 minor change header url frank 2021-09-10 15:02:23 -04:00
  • 87b1fa735c minor change NULL to nullptr frank 2021-09-09 22:55:41 -04:00
  • e2f5126d0a shorten is_playing to playing frank 2021-09-08 23:56:06 -04:00
  • 3b6b946560 add default constructor to Animation, set private members in Timer frank 2021-09-08 20:07:11 -04:00
  • 18f83968f3 added gl coordinates option to box frank 2021-09-06 22:11:56 -04:00
  • ada139c26f change sfw namespace to sb frank 2021-09-02 18:23:48 -04:00
  • c8bc86cab7 squircle and 2d collision demo; config auto refresh frank 2021-08-31 23:55:38 -04:00
  • ba44b8e8d5 box documentation, remove get/set prefixes from Box and Segment frank 2021-08-14 19:53:39 -04:00
  • fe3e0bf27f optionally pass a vector to fill with circle points frank 2021-08-07 01:05:16 -04:00
  • 2831f2fc60 restored gl screen capture; get points on circle utility function frank 2021-08-02 20:18:56 -04:00
  • 14759a1c79 box aspect function frank 2021-07-21 02:08:45 -04:00
  • 569e203409 move gl attributes to right before opening gl context; file to string func frank 2021-07-02 22:42:48 -04:00
  • 17adaed169 node uses shared ptr to store sdl texture frank 2021-06-29 17:15:47 -04:00
  • 95a1e6b5b1 added licensing info frank 2021-06-26 20:25:03 -04:00
  • fff9e13562 custom log function; change Game and Node from struct to class frank 2021-06-24 17:40:30 -04:00
  • 4ece64442f custom logging function frank 2021-05-08 20:01:53 -04:00
  • a8948bca73 fix user config merge; clear screen to black; reset to single box on sprite unload frank 2021-05-07 21:19:23 -04:00
  • ca44bc4b3a new parameters for Mix_OpenAudio Frank DeMarco 2021-04-11 00:30:15 -04:00
  • ad7d42155d precise collision detection used Pixel object; fixed out of scope bug in collision detection Frank DeMarco 2020-09-12 21:57:27 -04:00
  • 72a36a1d57 box crop and fits; Pixel class support for reading screen pixels Frank DeMarco 2020-09-12 20:29:26 -04:00
  • 013f8279d4 audio, sfx and bgm classes; filesystem path added as type to json lib Frank DeMarco 2020-09-11 18:01:27 -04:00
  • be360b8a47 sprite update accepts a list of subsections of the sprite to draw Frank DeMarco 2020-09-08 17:34:47 -04:00
  • a0897d80b4 set frameset size when frame indicies are added Frank DeMarco 2020-09-07 20:32:45 -04:00
  • 7d00cda9bb added segment constructors for 2 boxes and 2 sprites Frank DeMarco 2020-09-07 00:14:43 -04:00
  • c6341d2bfc added get point on circle function Frank DeMarco 2020-09-06 16:05:19 -04:00
  • df8bf267f0 added const qualifier to box stamp method Frank DeMarco 2020-09-06 03:02:02 -04:00
  • 35a5acbd53 optionally exclude delay time from checking if animation is playing Frank DeMarco 2020-09-05 19:40:59 -04:00
  • 0e6e506c68 added children to sprites; sprite can set canvas it will draw on; fixed memory leak in precise collision detection on scaled sprites Frank DeMarco 2020-09-04 23:10:39 -04:00
  • 877d63cf4e fix sprite wipe and precision collision for scaled sprites; box move and return copy function Frank DeMarco 2020-09-02 23:32:01 -04:00
  • 3a571adaa3 segment comparison operators; get sdl surface from pixels Frank DeMarco 2020-09-01 17:00:17 -04:00
  • 9058f93ad9 reverse wipe; more precision converting floats in box to sdl_rect Frank DeMarco 2020-08-31 16:36:56 -04:00
  • 54a8c219ed add wipe animation to sprite Frank DeMarco 2020-08-29 23:49:45 -04:00
  • 66f6d6ef81 specify render driver in config; print all renderer options Frank DeMarco 2020-08-28 22:17:01 -04:00
  • 536a5ec5f5 separate move weighted from move in sprite class Frank DeMarco 2020-08-27 20:41:21 -04:00
  • edc836908d box inherits sdl_rect; color comparison operators; pixels operator() returns pointer of void, 8bit, 16bit, or 32bit; remap texture uses pixel class Frank DeMarco 2020-08-26 16:43:43 -04:00
  • 8346f43f21 - Pixel class generalizes pixel access, reads, writes, and applies pixel value modifications to textures of any SDL_TEXTUREACCESS_* and any pixel format - Color inherits SDL_Color directly instead of emulating it - added cast operator for converting Box to SDL_Rect Frank DeMarco 2020-08-22 20:06:06 -04:00
  • 14afcef0ce fix root lookup; add vec2 to json types; render test image when window is created Frank DeMarco 2020-08-21 02:21:34 -04:00
  • bab8c778ca color class, sprite hue shift, generate halo and portal effect animation frames, ignore repeat keys, hue shifted texture Frank DeMarco 2020-08-19 03:29:46 -04:00
  • ae644b7138 collide box/box, box/line, box/point; sprite/sprite and sprite/box precise alpha collision Frank DeMarco 2020-08-09 16:32:32 -04:00
  • 2b9dd44ff7 - fix bug in box right drag - print int vector - duplicate texture resized Frank DeMarco 2020-08-07 01:38:19 -04:00
  • 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 Frank DeMarco 2020-08-06 18:54:50 -04:00
  • 1861b80aa4 line intersection formula from GraphicsGems; started Segment class Frank DeMarco 2020-08-02 00:52:50 -04:00
  • cea0bb5a21 sprite edge setters Frank DeMarco 2020-08-01 19:30:16 -04:00
  • 555c1e51a3 - optionally preserve center when modifying box size - sprite scale modifier and scale quality setting - get filled texture method - get map keys utility method Frank DeMarco 2020-07-31 12:10:21 -04:00
  • 16e1cc19d0 method to cancel event propagation Frank DeMarco 2020-07-27 14:19:11 -04:00
  • bc2a4a39ad - sprite additions: multiple locations, auto wrapping, scale mod - remap colors on a texture - two pixel scaling algorithms: custom scale2x based on http://www.scale2x.it/algorithm.html and superxbr Frank DeMarco 2020-07-25 17:55:27 -04:00