krish's Recent Forum Activity

  • Hi,

    Attaching my project and screenshots. Hoping someone knows how to fix :)

    Screenshot link

    Project download zip

  • Hi,

    I followed scirra.com/tutorials/73/supporting-multiple-screen-sizes/page-2 and

    I tried this in r80.2, but it leaves white space on top, left and right of my background.

    My layout and window size both are 1366x768 and so is the background image.

    Any one know the reason?

  • This could be considered generic too, It's about interchanging position of two objects when clicked.

    <img src="http://dl.dropbox.com/u/48735785/Construct2_Issues/snd_on_off.png" border="0" />

    So as per the image,

    When Game starts...

    on_layout2 - is a sound ON button placed on visible screen area (136,370).

    off_layout2 - is a sound OFF button placed outside visible screen (-127,370)

    What I wanted to do...

    1. When User clicks on on_layout2, the object should move to position of off_layout2(-127, 370) and off_layout2 should move to visible screen (136, 370)

    2. When User click on off_layout2 that is now on visible screen, it should move to position of on_layout2 (-127,370) and on_layout2 should move to visible screen (136, 370)

    Action 1 works, but when I add the 2 action it doesnt work.

    The object on_layout2 just stays there.

    I have also tried putting in positions instead of using "move to position of another object"

    Same result.

    Been cracking my head over this past hour.

    Any suggestions. Help?

    Thank you,

    Krish

  • True. It should go till end.

    But whenever I bring the mouse back on the object, shouldn't the animation start again from the beginning?

    My action says "set animation to <animation name> from beginning"

  • Okay Got it.

    1. I've used invert mouse event .. was looking for it in "add event". :)

    2. Still, what is the right way to

    "When mouse goes back on it, the animation should continue from the last frame that was running."?

  • Try Construct 3

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

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

    Description:

    Create a "Cursor over object" event and set animation.

    Expected:

    When mouse is moved over the object, animation happens.

    When the mouse is moved away from object, animation should stop.

    Please note: Animation is not set in loop.

    What is happening:

    When mouse is moved over the object, animation is happening.

    But when mouse is moved away and again brought on the object animation doesnt happen.

    I have tried combinations with using Stop animation, using set current frame. But it doesn't work.

    Release: r66

    OS: Windows XP

    Browser: Chrome 15.x

    What is the correct way to do it?

    1. I am looking at playing an animation when mouse is over and object and when mouse is not over it, the animation should stop.

    2. When mouse goes back on it, the animation should continue from the last frame that was running.

krish's avatar

krish

Member since 13 Nov, 2011

Twitter
krish has 1 followers

Connect with krish

Trophy Case

  • 13-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

16/44
How to earn trophies