Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++

Get ~$2,000 Worth Of Mobile Game Source Code FREE For Delphi And C++Builder

Are you ready to dive into game development on mobile? Why not get a head start with these four games: Alien Invasion, Mars Rocket, Rocket Ship Delta, and Space Rocks. They come with full source available for Delphi and C++Builder which you can download and get started with right away. The game source codes are available for both the Starter Edition and the Pro or higher versions of RAD Studio. The source code for each game is worth around ~$500 making a total of around ~$2,000 worth of source code available to you for FREE!

The games run on Android, iOS, Windows, and macOS using a single UI and single code base. The games leverage FireMonkey on Android and iOS which uses OpenGL ES, on macOS where FireMonkey uses OpenGL, and on Windows where FireMonkey uses Direct2D or GDI+. It is also possible to configure FireMonkey to use OpenGL on Windows as well. The games are available in both Object Pascal and C++ languages. There is a FREE one hour video tutorial for the four games for Object Pascal and a second FREE one hour video tutorial for the four games for C++.

Don’t have Delphi or C++Builder yet?

 

Alien Invasion

Alien Invasion is a classic arcade style game which features a grid of aliens that move in sync back and forth across the screen. They fire projectiles at the player who is at the bottom of the screen. On each trip back and forth across the screen they start moving faster and faster. There are four shields near the bottom of the screen that the player can hide behind but they have a limited number of hits they can take before each shield is exhausted. The player can only move back and forth at  the bottom of the screen and fire projectiles upward.

Only one player projectile can be active at a time so if you miss you must wait until the projectile leaves the game space before firing another projectile. There is also two special bonuses that exist within the game. One is a random space ship which moves across the top of the screen and then second is a points power up that randomly moves around the screen. 

Game Features:

  • Grid of Enemies
  • Quad Shields
  • Random Enemies
  • Power Ups
  • Arcade Style Levels
  • Professional Menu System
  • High Score System
  • Optimized for all screen sizes
  • Control via Mouse, Keyboard, Touch Screen, Motion Sensor, and Gamepad
  • Wireless Gamepad via App Tethering

Code Features:

  • Easily Customizable
  • Game Loop
  • Object Pooling
  • Collision Detection
  • Sprite Sheet Animation
  • Music And Sound System
  • Unified code base
  • Unified UI
  • RAD Development Style
  • Multi Device Android/iOS/macOS/Windows 10
  • Source Code in Object Pascal and C++

Download Object Pascal Alien Invasion Source Code

Download C++ Alien Invasion Source Code


 

Mars Rocket

Mars Rocket is a classic arcade style game where the player must collect points and land the rocket without crashing. On each level, 3 stars are randomly placed throughout the game screen which you can collect for more points. Think of them along the lines of the mechanic in Angry Birds where you can pass a level with only one star but if you are really good you can get all three stars.

Along the bottom of the screen a random number of platforms are generated in different sizes which the player is able to land the rocket on. If the rocket is just slightly off it will crash instead of landing. The player also has a limited amount of fuel in each level to land the rocket. The motion sensor control really shines in this game as it makes controlling the rocket very intuitive. 

Game Features:

  • Collectible Stars
  • Rotate And Accelerate Player
  • Inertia Based Player Movement
  • Procedurally Generated Levels
  • Classic Arcade Style
  • Professional Menu System
  • High Score System
  • Optimized for all screen sizes
  • Control via Mouse, Keyboard, Touch Screen, Motion Sensor, and Gamepad
  • Wireless Gamepad via App Tethering

Code Features:

  • Easily Customizable
  • Game Loop
  • Object Pooling
  • Collision Detection
  • Sprite Sheet Animation
  • Music And Sound System
  • Unified code base
  • Unified UI
  • RAD Development Style
  • Multi Device Android/iOS/macOS/Windows 10
  • Source Code in Object Pascal and C++

Download Object Pascal Mars Rocket Source Code

Download C++ Mars Rocket Source Code


 

 

Rocket Ship Delta

