DeveloppeurPascal / Delphi-Game-Engine

Libraries, classes and components to simplify game coding in Delphi VCL and FireMonkey projects
https://delphigameengine.developpeur-pascal.fr/
GNU Affero General Public License v3.0
29 stars 2 forks source link
delphi delphi-game delphi-game-engine delphi-library delphi-source firemonkey fmx game-development pascal-programming vcl

Delphi Game Engine

Cette page en français.

FireMonkey is the cross-platform component and library framework provided with Delphi. It allows to develop native (= compiled) software for Windows, Mac, iOS, Android and Linux from a single code base.

As this framework is based on a graphics engine it is ideal for developing 2D and 3D video games without learning how to use a specialized game engine (like for example the great Castle Game Engine which also includes many tools (map editors, sprites, ...) for Pascal game developers).

You'll find more game engines in Pascal (Delphi, Lazarus, ...) listed on Awesome Pascal.

This code repository offers reusable units and examples for your video game projects.

It comes from years of game development for fun and live coding sessions on Twitch started in 2021 (and a long time before Twitch).

You can find examples of classic game features in Delphi FMX Game Snippets if you are looking for inspiration.

Some of my video games are open sourced on GitHub. Find them as submodules of this repository.

Since July 2024, a game coding starter kit in the form of FireMonkey projects is available. This is the Gamolf FMX Game Starter Kit. It uses Delphi Game Engine for the basic routines (sound, game controllers, user interface, scores, ...) and provides you with a Delphi project template to create your own games, with numerous examples.

This code repository contains a project developed in Object Pascal language under Delphi. You don't know what Delphi is and where to download it ? You'll learn more on this web site.

Talks and conferences

Code Rage 2018

Learn To Code Summer Camp 2021

DelphiCon 2021

Dev Days of Summer 2024

Twitch

Follow my development streams of software, video games, mobile applications and websites on my Twitch channel or as replays on Serial Streameur mostly in French.

Source code installation

To download this code repository, we recommend using "git", but you can also download a ZIP file directly from its GitHub repository.

This project uses dependencies in the form of sub-modules. They will be absent from the ZIP file. You'll have to download them by hand.

If you want to use game controllers features for iOS or macOS, don't forget to add the GameController framework to your SDK(s) in Tools/Options/Deployment/SDK and refresh the files.

The components packages need only the RTL package to avoid conflicts during their installation.

For components TDGEGamepadDetected and TDGEHelpBar you need Skia4Delphi enabled in your projects. It's used by unit Olf.RTL.SVGToBitmap.pas from DeveloppeurPascal/librairies to draw the SVG into images bitmap.

License to use this code repository and its contents

This source code is distributed under the AGPL 3.0 or later license.

You are generally free to use the contents of this code repository anywhere, provided that:

If this license doesn't suit your needs, you can purchase the right to use this project under the Apache License 2.0 or a dedicated commercial license (contact the author to explain your needs).

These source codes are provided as is, without warranty of any kind.

Certain elements included in this repository may be subject to third-party usage rights (images, sounds, etc.). They are not reusable in your projects unless otherwise stated.

How to ask a new feature, report a bug or a security issue ?

If you want an answer from the project owner the best way to ask for a new feature or report a bug is to go to the GitHub repository and open a new issue.

If you found a security issue please don't report it publicly before a patch is available. Explain the case by sending a private message to the author.

You also can fork the repository and contribute by submitting pull requests if you want to help. Please read the CONTRIBUTING.md file.

Support the project and its author

If you think this project is useful and want to support it, please make a donation to its author. It will help to maintain the code and binaries.

You can use one of those services :

or if you speack french you can subscribe to Zone Abo on a monthly or yearly basis and get a lot of resources as videos and articles.