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.
Visit the devlog to find out more about how it works, access videos and articles, find out about the different versions available and their features, contact user support...
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.
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 generally free to use the contents of this code repository anywhere, provided that:
- you mention it in your projects
- distribute the modifications made to the files supplied in this project under the AGPL license (leaving the original copyright notices (author, link to this repository, license) which 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, 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.
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 :
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.