2D simulation game using exlusively Lagrangian equations of motion. It's a 2D motocross game similar to X-Moto, ActionSupercross and such. Some stability issues persist but mostly it's good already. I shall compile it soon for Windows: one of the problems is that Windows compilers must periodically be reinstalled, and that's annoying.

Using Lagrangians in games is not a well documented thing, but it allows to achieve exellent results in very little time, soon after a good parametrization of a given physical system was found. The problem is collisions... they are more problematic to do. The near-end of this little game is to get started with using Lagrangians in games; the far-end is to provide groung for creating a 3D rally game using Lagrange equations of motion, one that fixes certain shortcomings of the CTruck3D _Open .

Ah very much thank to the Maxima project !! Without that program the calculations would have been impossible to do!

Features

  • I adopted a new method. The dynamics of free vehicle is simulated with a 5-DOF Lagrangian system. Then, if car tries to penetrate ground, a collision come into play to prevent it. As if it were a single ridig body. And a stabilisation spring is also there to keep it as close as possible to the surface of ground (if it's resting or rolling).
  • Some stabilility issues there are, but i will try to fix them: all simulators in which there are collisions or springs *have* stability issues... the question is to avoid critical situations, so....
  • I posted also a project (search it in my space) where there are other simulations with lagrangian method, also numeric-only approaches.
  • soon i will do another version which does all this simulation with only numerica derivatives... so that one can also deifine personalised motorcycles, recompile and play.

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow Lagrange_Motocross

Lagrange_Motocross Web Site

Other Useful Business Software
Everything Your Small Business Needs to Succeed | Connecteam Icon
Everything Your Small Business Needs to Succeed | Connecteam

Connecteam is an award-winning all-in-one employee management solution for daily operations, communications, and human resource management.

Easily engage and manage non-desk employees with Connecteam’s mobile-first platform that helps improve communication, enhance daily processes and increase productivity with custom checklists, forms, and reports. Schedule shifts and track accurate work hours with Connecteam’s automated GPS time clock and easily export approved timesheets to payroll. Connecteam helps you keep your employees sharp thanks to knowledge base centers and advanced training courses. Raise morale with employee recognition rewards and keep the entire company updated through the main news feed.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • first experiments resulted good.
Read more reviews >

Additional Project Details

Operating Systems

Linux, BSD, Windows

Intended Audience

Science/Research, Education, Developers

User Interface

OpenGL, GLUT

Programming Language

C

Related Categories

C Side-Scrolling Game, C Simulation Games

Registered

2012-04-02