Catalog · How the catalog works
moon-lander-SDL3
trial to convert SDL2 to SDL3
- ★ 1 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
Moon lander
a 2D game of gravity using SDL3 / Pascal
This is my attempt to bring "moon lander" back to life.
This version of Moonlander is almost rewritten from scratch, using Pascal and SDL3.
Dependencies
Windows and Linux:
-
sdl3
-
sdl3-image
-
sdl3-mixer
-
JsonTools
-
Lazarus / Freepascal
-
Pascal SDL3 Header files
a good installation guide for SDL3 can be found at: [https://www.freepascal-meets-sdl.net/](https://www.freepascal-meets-sdl.net/)
Why ?
I want to learn how to use SDL3 to get easy acess to graphic, sound and input.
Bugs / Contributions
If you have any contributions, feel free to drop a pull request or send me a mail.
The FULLSCREEN mode does not work correctly under Windows...
Controls:
- ESC -> show menue to change game options
- Arrow Keys -> controll the ship
- Q -> quit the game
- P -> pause the game
- A -> control (toggle) the autopilot
- F -> control (toggle) the flightdirector
Special Thanks / Credits
the creator of "freepascal-meets-sdl" with his good tutorials
License
Copyright (C) 2026 Normaluser
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2 of the License, OR (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