RocketShipDelta is probably the most complex of the four games as it has the most number of objects moving around and it even has a minimap display. RocketShipDelta is a classic arcade side scrolling game which gives you four directions of moment. In addition to a  normal projectile weapon the the player also has access to a screen clearing bomb and a warp functionality. The bomb is limited to three uses per game but the warp has unlimited usage.

The goal of the player is to stop the aliens from abducting the characters on the planet’s surface and carrying them off. Once an alien carries off a character it upgrades itself and then comes back for more; better and stronger. On the left and right side of the game area there is a wormhole which teleports the player to the other side of the game area. The background in this game is actually three different transparent layers which move based on the location of the player creating a parallax effect. 

Game Features:

  • Enemies Level Up
  • Wormholes
  • Player Warp System
  • Player Bomb System
  • Random Enemies
  • Gameplay MiniMap
  • Inertia Based Player Movement
  • Four Degrees Of Movement
  • Professional Menu System
  • High Score System
  • Control via Mouse, Keyboard, Touch Screen, Motion Sensor, and Gamepad
  • Wireless Gamepad via App Tethering

Code Features:

  • Easily Customizable
  • Game Loop
  • Object Pooling
  • Collision Detection
  • Sprite Sheet Animation
  • Parallax Background
  • Music And Sound System
  • Unified code base
  • Unified UI
  • RAD Development Style
  • Multi Device Android/iOS/macOS/Windows 10
  • Source Code in Object Pascal and C++

Download Object Pascal Rocket Ship Delta Source Code

Download C++ Rocket Ship Delta Source Code


 

 

Space Rocks

Space Rocks is a classic arcade style game where the player starts at the center of the screen surrounded by a number of asteroids. The player can rotate their space ship left and right as well as accelerate forward. The player has an inertia from each acceleration which slows down over time.

The goal of the game is to destroy the asteroids so you can move on to the next level. Each time you shoot one of the asteroids it breaks up into smaller pieces. Additionally, there are alien space ships which crisscross the screen and randomly shoot projectiles at the player to keep you on your toes. 

Game Features:

  • Random Enemies
  • Rotate And Accelerate Player
  • Inertia Based Player Movement
  • Wrapping Player Projectiles
  • Arcade Style Levels
  • Professional Menu System
  • High Score System
  • Optimized for all screen sizes
  • Control via Mouse, Keyboard, Touch Screen, Motion Sensor, and Gamepad
  • Wireless Gamepad via App Tethering

Code Features:

  • Easily Customizable
  • Game Loop
  • Object Pooling
  • Collision Detection
  • Sprite Sheet Animation
  • Music And Sound System
  • Unified code base
  • Unified UI
  • RAD Development Style
  • Multi Device Android/iOS/macOS/Windows 10
  • Source Code in Object Pascal and C++

Download Object Pascal Space Rocks Source Code

Download C++ Space Rocks Source Code


 

Ready to take your new game to the app store? You can easily integrate professional features like In App Payments, Banner Ads, and App Analytics using the components built into RAD Studio. If you want to take it to the next level you can also integrate many other professional services using the JVESoft Components (a third party component suite) which provide the following general functions:

  • Variable screen-size oriented layout
  • Embedded browser
  • Email sending
  • Twitter, Facebook and SinaWeibo sharing
  • In-App purchases (via AppStore, Google Play and/or PayPal)
  • Viewing products in AppStore and Google Play
  • App Rating reminders
  • Google Analytics
  • Chartboost, RevMob, AppFlood, AdMob interstitial advertising
  • AdMob and iAd banner advertising
  • MobFox and PubNative native advertising
  • Generic banners, native and interstitials support
  • Push notifications (raw requests or via PushWoosh service)
  • Persistent storage and in-progress app shading

You can download all 4 games directly with the Clone or Download button at the top right on the below links or downloads the games within the RAD Studio IDE using GetIt.

https://github.com/EmbarcaderoPublic/CppArcadeGames

https://github.com/EmbarcaderoPublic/DelphiArcadeGames

 

Don’t have Delphi yet?

Download now!

Don’t have C++Builder yet?

Download now!

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

FMXExpress.com has over 600 articles with all kinds of tips and tricks for Delphi FireMonkey on Android, IOS, OSX, Windows, and Linux.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES