msha91's Recent Forum Activity

  • dop2000, Let's focus on the issue that I have with me.

    When you run the 'Screen 5' layout and drag the red colored pendulum to the right side and drop over there, it starts to move very much like pendulum, towards left side of the layout. The timer starts when it is dropped and when it reaches the left side of the layout, the timer stops and after 4 seconds, the game shows the next layout (which is 'Screen 5 Q2' that sets the pendulum animation frame on layout load to 1). The same logic and behaviour is applied to the next layout. Again, when the timer stops, the game waits for 4 seconds and the game shows the next layout (which is 'Screen 5 Q3' that sets the pendulum animation frame on layout load to 2). After 'Screen 5 Q3', it should move to the 'Game Level4' layout and that's is the issue that I am having with me.

    Now, if you run the whole project and progressively moves to the 'Screen 5' layout, then 'Screen 5 Q2' and then 'Screen 5 Q3' and after 'Screen 5 Q3', the game moves to the 'Screen 5' layout, I have noticed this by running the project in 'Debug' mode, but I can't find the reason that is causing 'Screen 5 Q3' layout to move to 'Screen 5'.

    I hope that you understand what I am explaining.

  • zenox98, I forgot to remove the addons because I was developing the game. Now, I have updated the link in the post. Please use that link.

  • I am making a game in construct 2. It is in development phase and working perfectly. I have added the new layout to the project and that new layout is making an issue that I am having right now. The issue is that when I run the project (or even run in debug mode), it is not showing that newly created layout as expected. Instead, It goes to the first layout.

    I have checked every events in event sheet but i can't find any event that navigates to the start of the project (in this case, 'Screen 5 Q3' to 'Game Level4'). I am attaching the .capx file for the reference. Here is the link:

    https://drive.google.com/open?id=1vYg4n ... YOqEnl11aO

    Any solutions would be highly appreciated.

    Thanks

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.

msha91's avatar

msha91

Member since 24 Mar, 2017

None one is following msha91 yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies