Deep Space Rocks Runtime Customizable Mobile Arcade Game For Delphi 10.2 Tokyo

Posted by on in Blogs

Embarcadero has four mobile arcade game projects for Delphi in Object Pascal available for free over on GitHub. All of the projects run on Android, IOS, OSX, and Windows. One of the projects is called Space Rocks and I modified this project to allow the player to customize the game at runtime (for more info about Space Rocks check out this blog post). The modified game is called Deep Space Rocks. I also re-skinned the game a but with a new background, player character, and enemy characters.

The new Customize Game functionality that I added to the project allows you to modified the following settings at runtime: Player Image, Enemy Image, Asteroid1 Image, Asteroid2 Image, Asteroid3 Image, Powerup Image, Background Image, Player Health, Collect Item Duration, Collect Item Speed, Rock Speed, Enemy Proj Speed, Enemy Speed, Player Proj Speed, Player Fire Speed, Player Rotation Speed, Player Speed, and Player Lives. This allows the player to tweak the settings and play it how they want to play it. It also allows you to easily play test and tweak the game yourself to get the best settings.

Allowing players to customize your game like this can increase player retention of your game. The player customize-able settings could also be expanded to include more settings like the sound and music. Full source code is provided for this modified version of the game.

Download the full source code for the runtime customizable Deep Space Rocks game in FireMonkey for Delphi 10.2 Tokyo.


Deep Space Rocks Mobile Arcade Game FireMonkey 


  • Jack Guarnieri
    Jack Guarnieri Friday, 29 September 2017

    Cool, customized and personalized games. Very engaging, this is something unique. Many features to choose, Deep Space Rocks! rocks. Players, game on.

  • Didier Cabalé
    Didier Cabalé Sunday, 17 September 2017


  • cadetill
    cadetill Wednesday, 13 September 2017

    Don't work on BQ Aquaris E5

  • Eli M.
    Eli M. Wednesday, 13 September 2017

    You should use Delphi Berlin to deploy it to that device maybe.

  • cadetill
    cadetill Thursday, 14 September 2017

    Works fine with Berlin. Why not with Tokyo?

  • Eli M.
    Eli M. Thursday, 14 September 2017

    In Tokyo on Android Embarcadero merged the Java thread and the Delphi thread into one. Apparently, this causes issues in FireMonkey on Android that have not been addressed completely yet.

  • cadetill
    cadetill Thursday, 14 September 2017

    Perfect, thanks!

  • Please login first in order for you to submit comments
  • Page :
  • 1

Check out more tips and tricks in this development video: