Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Spielprogrammierung mit SDL

Empfohlene Antworten

Hallo allerseits,

ich begebe mich gerade in die wundersame Welt der SDL Programmierung. Ich habe es auch hinbekommen, einen schwarzen Screen anzeigen zu lassen. Allerdings müsste das mit

screen = SDL_SetVideoMode(640, 480, 0, 0);

im Fenster geschehen (letzte 0), es gibt aber ein Vollbild. Außerdem bekomme ich beim Starten des kompilierten Programms als nicht-root die Meldung: Unable to open a console terminal. (In einem aterm unter X). In einer reinen shell ohne X bekomme ich als nicht-root auch das Vollbild angezeigt.

Hat jemand Erfahrung mit SDL und Vorschläge?

Danke schon im Voraus.

Christian Hemker

christian.hemker@t-online.de

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.