Results 1 to 10 of 179

Thread: nxPascal

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Any particular reason why you removed "boundsf" and "boundsi". Or they just were duplicates of something?

  2. #2
    They are in nxTypes as far as i see
    https://code.google.com/p/nxpascal/s...rc/nxTypes.pas
    I don't remember where i moved them from, but it seemed more proper place.

  3. #3
    Hi,

    Was looking into trying this, got all the paths etc setup but can't compile the FPS demo into Delphi XE2, by the looks of it due to the old pngimage library (lots of left side cannot be assigned errors).

    I think XE2 has PNG built in suppose I might have to play around with it!

    Oh before I forget, I wanted to use this to dabble around with 3D (never really tried it before), does nxPascal load/manipulate models of a particular format?

  4. #4
    You should enable Assignable typed constants in compiler options.
    Set to True.
    But yes, XE2 should have already png support, just remove the nxPascal png folder from the paths.
    If i remember correctly, i had same problem with XE(2)

  5. #5
    Quote Originally Posted by hwnd View Post
    You should enable Assignable typed constants in compiler options.
    Set to True.
    But yes, XE2 should have already png support, just remove the nxPascal png folder from the paths.
    If i remember correctly, i had same problem with XE(2)
    That didn't make a difference for the left side cannot be assigned too, I assume it's a recent update in XE series. I never had to deal with it because I never did it that way lol.

    I remove png though and managed to get it to compile, had to remove BASS audio references too (so no sound) due to errors but I know how to use BASS directly anyway.

    Does anyone know what, if any 3D model formats are supported?

  6. #6
    Supported formats are W3D (used in my Edit3D modelling program that comes with nxPascal), OBJ and MilkShape3D ascii format. None of them support joints or animations at the moment, and i am not 100% sure that OBJ and MS3D are bugfree.

    Also you could definitely tell me, maybe in private messages more details about these compile errors. Again i was not aware at all that there was a system where nxPascal would not work straight out of the box. I am still mainly supporting Lazarus only, and i don't have any Delphi installed on my computer.

  7. #7
    So I would assume 3D wise pretty much anything goes aside from animation (anything requiring joints etc) and probably high poly count stuff (don't know a lot about 3D).

    The only problems so far with demo's are with the included pngimage which is solved by removing that folder, PNG is support directly in Delphi for some time now (I think it's even the same guy that implemented it), and with
    the BASS implementation (the included .pas) file had quite a few errors but I just removed sound from the game so I could test it rather than mess about with it.

    I have always used Delphi as I like the IDE although I don't use a lot of it's features, never tried Lazarus or others.

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
  •