sdl2
Here are 1,927 public repositories matching this topic...
This function needs a unit test.
Guide to how to contribute to an open source project on GitHub.
Test stub: https://github.com/pygame/pygame/blob/main/test/display_test.py#L255-L274
Docs: https://www.pygame.org/docs/ref/display.html#pygame.display.gl_set_attribute
Code to be tested: https://github.com/pygame/pygame/bl
-
Updated
Dec 15, 2020 - C++
-
Updated
Jan 1, 2021 - C
-
Updated
Dec 31, 2020 - C++
-
Updated
Jan 1, 2021 - C++
(As this is an enhancement not a bug, I don't think i need to provide too much information.)
Although enemies in Super Mario don't have such animation either, as a more elegant platform game, it is better to add animations like kicking Tux when Tux collides them, because it can make the enemies more vivid.
Chinese Version
From the comment in SDL_filesystem.h:
Please call SDL_free() on the pointer when you are done with it
When building the project with MSVC, I ran into some debug heap asserts early into the program startup.
The culprit appears to be the code in m_config.c that does free(prefdir) as changing these to SDL_free(prefdir) resolved the issue.
I'm not sure what to do about `GetDefaultConfi
-
Updated
Dec 30, 2020 - C
-
Updated
Dec 20, 2020 - C++
-
Updated
Jan 1, 2021 - C++
-
Updated
Feb 22, 2020 - C++
-
Updated
Dec 31, 2020 - Pascal
-
Updated
Jul 15, 2019 - C++
Investigate if this syntax from our sister project is able to be implemented in OpenLoco. If it is implement it as it would mean we can get rid of the initEvents functions. OpenRCT2/OpenRCT2#12973
Via playtesting, the compass arrows (#29) were ignored, likely because they are right at the edge and outside the player's attention. If they are moved slightly inwards, they may become more noticeable.
Games that have these arrows also tend to draw them closer to the player rather than near the edge; e.g.
- GTA 1 & 2
- Fire Fight
- Crazy Taxi
The reasons why this header file lives outside of game_logic don't apply anymore. It would make things simpler if it was merged into the other "global" file.
-
Updated
Dec 19, 2020 - C
-
Updated
Dec 30, 2020 - C
Help messages for various built-in commands are annoying mish-mash of styles and formatting. Plenty of documentation is simply missing (and users usually don't know where to find our manual file).
In #608 and #577 we improved the help messages for mount and imgmount. In the process, we established a nice, readable style for our help commands - now it's time to expand help for all remaining
-
Updated
Dec 22, 2020 - C++
-
Updated
Jan 1, 2021 - C++
Improve this page
Add a description, image, and links to the sdl2 topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the sdl2 topic, visit your repo's landing page and select "manage topics."

