Examples of what is done when developing video games: sprite management, background music, sound effects, animations, ...
Projects are developed under Delphi with its FireMonkey multiplatform framework to run our projects under Windows, macOS, iOS, Android and Linux from the same code base.
Not all images and musics used in this repository are free of charge. Reuse them only if you have a license. They remain the property of their respective authors and are only present in the programs for demo purposes.
Images and sounds from:
- Kenney which I thank for his work and spirit of sharing. Think of doing the same as me: support him by buying licenses of his creations if you use them even if he does not require us to.
- The Game Creators, software editor for video game creation and games, also offers assets including a noise library used here.
- GSP 500 Noises, a CD-ROM of rights-free noise published in 1995. Yeah, I know, some of you weren't born... There was also a life before the Internet.
- Cartoon Smart which offers video training in the development of video games for iOS and macOS with the possibility to download free sound and image libraries when you subscribe.
Information and explanations on the projects of this repository are available on Developeur Pascal blog.
Example projects are in the group fr.developeurpascal.demo.*
Please do not publish them on application stores or elsewhere in a compiled version but systematically return to this code repository or to the dedicated section on the blog Developpeur Pascal.
This library was created live on Twitch during the Gaming For Sidaction operation in favor of Sidaction 2021. You can view this weekend's replay on https://serialstreameur.fr/sidaction-2021.php
If you want to see the result of the animations in a real video game, take a look at Ok Ducky developed live during this live game coding weekend.
Other games were developed throughout the year 2021 and beyond on Twitch. Reruns of these sessions are available on Serial Streamer Video Games.
If you are looking for examples of code to learn Delphi about something other than video game or basic manipulations see this repository of examples of all kinds.And if not, take a look at these open-source video games on GitHub.
To code your own games in Delphi, there are numerous utilities and game engines. You'll find a few links on Awesome Pascal. You can also use FireMonkey natively and add just a few useful tricks with Delphi Game Engine or use this FireMonkey game starter kit.
This code repository contains some projects 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.
Follow my live game development coding sessions on my Twitch channel or as replays on Serial Streameur mostly in French.
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.
- DeveloppeurPascal/Delphi-Game-Engine must be installed in the ./lib-externes/Delphi-Game-Engine subfolder.
- DeveloppeurPascal/librairies must be installed in the ./lib-externes/librairies subfolder.
I use comments in XMLDOC format in Delphi to document my projects. They are recognized by Help Insight, which offers real-time input help in the code editor.
I regularly use the DocInsight tool to enter them and check their formatting.
Documentation is exported in HTML by DocInsight or PasDoc to the /docs folder of the repository. You can also access it online through the hosting offered by GitHub Pages.
Further information (tutorials, articles, videos, FAQ, talks and links) can be found on the project website or the project devlog.
If you need explanations or help in understanding or using parts of this project in yours, please contact me. I can either direct you to an online resource, or offer you assistance in the form of a paid or free service, depending on the case. You can also contact me at a conference or during an online presentation.
As an Embarcadero MVP, I benefit from the latest versions of Delphi and C++ Builder in RAD Studio as soon as they are released. I therefore work with these versions.
Normally, my libraries and components should also run on at least the current version of Delphi Community Edition.
There's no guarantee of compatibility with earlier versions, even though I try to keep my code clean and avoid using too many of the new ways of writing in it (type inference, inline var and multiline strings).
If you detect any anomalies on earlier versions, please don't hesitate to report them so that I can test and try to correct or provide a workaround.
This source code is distributed under the AGPL 3.0 or later license.
You are free to use the contents of this code repository anywhere provided :
- you mention it in your projects
- distribute the modifications made to the files provided in this AGPL-licensed project (leaving the original copyright notices (author, link to this repository, license) must be supplemented by your own)
- to distribute the source code of your creations under the AGPL license.
If this license doesn't suit your needs (especially for a commercial project) I also offer classic licenses for developers and companies.
Some elements included in this repository may depend on third-party usage rights (images, sounds, etc.). They are not reusable in your projects unless otherwise stated.
The source codes of this code repository as well as any compiled version are provided “as is” without warranty of any kind.
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.
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 :
- GitHub Sponsors
- Ko-fi in French or in English
- Patreon
- Liberapay
- Paypal
You can buy my softwares, my video games or a developer license for my libraries if you use them in your projects.
If you speak French subscribe to Zone Abo to access my complete online archive (articles, videos, training videos, ebooks).