Commit Graph

38 Commits

Author SHA1 Message Date
frank f47c080d72 box demo android support, android file to string for reading files inside APK 2022-11-08 17:17:20 -05:00
frank ad9aab4a46 android helper scripts and icon assets and fill screen android demo 2022-10-17 21:57:56 -04:00
frank 0d00314f5a added ability to set some GL properties with config, added some more GL properties to log 2022-10-07 18:29:25 -04:00
ohsqueezy 9fd3ee282e change default keys for screenshot and video 2022-07-26 17:28:56 -04:00
ohsqueezy d1cb24a785 angle difference and ratio methods 2022-07-23 18:55:27 -04:00
frank 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; 2022-06-16 16:45:41 -04:00
frank ee119ecc7e add engine name to log file name 2022-05-06 23:39:32 -04:00
frank 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 2021-11-09 23:30:27 -05:00
frank f70ea1c215 started log class 2021-10-02 19:21:07 -04:00
frank c8bc86cab7 squircle and 2d collision demo; config auto refresh 2021-08-31 23:55:38 -04:00
frank 2831f2fc60 restored gl screen capture; get points on circle utility function 2021-08-02 20:18:56 -04:00
frank 95a1e6b5b1 added licensing info 2021-06-26 20:25:03 -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 a8948bca73 fix user config merge; clear screen to black; reset to single box on sprite unload 2021-05-07 21:19:23 -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 0e6e506c68 added children to sprites; sprite can set canvas it will draw on; fixed memory leak in precise collision detection on scaled sprites 2020-09-04 23:10:39 -04:00
Frank DeMarco 66f6d6ef81 specify render driver in config; print all renderer options 2020-08-28 22:17:01 -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 3d439e56e0 suppress input temporarily 2020-07-22 00:53:40 -04:00
Frank DeMarco 8eeeb82f4c any key command 2020-07-21 01:09:34 -04:00
Frank DeMarco 0ccc00f201 - framerate indicator sprite added to Game class
- functions to build vectors from an integer range (from https://stackoverflow.com/a/30312659/1256386)
- fullscreen toggle added to Display class
2020-07-19 15:43:47 -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 30e6c970d3 get screen pixels uses gl or sdl 2019-06-16 03:05:02 -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 321d9df1be recorder writes video frames to folder 2019-05-16 03:51:36 -04:00
Frank DeMarco 1dbb2a2e1d save indexed screenshot to directory 2019-05-07 03:33:54 -04:00
Frank DeMarco ebd8f34266 translate key down to command event 2019-05-04 20:30:39 -04:00
Frank DeMarco 41dbfb8498 key map 2019-05-04 03:25:35 -04:00
Frank DeMarco 845d3bb883 pass object bound functions to delegate 2019-05-03 22:16:56 -04:00
Frank DeMarco cf695b3d10 class name 2019-05-02 20:11:45 -04:00
Frank DeMarco e40201cd11 json config library 2019-05-02 06:45:41 -04:00