03-04-2024, 03:19 PM
A physics library would be fun. But I don't want to add something like box2d support to the language itself. I want as few dependencies as possible. And currently there's no way to write "extensions" for n7 (write a library in n7 that calls functions in a DLL file). N6 had that. I will probably implement such an extension system later on, but it's not that high up on my priority list.
On the other hand, writing a physics engine directly in n7 would be quite fun and something I'd love to try. Would it be possible? I ... think so. Not as advanced as box2d but probably "good enough".
Physics games (like Angry Birds), ofcourse, require drawing transformed images. I'm working on that now, and it's going very well. I was thinking about going 3d after that (software rendered 3d, as in the good old days). But maybe I'll try physics instead, I'm not sure - I'd probably have to buy a book ...
On the other hand, writing a physics engine directly in n7 would be quite fun and something I'd love to try. Would it be possible? I ... think so. Not as advanced as box2d but probably "good enough".
Physics games (like Angry Birds), ofcourse, require drawing transformed images. I'm working on that now, and it's going very well. I was thinking about going 3d after that (software rendered 3d, as in the good old days). But maybe I'll try physics instead, I'm not sure - I'd probably have to buy a book ...