krish's Forum Posts

  • No, nothing like that.

    I just reinstalled r84 again and it works.

    No changes made.

    Strange.

  • Ashley

    'At end of layout' only triggers when you've done another 'go to layout' action. So which layout are you hoping it will go to? Can you share your .capx as well?

    I have done go to layout by name and also by selecting the layout, and the same thing works in r80 I have installed on my desktop, but didn't on r84.

  • Have 3 layouts

    In event sheet1, at end of layout -> Go to layout2

    In event sheet2, at end of layout -> Go to layout3,

    Sadly, after layout1 ends it does nothing.

    Even in preview mode, if you run layout2 it will run properly, but it wont go to layout3

    Anyone facing this similar.

  • I have the same version.

    I just looked in the error console. the body part looks like this

    style="background-image: -webkit-canvas(c2csscanvas); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; cursor: pointer; background-position: initial initial; background-repeat: initial initial; "

    Notice cursor: pointer; <-- it toggles between 'auto' and 'pointer' when I keep the mouse hovered over the sprite.

    Also what's with the 'backgroun-position' and 'background-repeat'?

    Shouldn't that value be 'initial' rather than 'initial initial'? .. chrome error console style show it marked mistake anyway.

  • I have something like this

    Mouse OVer an object changes mouse style screenshot

    And this didnt work on my machine for long, pulled my hair out and then tested on 32bit machine and voila it works!

    Things to note:

    Using latest chrome

    Using latest C2

    Works on 64bit firefox and IE9

    P.S: I have more such issues that dont work across all browsers.. will be raising more bugs/forumposts :)

  • Ashley

    Oh! sorry .. my bad. :)

    Here it is - the capx - dl.dropbox.com/u/48735785/Construct2_Issues/game-testing-capx.capx

  • Oh sweet! :)

    In addition to this, I'm using git to version the whole directory. :D

  • Hia,

    Does this *.backup1 have the whole project in one capx file or something?

    Is it automatically created (cos I didn't) and is there a way to turn it off?

    Does it do any harm to delete that backup1 file?

    -rw-r--r--    1 krish    Administ      256 Mar 3 12:58 README

    drwxr-xr-x    2 krish    Administ        0 Mar 4 02:05 Textures

    drwxr-xr-x    2 krish    Administ     4096 Mar 4 11:55 Event sheets

    drwxr-xr-x    3 krish    Administ        0 Mar 4 11:55 Animations

    -rw-r--r--    1 krish    Administ      958 Mar 4 12:06 testing.uistat

    e.xml

    -rw-r--r--    1 krish    Administ   341065 Mar 4 12:06 testing.capx.backup1

    -rw-r--r--    1 krish    Administ     1953 Mar 4 12:06 testing.caproj

    drwxr-xr-x    2 krish    Administ     4096 Mar 4 12:06 Layouts

  • I just tried with "margins" set to 0,0 on the layout - banner in the above pasted project.

    Doesn't work yet! :(

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

  • Try Construct 3

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

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

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