Results 1 to 8 of 8

Thread: Delphi's "Meteors" sample running in Chrome

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Delphi's "Meteors" sample running in Chrome



    Just for the fun of it I adapted the "Meteors" Delphi sample to SmartMobileStudio, compiled to JavaScript, ran it in Chrome.

    Code changes are quite limited:
    - changed TCanvas methods to TW3Canvas
    - dropped the FreeAndNils
    - changed Point() to w3_Point()
    - declared TSize record
    - change Random() to RandomInt()

    That was about it. Not playable just yet (bug with the keyboard events), but otherwise it's alive!

    Anybody knows who originally wrote that game? I would like to know about licensing issues before posting anything online.

    PS: 19 FPS is the fixed frame-rate for DMeteors, in Delphi it's enforced by a timer, and the game code doesn't have any provision for variable frame-rate
    Attached Images Attached Images

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •