Important: Please read the Qt Code of Conduct -

How to use box 2D physics engine in qt quick (qml) apps

  • hello friends,I came across many videos showing the power og box2d physics engine and qml..but i want to know to how to implement my friends..if you have any idea..please share with your friend..


  • Dear imrrk. You're asking for too much. The next of yours should be to ask us to write the whole application for you, and that will be okay. We can call it "job" and get money for it.

    Watching videos is great, but to implement that you should be a kind of a programmer

  • Hi,

    If you haven't done so already, you should have a look at the code in "qmlarcade": -- it gives an example of a simple QML game using Box2D.


  • hello kxyu,forums are meant to share if i want to learn new technologies,then u cant stop me...

  • Hi imrrk,

    nobody is trying to stop you from learning new technologies (on the contrairy!), they are trying to teach you an important new one: help you to help yourself and ask questions in such a way that they are interesting to answer. Demanding that people "share their knowledge" because "that's what forums are meant" for (according to you) isn' t the perfect technique for that.

    While not written for forums, I think at least 90% of the advice given in "this well-known FAQ": also applies here. Please read through it, and rephrase your original question accordingly.

  • Andre, thanks, that's exactly what I meant. I dipped into the faq (it would be nice everybody demanding help to read that) and here a some quotes for you, imrrk.


    How can I use X to do Y?


    If what you want is to do Y, you should ask that question without pre-supposing the use of a method that may not be appropriate. Questions of this form often indicate a person who is not merely ignorant about X, but confused about what problem Y they are solving and too fixated on the details of their particular situation. It is generally best to ignore such people until they define their problem better.

    Before asking a technical question by e-mail, or in a newsgroup, or on a website chat board, do the following:

    Try to find an answer by searching the archives of the forum you plan to post to.

    Try to find an answer by searching the Web.

    Try to find an answer by reading the manual.

    Try to find an answer by reading a FAQ.

    Try to find an answer by inspection or experimentation.

    Try to find an answer by asking a skilled friend.

    If you're a programmer, try to find an answer by reading the source code.

Log in to reply