Results 1 to 3 of 3

Thread: Lazarus and Phoenix 2D engine

  1. #1

    Lazarus and Phoenix 2D engine

    So, im a begginer in Pascal.
    Since now, i've only worked with free pascal and made simple one script applications.

    Now i would like to learn more about pascal and i want to do something bigger.
    Ive downloaded Phoenix to see what can i do with it. Ive noticed that it's deffinately not a one script engine. And I have no idea how to run it for using. One thing i figured, i need a better IDE then the free pascal. Ive been working with c++ since then, so as far as i understand, i need to manage project files. So ive downloaded Lazarus.

    I can't figure out how to get started with this. Could someone give me a step by step guide on how to set up Pheonix (or any engine for that matter) in lazarus? Cause now, it gives me such errors, that it can't find "phxEvents" etc.

    Thank you very much.

    Edit: Ok. Ive downloaded adorra 2D. I can't even find a single project file in the engines folder! So i guess i need to make one out of a demos .pas file... Ok, but it doesn't compile, cause it doesn't find "AdDraws"

  2. #2

    Re: Lazarus and Phoenix 2D engine

    Well I don't use Lazarus, my IDE of choice is Delphi. In Delphi you have to add component or install the package before you can use 3rd party add-ons. Anyway, try to read the install guide and / or other documents. Hope this helped a bit, good luck
    Wake up from the dream and live your life to the full

  3. #3

    Re: Lazarus and Phoenix 2D engine

    If you have downloaded the stable release of Phoenix from the homepage the demos should work out of the box in Lazarus.

    What needs to be done is mainly to set up the search paths in the project->compiler options.

    Howerver, if you plan to stick on windows i'd suggest trying out the free version of Turbo Delphi for win 32. It has alot better refactoring support, and design time features then lazarus (sadly). And it is easier to setup the projects.

    Amnoxx

    Oh, and this code appears to be an approximate replacement for return(random() & 0x01);

    Phoenix Wiki
    http://www.phoenixlib.net/

    Phoenix Forum
    http://www.pascalgamedevelopment.com/viewforum.php?f=71

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
  •