Commit Graph

250 Commits

Author SHA1 Message Date
ohsqueezy d01bed4905 updated readme and license, fixed crash on non existing default asset folders 2022-10-24 21:47:25 -04:00
frank 72866bd11c str conversion for Sprite Frameset 2022-03-15 21:51:09 -04:00
frank 7329aa7693 remove extra color object from hue shift method 2022-03-08 22:26:32 -05:00
frank f5de024ef3 docstring for distance function 2022-02-27 00:14:03 -05:00
frank 6693ca4514 load BGM from config paths after loading folders to give config precedence 2022-01-29 17:56:52 -05:00
frank 285181d23b look for bgm paths in resource folders 2022-01-06 03:19:09 -05:00
frank a1e53ad85c optionally override name generated by setup 2021-09-25 23:22:33 -04:00
frank bd3de84cbf revert previous change to leave string value 2021-09-25 17:31:28 -04:00
frank 241b4827c9 display window caption using utf-8 2021-09-25 17:13:20 -04:00
frank 317ea74c78 scale2x a surface arbitrary number of times in a row 2021-06-17 16:52:46 -04:00
frank 9838cdaac0 add is_suppressed to Input, fill borders based on which borders are being drawn 2021-06-12 01:12:25 -04:00
frank 6c46e27842 add panning to Note; add offset to fill_tile 2021-06-06 21:21:06 -04:00
frank 7ffe45c711 added license 2021-05-29 20:50:14 -04:00
frank 2a97cd761e clamp hsla values 2021-05-27 16:45:57 -04:00
frank 1e85c7b619 omit steps from get range steps 2021-05-24 22:56:54 -04:00
frank 47b9c1a27f extension functions: diagonal to rect, marching ants, fill borders; audio channel volume, init volume to 1 2021-05-22 19:14:44 -04:00
Frank DeMarco 619a7dab3f fixed re raw string formatting 2020-10-30 15:29:05 -04:00
Frank DeMarco 6c9554a255 register hide functions as animation for Sprite 2020-10-28 20:03:38 -04:00
frank 3dd467bea3 fix regex escapes to work with windows paths 2020-10-11 19:42:26 -04:00
Frank DeMarco ba65a913bc print python version at start up 2020-10-11 19:13:13 -04:00
Frank DeMarco 5f2b26852e pass on return value of SoundEffect.play 2020-10-05 20:14:24 -04:00
Frank DeMarco c26f438bfb change dict unpack to ChainMap 2020-08-21 15:03:02 -04:00
Frank DeMarco 6f8985d3f4 audio panel can be enabled in config; audio recording debug statements 2020-06-27 15:20:02 -04:00
Frank DeMarco 74cb3c7b1e fix prepended space in word wrap 2020-05-28 05:19:23 -04:00
Frank DeMarco b9bdbc5787 reimplemented volume controls 2020-05-27 04:31:27 -04:00
Frank DeMarco 823149738b sprite areas member var 2020-05-24 01:37:03 -04:00
Frank DeMarco 19d224fdc1 turn off clip on tile fill 2020-05-20 16:51:53 -04:00
Frank DeMarco 301f547a25 - fix include delay bug in Animation class
- multiple values for boolean true in config files
- sprite wipe out animation
- sprite children optionally drawn on parent surface
- text wrapping function handles line breaks
- blinds animation function for returning rects
2020-05-20 03:49:28 -04:00
Frank DeMarco 0878ad6181 - show currently highlighted and currently playing in audio file browser
- bgm volume can be defined in config and adjusted in audio panel
- bgm previews loop
2020-05-10 05:29:55 -04:00
Frank DeMarco cf8021c480 - confirm quit
- bgm added to audio panel
- delegate maintains order subscribers are added by object
- optionally suppress "any key" event when mods are pressed
- dict of named child objects added to sprites
- generate glow animation effect frames
2020-05-01 02:26:12 -04:00
Frank DeMarco 8ce09138d2 framebuffer display option added 2020-04-06 02:08:55 -04:00
Frank DeMarco 2ff6743ea1 Merge branch 'master' of makar:/var/www/git/pgfw
(updated pgfw in another project simultaneously)
2020-04-06 00:59:55 -04:00
Frank DeMarco 513e8fad4e - added spinner controls to audio panel for editing sound effects
- added play and stop buttons to audio panel
- box generating function can generate box without text
2020-04-06 00:55:06 -04:00
Frank DeMarco ed14f31b63 fixed bug in vector equals comparison 2020-03-04 19:37:56 -05:00
Frank DeMarco d5cd0de7a6 reverting get angle to counterclockwise, x/y swapped version 2020-03-04 19:25:35 -05:00
Frank DeMarco 947deab207 prevent audio panel from loading when there are no sfx 2020-02-28 14:56:13 -05:00
Frank DeMarco 987b154b26 - added volume adjust to SoundEffect
- removed original volumes audio hack
- added width and height to render box
2020-02-27 16:52:55 -05:00
Frank DeMarco 697eb22633 - audio panel file browser can be used to assign file paths to sound effects
- sound effect assignments are automatically saved to config file
- Vector getattr raises AttributeError like Python default class method
2020-02-20 02:43:37 -05:00
Frank DeMarco a30464edf5 - path-list type added for config variables
- audio panel lists sound effects and their file paths
2020-02-14 21:09:24 -05:00
Frank DeMarco 7abf359ede - loading sfx at init recursively from project path and default path
- return None if config value is missing
2020-02-14 15:16:28 -05:00
Frank DeMarco 7a4f318ac2 import entire random library in extension 2020-01-27 22:48:28 -05:00
Frank DeMarco 10ee6533f0 - method to cancel progpagation of events after subscriber processes them
- method to suppress input for amount of time
- shadowed sprite class
- replace color in a surface utility function
2020-01-18 10:28:18 -05:00
Frank DeMarco 07d404e64b get lightened color 2019-12-12 17:32:34 -05:00
Frank DeMarco 1f01be3882 Merge branch 'master' of makar:/var/www/git/pgfw 2019-11-16 00:42:46 -05:00
Frank DeMarco 4f25a971d7 can fill sub-rect of a surface with tile 2019-11-16 00:42:42 -05:00
Frank DeMarco 7db378e24f Merge branch 'master' of shampoo.ooo:/var/www/git/pgfw 2019-11-16 00:40:12 -05:00
Frank DeMarco 05c1872427 - iterator for yielding percent way through an interable
- iterator that mirrors the input iterable
- wrapped text surface generator function
2019-11-16 00:38:57 -05:00
Frank DeMarco ebe0bad311 pass blend mode flags to sprite update method 2019-10-28 13:40:54 -04:00
Frank DeMarco 1910fa567a fixed bug where iterator never stopped looping through video frame data in python 3 2019-10-21 00:46:10 -04:00
Frank DeMarco 869fed171d - get text box correctly draws text with transparent background
- sprite toggle hidden registered as playable animation
2019-10-18 03:33:35 -04:00