Results 1 to 9 of 9

Thread: Chipmunk and ZenGL

  1. #1

    Chipmunk and ZenGL

    I'm writing Pascal header for Chipmunk. All main functions has been already implemented. Little bit later I will make package with this header, one or few demos and put all needed dll's and other stuff for different OS'es. Header will be independent, so it can be used without ZenGL too

    Simple demo

    Last edited by Andru; 09-12-2010 at 06:12 AM.

  2. #2
    (Link doesn't work) But looks good!

  3. #3
    My fault >_< Fixed.

    PS: zglChipmunk.pas is already in svn.

  4. #4
    this is great , i've been always searching for a pascal translation of Chipmunk , thanks

  5. #5
    With the screen packed full I get ~170fps. I'm not familiar with how Chipmunk works, however. The demo won't use more than 1 core, so I'm guessing Chipmunk doesn't operate in its own thread? That would seem odd to me... there should be at least 2-3 threads. (Game logic / drawing / physics) Fairly confident I'm not hitting a GPU barrier at least. As is though, looks like it should be able to make at least a basic physics based game with no problem.

  6. #6
    Quote Originally Posted by dazappa
    Chipmunk doesn't operate in its own thread?
    If you want you can create your own thread and process Chipmunk there.

    Quote Originally Posted by dazappa
    there should be at least 2-3 threads. (Game logic / drawing / physics)
    It's not so simple as you imagine

    Quote Originally Posted by virtual
    this is great , i've been always searching for a pascal translation of Chipmunk , thanks
    News didn't update yet on main page of pascalgamedevelopment, so I will write here - I'm working on Chipmunk binding for Pascal There is an official web-page - http://code.google.com/p/chipmunk-pascal/
    At svn you can find version which have smaller dll and some files for static compilation with Chipmunk for FreePascal.
    Last edited by Andru; 09-12-2010 at 05:53 PM.

  7. #7
    I have experience with multithreading, at the very least, but I haven't yet fiddled with testing threads and multiple cores. I've just assumed so far that if a thread is using a lot of CPU the OS would be intelligent enough to process the thread on a separate core.

  8. #8
    Hi Andru,

    the dll is a original compiled C dll or not?

    Thanks
    Sesilla

  9. #9
    Quote Originally Posted by SesillaAndromeda
    the dll is a original compiled C dll or not?
    Original, compiled with MinGW32(GCC for Windows).

    PS: sorry for the late answer, I just didn't saw your post
    Last edited by Andru; 15-12-2010 at 08:45 AM.

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
  •