msha91's Forum Posts

  • Thanks dop2000,

    It works like a charm.

  • I got a runtime error when I run the demo, for the first time only, (drop the ball to some height and again try to drag the ball while it is in motion) that you sent in the link: https://www.dropbox.com/s/yueo56ie8kxo0 ... .capx?dl=0

    For error, see this link: https://drive.google.com/open?id=1S_VHC ... eFuAyq-Jpx

  • I really appreciate your effort dop2000,

    Yes, I really need physics because I have to make the things like gravity acting on the ball when the user releases it and gradually slow down the to and fro motion over certain period of time.

    I don't let the user to have the sine behaviour on the ball where the ball keeps the +ve and -ve cycle constant and does not slows down that cycle over time. This is unrealistic, not real especially when physics is involved.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • dop2000,

    Thanks for the improved demo!

    I achieved what I was waiting for and also updated the post question, but a little problem. I have attached a 30 sec video in the link that addresses the problem clearly with text captions. Here is the link for the video: https://drive.google.com/open?id=14eL8- ... HACOTQ7a7i and for the .capx file: https://drive.google.com/open?id=10nmdc ... Vvj6R35RS0

  • brunopalermo Thanks for the example.

    Your example is about impulse in physics, and I want to have a distance joint instead of revolute joint. I want to have a pole connected to a ball instead of creating a long chain that acts as a hinge.

    I also want the user to drag a ball to specific height (let's say point A) and when the user drops over to the point A, it starts to move downward due to the gravity, a fundamental concept in physics, and then starts to and fro motion. I have attached the image so that you can understand what I am saying. Here is the link: https://drive.google.com/open?id=1uKZ_t ... zDkLs-R6ry

  • I am making construct 2 game and I need a guidance on how to implement pendulum physics (not without physics). I want the user to drag and drop the ball (the ball has pole attached to one end) from certain height, let's say h' and when user drops the ball from h', the ball will swing just like real pendulum moves when dropped from certain height. How can I achieve this functionality. I have attached the link for the .capx file for the reference.

    https://drive.google.com/open?id=1xqkbf ... PbjRvNLlWw

    Any help would be highly appreciated.

    Thanks for your time.

  • I am making an educational game in construct 2. It contains shooting gun containing three colored balls ( basically, those are charges having red, green and blue color). Each colored charge have two charges, +ve and -ve.

    Now, I want those charges to be positioned to spawned (or whatever the simple solution is) one by one and in loop. Let's say I created the red charge then I shoot it. Then, I created the blue charge in place of red charge and then shoot it. Then, I created the green charge in place of blue charge and then shoot it. Now, How do I create or spawn single instance of red charge. I have tried many solutions but didn't work.

    Any solution would be highly appreciated.