Commit Graph

18 Commits

Author SHA1 Message Date
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 86ca3eabec convert ndc box to pixel coordinates box in display 2021-11-19 14:13:37 -05:00
frank 54cf01246b Display object can return ndc coordinates from a pixel coordinate box 2021-11-13 14:49:56 -05:00
frank f70ea1c215 started log class 2021-10-02 19:21:07 -04:00
frank 18f83968f3 added gl coordinates option to box 2021-09-06 22:11:56 -04:00
frank ba44b8e8d5 box documentation, remove get/set prefixes from Box and Segment 2021-08-14 19:53:39 -04:00
frank 2831f2fc60 restored gl screen capture; get points on circle utility function 2021-08-02 20:18:56 -04:00
Frank DeMarco ca44bc4b3a new parameters for Mix_OpenAudio 2021-04-11 00:30:15 -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 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 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
2020-07-25 17:55:27 -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 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 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