Dan Lawrence
Dan Lawrence
- Add an 'embossed' theme for borders. - 'embossed' creates an 'inverse luminance' version of the border colour and draws the bottom and right sides of the border with it....
Thinking here of a classic RPG style inventory UI system as seen in games like Minecraft, Stardew Valley or Baldur's Gate.
Just to show off the theming for demos.
Unlikely that it could get as fancy as CSS buttons on web pages but some extra pizzaz might be nice: See link below for examples of different button effects: https://bashooka.com/coding/25-css-button-animation-examples-2018/
This was reported over on the pygame subreddit. Basically if you head over to: https://www.pygame.org/screenshots.html You can see that it only displays something like the template code from here: https://github.com/pygame/pygameweb/blob/master/pygameweb/templates/page/screenshots.html...
These are the test results I'm seeing: With this PR: ``` tested Blit NORMAL_NO_ALPHA - 10000 tries, even dimensions 32, 32 : 6.005ms tested Blit NORMAL_NO_ALPHA - 10000 tries, odd...
This function has been deprecated and now produces deprecation warnings when running some of the tests (e.g. color_test.py and pixel_copy_test.py). It's fair to have a test for the deprecation warning...
Original PR here #3268. Apparently I pushed into a new branch on the pygame repository rather than my own copy after rebasing and updating it from @Starbuck5's review comments. Anyway,...
Related to the suggestion in #3424 by @Starbuck5 to reduce code duplication by having copies of this function each time it gets used. As far as I can tell there...
For large parts of the joystick module functionality, the CI won't give much useful coverage because there won't be a controller plugged in. To bridge this gap we'll need to...