Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodComponentDelphiDemoFiremonkeyIOSOSXWindows

Arkanoid Breakout Demo Source Code For Delphi XE6 Firemonkey On Android And IOS

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE6 Firemonkey Arkanoid Breakout Clone Game Source | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSOne of the demos in the Box2d for Delphi Firemonkey project is a demo called PingPong which implements a game similar to Arkanoid or Breakout. Arkanoid and Breakout are classic arcade games originating in the 1980s. The demo project is for Delphi XE5 and Delphi XE6 but should also work in AppMethod. The idea behind these kind of games is that you have a block of bricks near the top of the screen and a paddle at the bottom of the screen. You bounce a ball with the paddle against the bricks at the top to break them. There is a version of the project¬†for desktops like Windows and OSX. And there is a mobile version of the project for Android and IOS. A couple additional features that the game has is the ability to create new levels which¬†are different configurations of the bricks using a map editor. The bricks that you can add using the map editor are “Unbreakable”, “Hit Once”, “Hit Twice”, and finally “Hit Thrice”. They are pretty self explanatory but they provide and extra layer if gameplay when building levels. The objects in the game are drawn using the draw methods so if you want to use images in place of the existing drawn objects you will have to implement that yourself. In one test I did I was easily able to attach a TCircle to the ball and update it’s position in the Paint event. Full source code for the physics engine which is Box2d is provided in the download.

Download the demo source code for a version of Arkanoid / Breakout for Delphi XE6 Firemonkey.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

DelphiIDEShowcaseWindows

Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

Sign up for our Newsletter and
stay informed

Leave a Reply