Results 1 to 3 of 3

Thread: .Net/Oxygene Equivalent of onIdle?

  1. #1

    .Net/Oxygene Equivalent of onIdle?

    I'm new to .net and Oxygene, and I'm trying to port one of my games to this new platform. Right now I'm stumped how to replace the OnIdle event handler that I used in Delphi. Basically I need a place to put code that will run each frame of the game (and thus render graphics, manage game logic and so on).
    I found how to get key and mouse input in a Oxygene form, now I'm just lacking a onidle, anyone knows how to?
    www.pascalgameengine.com - Crossplatform 3D game engine

  2. #2
    While I don't have direct expirience with .Net/Oxygene I can't tell you for sure but if I remember from some post somwhere on the internet there is some advanced timer (much better than standard TTimer in pascal) which incorporates similar approach. So you wanna check on that.

  3. #3
    There is Application.Idle event in .NET that should do the same thing as OnIdle in Delphi.
    Vampyre Imaging Library
    Earth Under Fire (PGD Big Boss 3rd place)
    Domains Of Chaos (PGD Multiplexity 5th place)

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
  •