Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: free 2d box rigid body demo for delphi!

  1. #1

    free 2d box rigid body demo for delphi!

    this:

    http://www.gtatools.com/secret-place/Box.zip

    is delphi equivalent translation of this:

    http://uk.geocities.com/olivier_rebellion/box.zip

    okay, newton and ode outpreform it, but aniway it is a good example.
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  2. #2

    Re: free 2d box rigid body demo for delphi!

    Quote Originally Posted by Delfi
    this:

    http://www.gtatools.com/secret-place/Box.zip

    is delphi equivalent translation of this:

    http://uk.geocities.com/olivier_rebellion/box.zip

    okay, newton and ode outpreform it, but aniway it is a good example.
    Hi,
    C++ version I can download...but I can't download
    delphi equivalent (the first link)...do you know any downloadable source?
    thanks

  3. #3

    free 2d box rigid body demo for delphi!

    just go to http://uk.geocities.com/olivier_rebellion/ and download delphi build. the real link is:
    http://uk.geocities.com/olivier_rebe...box_delphi.zip but maybe it does not alow direct linking.
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  4. #4

    free 2d box rigid body demo for delphi!

    thanks it works.

  5. #5

    free 2d box rigid body demo for delphi!

    Have you compiled it without problems ?
    I downloaded the source code, delphi DPR, opened in delphi,
    I'm trying to compile, but with some errors "Udenclared Identifier: 'MS_LIB'"

  6. #6

    free 2d box rigid body demo for delphi!

    Quote Originally Posted by fire.tiger
    Have you compiled it without problems ?
    I downloaded the source code, delphi DPR, opened in delphi,
    I'm trying to compile, but with some errors "Udenclared Identifier: 'MS_LIB'"
    it uses rather odd, not so compatible glut headers, just look for glutInit(MS_LIB); and replace it with the glut initialization that you use.
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  7. #7

    free 2d box rigid body demo for delphi!

    Thanks,

    Finally, I found correct OpenGL32.dll, GLU32.dll, glut.pas,
    I can compile whole BOX.dpr project without any problems...
    BUT, program itself, doesn't work..there is :

    glutInit(MS_LIB);
    glutInitDisplayMode(GLUT_DOUBLE or GLUT_RGBA or GLUT_DEPTH);
    ....

    and glutInit(MS_LIB) returns false...so program jump to error...

    do you know why ?
    thanks

  8. #8

    free 2d box rigid body demo for delphi!

    look into glutInit for what causes the error.
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  9. #9

    free 2d box rigid body demo for delphi!

    I got it...exactly these lines of code :

    GLUTHandle:= LoadLibrary(MS_GLUT);
    if (GLUTHandle > 0) then begin
    LoadProcs;
    Result:= True;
    end;

    and GlutHandle is zero...so it returns false in output...
    but why it can't loadlibrary ??

    thanks

  10. #10

    free 2d box rigid body demo for delphi!

    Quote Originally Posted by fire.tiger
    I got it...exactly these lines of code :

    GLUTHandle:= LoadLibrary(MS_GLUT);
    if (GLUTHandle > 0) then begin
    LoadProcs;
    Result:= True;
    end;

    and GlutHandle is zero...so it returns false in output...
    but why it can't loadlibrary ??

    thanks
    most likely it can't find the glut dll...
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

Page 1 of 3 123 LastLast

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
  •