07-22-2023, 08:33 PM
I adapted my barebonesfzxNGN demo to your raylib library and It went well. I had to do some modifications to the engine, but its good to see what scenarios will break it. Raylib was not happy with my camera code, so I had to remove cameras, and just use the screen space. I'm sure raylib has its own camera functions.
Since you already have a physac in the works, I wont do a PR.
A lot of the functions and types are generic, and it might be a good idea to put some hints in the function name. For example, "Vector2" to "rylbVector2". I know that's a lot work, but it will keep different libraries from conflicting with each other.
I saw that you were having issues with the fact that QB64 can't return UDT's. I ran into this issue with fzxNGN. I ended up passing a UDT as an argument to a SUB and then modifying the UDT since it is passed by reference. It is far from an elegant solution and there are some gotchas, but I made it work.
Let me know what you need help with.
Since you already have a physac in the works, I wont do a PR.
A lot of the functions and types are generic, and it might be a good idea to put some hints in the function name. For example, "Vector2" to "rylbVector2". I know that's a lot work, but it will keep different libraries from conflicting with each other.
I saw that you were having issues with the fact that QB64 can't return UDT's. I ran into this issue with fzxNGN. I ended up passing a UDT as an argument to a SUB and then modifying the UDT since it is passed by reference. It is far from an elegant solution and there are some gotchas, but I made it work.
Let me know what you need help with.
2D physics engine https://github.com/mechatronic3000/fzxNGN
Untitled Rouge-like https://github.com/mechatronic3000/Untitled-Rougelike
QB Pool https://github.com/mechatronic3000/QBPool
Untitled Rouge-like https://github.com/mechatronic3000/Untitled-Rougelike
QB Pool https://github.com/mechatronic3000/QBPool