Skip to content
#

sdl2

Here are 1,776 public repositories matching this topic...

MyreMylar
MyreMylar commented Jun 28, 2020

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

PungentZeus0
PungentZeus0 commented Sep 6, 2020

SuperTux version: 0.6.2-367-g9cd827faf

I remember in 0.5.1 you were able to change the sprite(s) of the checkpoints. However, I've noticed in 0.6.2 and above in nightly builds, the game gives no option to do so. Is this intentional? (To give context, I was going to re-add back in the old bell sprites used from 0.3.0 to 0.5.1 for a levelset I was making in the nightly builds.)

Thanks for

zx64
zx64 commented Dec 1, 2018

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

cxong
cxong commented Jun 14, 2016

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

Improve this page

Add a description, image, and links to the sdl2 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sdl2 topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.