Author Topic: Box2d - 2D physics  (Read 100897 times)

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3375
  • Integrated Brain
    • View Profile
Re: Box2d - 2D physics
« Reply #180 on: 2011-Nov-15 »
Yes nathan don´t care I post before you, the files are correct.
 :good: :good:

Offline Codeguru

  • Mc. Print
  • *
  • Posts: 2
    • View Profile
Re: Box2d - 2D physics
« Reply #181 on: 2011-Dec-25 »
anyone able to compile the test into the android target ?
i got massive errors not found any header file:

compile+link:
C:\Users\MickyD\AppData\Local\Temp\glbasic\gpc_temp1.cpp:83:19: error: box2d.h: No such file or directory
C:\Users\MickyD\AppData\Local\Temp\glbasic\gpc_temp1.cpp:87:46: error: Source/Common/b2BlockAllocator.cpp: No such file or directory

.....
and a lot more errors

Offline neseir

  • Mc. Print
  • *
  • Posts: 21
    • View Profile
Re: Box2d - 2D physics
« Reply #182 on: 2011-Dec-25 »
Hi

I made it work on Android but I had to add a reference to the header (check this posting earlier in the thread)  :http://www.glbasic.com/forum/index.php?topic=3561.msg53765#msg53765

//Eirik

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2796
    • View Profile
Re: Box2d - 2D physics
« Reply #183 on: 2011-Dec-29 »
Not touched Box2D for a LONG time but I thought I would have a little play with this great lib once again, one thing though before I start a new project. The first post says "Updated version 13 oct 2011", is this the most recent version?
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10859
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Box2d - 2D physics
« Reply #184 on: 2011-Dec-29 »
Yes, I think so.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2796
    • View Profile
Re: Box2d - 2D physics
« Reply #185 on: 2011-Dec-29 »
Ah, cool, thank you.  :good:
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline msx

  • Prof. Inline
  • *****
  • Posts: 773
    • View Profile
Re: Box2d - 2D physics
« Reply #186 on: 2013-Oct-17 »
Is there a newer version?. There are many functions that are not implemented. Does anyone has done it?. I am interested in the various types of joints mainly, but any progress is welcome.

Sorry I can not help in the port but I am zero in C + +.

Thanks for everything.  :-[
« Last Edit: 2013-Oct-17 by msx »

Offline msx

  • Prof. Inline
  • *****
  • Posts: 773
    • View Profile
Re: Box2d - 2D physics
« Reply #187 on: 2013-Oct-17 »
Is there a newer version?. There are many functions that are not implemented. Does anyone has done it?. I am interested in the various types of joints mainly, but any progress is welcome.

Sorry I can not help with the port but I am zero in C + +.

Thanks for everything.  :-[

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3375
  • Integrated Brain
    • View Profile
Re: Box2d - 2D physics
« Reply #188 on: 2013-Oct-18 »
I think not,but really don't worry about C++, I don't have too much idea and I do my OpenGL Libs in C++...

Basically it's make a function standard of GLbasic,...

function physics:
inline
Here copy the Code of the real C++ code of Box2D,
endinline
endfunction

If you take a look to the another functions you can see the way... perhaps the problem can be with Arrays, and Integers in the C++ pg GLbasic have the pronoum DGInt ...

I think can't be complex but it's time for do it  :whistle: :whistle:

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5117
  • O Rly?
    • View Profile
Re: Box2d - 2D physics
« Reply #189 on: 2020-May-02 »
PLs reupload Gernot :)
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10859
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Box2d - 2D physics
« Reply #190 on: 2020-Jun-19 »
I put the zip in 1st post.

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5117
  • O Rly?
    • View Profile
Re: Box2d - 2D physics
« Reply #191 on: 2020-Jun-21 »
 :good:
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2796
    • View Profile
Re: Box2d - 2D physics
« Reply #192 on: 2022-Sep-26 »
Anyone still using this in the wild, how stable is it for deployment?
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)