msha91's Recent Forum Activity

  • I made a game in construct 2. On localhost, it is working with sound but when I upload the project to the hosting server, the background music does not play on chrome browser.

    If you need the project details, I will provide you full details that construct 2 uses.

    Please see the following link for error so that you can have an idea of what's going on: https://drive.google.com/open?id=135HjO ... 8CQtRVZbac

  • dop2000, Many thanks ... you really are the best. Works like a charm. From now on, I'll be using 'On touched object' for buttons instead of 'Is touching'.

  • dop2000, Thanks,

    Now, it works without errors.

  • Yes, I wrote about the physics but now, I want it to have a sine behaviour after clicking on 'Sprite3' object. (not when dragging the 'Sprite')

  • dop2000, I removed all joints before disabling Physics but the error remains there.

    I don't want the drag and drop behaviour to the pendulum.

  • I am making a simple pendulum like to and fro motion, using sine behaviour, where the user first touches the 'Sprite2' object (the one that is colored in red) and then touches the 'Sprite3' object. By touching the 'Sprite3' object, I want the user to active the sine behaviour on the 'Sprite' Object and move to and fro as in the link. How can I do that ?

    Here is the .capx file for the reference.

    Thanks

  • The error is still there. The error shows when interacting with 'a' sprite. For 'b' and 'c' sprites, it works ok.

    I have seen the changes in the capx file (immovable and "on touched") and tested it on Chrome v63.

  • I don't want to make the pendulum static (immovable). In that case, how can I achieve the to and fro motion ?

  • I changed physics from box2d asm.js to box2d web but the error remains the same.

    Can you please explain what do you mean by 'avoid changing angle of physics by direct events' ? I mean how can I do that ?

  • I am making a pendulum game in construct 2 that involves physics behaviour. I got an runtime javascript abort() error in physics_behavior.js file, when I press release button on the first layout. I checked browser console but I can't figure out what is causing the layout to generate runtime error. I am attaching the link for the errors. Here are the links: https://imgur.com/u51ACQD and https://imgur.com/HoPGkgX

    Here is the .capx file: https://drive.google.com/open?id=1Ro_oz ... w77t4GCRq7

    You can run the game at your side, by following the text that is on the bottom left side of the layout.

    Any solution would be highly appreciated.

    Thanks

  • I have one logic in my mind, let's see if it works.

    I have to keep track of the previous layout by setting the global variable in 'Screen 4 Game Levels' event sheet and check for the level number and the previous layout variable.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tried "Go to layout Game Level4" and "Go to layout (by name)" also but same behaviour. How can I make the collision happen only once. Can I use 'Trigger Once' Event or some other logic like loop ?

    It means that I have to keep the separate event sheets for 'Game Level1', 'Game Level2', 'Game Level3' and any other subsequent 'Game Level' layouts.

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