2D Physics Engine Help
#3
(06-12-2023, 03:16 PM)TerryRitchie Wrote: I figured the process of converting the Java OOP code to functions and procedures would be fairly straight forward ... not so much.
Yikes! I would recommend sticking with procedural code, if you can find it. Regular C is procedural, and would surely be easier to translate to procedural QB64PE.

(06-12-2023, 03:16 PM)TerryRitchie Wrote: My next thought was to incorporate the Box2D physics engine (the engine that Rovio used to create Angry Birds) into QB64. The Library is written in C++ and I figured by using DECLARE LIBRARY I could get this done.
https://box2d.org/about/
Spriggsy is the guy you'll want to talk to about using external libraries or APIs within QB64/PE. However, I think dependencies on libraries outside of the native OS would complicate things...

Good Luck!
Reply


Messages In This Thread
2D Physics Engine Help - by TerryRitchie - 06-12-2023, 03:16 PM
RE: 2D Physics Engine Help - by a740g - 06-12-2023, 03:35 PM
RE: 2D Physics Engine Help - by madscijr - 06-12-2023, 04:11 PM
RE: 2D Physics Engine Help - by Ultraman - 06-12-2023, 04:30 PM
RE: 2D Physics Engine Help - by a740g - 06-12-2023, 05:22 PM
RE: 2D Physics Engine Help - by justsomeguy - 06-12-2023, 09:34 PM
RE: 2D Physics Engine Help - by justsomeguy - 06-12-2023, 09:36 PM
RE: 2D Physics Engine Help - by TerryRitchie - 06-16-2023, 02:25 PM
RE: 2D Physics Engine Help - by Kernelpanic - 06-12-2023, 11:11 PM
RE: 2D Physics Engine Help - by Sprezzo - 06-13-2023, 02:13 AM
RE: 2D Physics Engine Help - by justsomeguy - 06-15-2023, 03:43 AM
RE: 2D Physics Engine Help - by TerryRitchie - 06-15-2023, 05:08 AM



Users browsing this thread: 1 Guest(s)