- DelphiTools - https://www.delphitools.info -

Delphi “Meteors” running Web-side

Amongst the samples included with Delphi, you can find a “Meteors” clone. With SmartMobileStudio [1] approaching the next beta milestone, I gave it a run at compiling old Delphi code, VCL, TCanvas-based, that was never intended to run Web-side… but now does! Click here [2] or the image below to test it!

The controls are the same as in Delphi: arrow keys to turn and accelerate, space bar to fire.

[2]Since the original code is under Embarcadero copyright, I can’t post the source here, but like with the Old School Maze [3], the amount of adaptations required was minimal, and the old code is running in near-vanilla form (with all its quirks). You can find DMeteor source code in the Samples\Delphi\VCL\Meteor directory that came with Delphi or RAD Studio.

The old Delphi code was pegged at 20 FPS and 600×400, and this version is too. Maybe once the PGD Challenge [4] is over, I’ll try to find time to upgrade it to a 60 FPS, HD version, fix the difficulty and add Playtomic [5] global leader-boards, just to show how simple it can be to leverage Pascal in the HTML5 era  😉