sdl2
Here are 1,721 public repositories matching this topic...
Currently the toggle_fullscreen() contain these lines:
This function only works under the UNIX X11 video driver. For most situations it is better to call pygame.display.set_mode() with new display flags.
This is no longer accurate as the function works on windows for sure (tested) and looking at the code likely works on mac and with other display drivers on linux too. I believe it is also
-
Updated
Aug 4, 2020 - C++
-
Updated
Aug 23, 2020 - C++
-
Updated
Aug 6, 2020 - C++
-
Updated
Aug 23, 2020 - 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.
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
Aug 23, 2020 - C
-
Updated
Aug 6, 2020 - C++
-
Updated
Feb 22, 2020 - C++
-
Updated
Aug 25, 2020 - C++
-
Updated
Jul 15, 2019 - C++
-
Updated
Jul 13, 2020 - Pascal
The majority of the windows with tabs have a function for left aligning the none disabled tabs. There should be one function that does this rather than the variety of different ones that we have at the moment.
The function will need to know the first and last tab but that should be about it. The build vehicle window likely is a bit special and consideration on if it can use the general function
-
Updated
Aug 24, 2020 - C
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
Feb 16, 2020 - C
-
Updated
Aug 24, 2020 - C++
The file dialogs should get the ability to store bookmarks and maybe even to show the default folders of the OS (like Downloads, Pictures, ...)
The custom bookmarks should just be stored as a Cvar (see core/Var.h, or in-game-console command cvarlist) that is separated with ;
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."