There's no event quite like OSCON—the best place on Earth to sharpen your skills and discover new techniques, making you better at what you do and igniting your love of all things digital. You'll find everything open source: languages, communities, best practices, products and services. Join us May 8-11 in Austin, TX, and let OSCON ignite your love of all things digital!Sponsored Listing
- Programming Language: MATLAB ×
CTruck 2D is a 2D, oldstyle, physically realistic 2D truck game. Predecessor of the CTruck3D vehicle simulator series. I wrote it from zero in C (+OpenGL&GLUT). It has ascii-art and nice graphics version, and a special funny version It's a very basic thing: there are free rigid bodies and springs with strong attenuation/damping. It's very simple and very short code, and collisions of bodies with ground are good and stable. A good simulation of this kind, however requires Lagrangian method. I proposed the Lagrange_motocross as an alternative of this kind. The code is not much longer but the it's overall more complicated, and collisions are a bad issue.