Commit graph

1425 commits

Author SHA1 Message Date
Roza
ee4778ffe7 fix misplaced #else 2021-05-23 22:06:35 -04:00
Roza
6bb583bcd0 Remove SDL_GetPlatform call 2021-05-23 21:58:48 -04:00
Roza
9d5879662c cleanup 2021-05-23 21:55:02 -04:00
Roza
26f925a672 Add more detailed platform detection 2021-05-23 21:40:48 -04:00
Roza
9c72a98b0a Add System.launch 2021-05-23 19:48:32 -04:00
Roza
25ac1f2328 Adjust GIF decoding loop, again 2021-05-23 11:34:24 -04:00
Roza
87e1356473 using gif.decoded_frame as a condition is just a bad idea 2021-05-23 10:40:49 -04:00
Roza
dad876d555 Move tilemap script to repo snippets 2021-05-22 09:20:31 -04:00
Roza
2f611a0b78 correct desc of steamworks_path build option 2021-05-22 07:03:37 -04:00
Roza
a5aa49bf4d Update readme again 2021-05-22 06:44:52 -04:00
Roza
8f9b1e6e78 avoid duplicate folders in Application Support 2021-05-22 06:37:25 -04:00
Roza
94fb24eccc bump version to 2.2.1 2021-05-22 06:36:25 -04:00
Roza
c4c871f918 Changes to README 2021-05-22 06:30:33 -04:00
Roza
f8bf0eaf67 Fix typo causing Input.repeat? to return true irregularly (Fixes #42) 2021-05-21 17:48:56 -04:00
Roza
2c382d19aa Have window resizing functions properly wait on each other 2021-05-21 17:13:53 -04:00
Roza
1a304da43d Support Retina displays 2021-05-21 16:28:51 -04:00
Roza
4829f63e45 Just iterate through gif frames with a for loop (Fixes #44) 2021-05-20 15:54:18 -04:00
Roza
e7e6009b81 Catch exceptions in Window.update (Fixes #43) 2021-05-19 16:29:16 -04:00
Roza
6fa276f551 fix infinite loop when gif total frames != decoded frames 2021-05-09 18:19:46 -04:00
Roza
393449e376 Remove extraneous call to glReadPixels 2021-05-08 12:28:30 -04:00
Roza
990d49020d Hook bitmaps into prepareDraw 2021-05-05 04:30:11 -04:00
Roza
92692677d4 oopsies 2021-05-04 23:35:09 -04:00
Roza
84089c52fe Massively improve animation frame timing 2021-05-04 23:32:01 -04:00
Roza
1cf56043cb Make bitmap animation functions properly check for disposal 2021-05-04 16:32:31 -04:00
Roza
41e7192e4e Fix non-animated bitmap.initialize_copy crash 2021-05-03 20:38:35 -04:00
Roza
bfc04a9fdc remove unnecessary buffer allocation 2021-05-03 19:33:24 -04:00
Roza
67c158e418 Fix blitting, add optional position arg to Bitmap.snap_to_bitmap 2021-05-03 19:09:36 -04:00
Roza
077b7da204 Edit warning visibility 2021-05-03 15:48:16 -04:00
Roza
0b07b9b62b Correctly set bitmap texture for one-frame GIFs 2021-05-03 15:33:55 -04:00
Roza
1776233958 Round current bitmap frame calculation 2021-05-03 15:15:16 -04:00
Roza
30fa1d3c2f Create static bitmap from GIF if it only contains one frame 2021-05-03 13:57:10 -04:00
Roza
250d1d0f36 Bump version to 2.2 2021-05-03 13:43:16 -04:00
Roza
c81c09b82e Bitmap.snap_to_bitmap && Bitmap.each_frame 2021-05-03 11:51:39 -04:00
Roza
2a158f564a Limit destination position of Bitmap.add_frame 2021-05-03 10:36:06 -04:00
Roza
ac94d1d630 Raise Ruby errors in Bitmap animation functions 2021-05-03 10:26:45 -04:00
Roza
4814e9966b Prevent removing frames from a static bitmap 2021-05-03 02:33:06 -04:00
Roza
bbd8feafd3 Copy all frames of animated bitmaps 2021-05-03 02:18:03 -04:00
Roza
a85640e84f Allow replacing raw data on animated bitmaps 2021-05-02 23:50:16 -04:00
Roza
970cb7b538 Change the "your computer belongs in a museum" OpenGL error 2021-05-02 23:19:06 -04:00
Roza
faf9f7e894 Decode GIF frames within Bitmap constructor 2021-05-02 23:05:36 -04:00
Roza
07327c8d8f Add Bitmap.next_frame + Bitmap.previous_frame 2021-05-02 21:53:55 -04:00
Roza
851c918342 Update Bitmap.playing automatically if bitmap isn't looping 2021-05-02 21:17:16 -04:00
Roza
f6e8269179 Support manual animation of Bitmaps 2021-05-02 20:36:28 -04:00
Roza
718c5d5b2f Fix setting animated bitmap FPS from Ruby 2021-05-02 13:24:46 -04:00
Roza
70c9a1065c Support animated GIFs 2021-05-01 21:50:39 -04:00
Roza
9b7af51ce2 version bump to 2.1.2 2021-04-30 14:47:37 -04:00
Roza
fb24e0c2d8 Adjust macOS keybinding menu resizing 2021-04-28 22:59:12 -04:00
Roza
cf1714a131 Support saving bitmaps to JPEG and PNG format 2021-04-28 22:52:21 -04:00
Roza
a536ec1d76 remove Xcode 12.5 update nag 2021-04-28 17:24:32 -04:00
Roza
0ae645a999 Input.repeatex? should always return false for non-repeating keys 2021-04-28 17:22:46 -04:00