Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

shooter-2d_SDL3

trial to convert SDL2 to SDL3

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

'2D Shoot em up' game tutorial using SDL3 / Pascal

Tutorial (15 parts) about programming a game in pascal / lazarus using SDL3.

The repository contains the source code for all 15 parts. (and pascal-specific tutorials...)

The original tutorial (and "c" - source code) can be found at: https://www.parallelrealities.co.uk/tutorials/#shooter

Dependencies

Windows and Linux:

  • sdl3
  • sdl3-image
  • sdl3-mixer
  • Lazarus / Freepascal
  • Pascal SDL3 Header files

the SDL3-headerfiles can be found at:

https://github.com/sechshelme/Lazarus-SDL-3.0-Packages-and-Examples

# Bugs / Contributions

If you have any contributions, feel free to drop a pull request or send me a mail.

Controls:

Arrow Keys -> Move

Left ctrl -> Fire

ESC key or the window´s close button or a mouseclick inside of the game window closes the game.

Special Thanks / Credits

Parallel Realities for their good tutorials and the source code and to the creator of "freepascal-meets-sdl" with his good tutorials

License

Copyright (C) 2015-2018 Parallel Realities

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.