MotoR's Forum Posts

  • did you tried to export with cordova?

    No. In my case the app must work on browsers like Chrome and FireFox. Not like a standalone app.

  • Problem Description

    "Key code is down" does not work on Google Chrome on Android while using hard keyboard connected via OTG cable (however "On any key pressed" works perfect!).

    Attach a Capx

    https://yadi.sk/d/H8Bja_lpzh6iw

    Description of Capx

    My test project shows when keys 48 - 57 (numeric keys) are pressed or released.

    Steps to Reproduce Bug

    • Run the project on a PC to connect in via WiFi.
    • Start Google Chrome on Android device and connect to the test project.
    • Connect hard keyboard via OTG cable to the device.
    • Try to press numeric keys.

    Observed Result

    The info text says that all numeric keys are always released, even when they realy pressed.

    Expected Result

    The info text have to say which keys are pressed.

    Affected Browsers

    • Chrome 54.0.2840.85 (Android 4.2.2 Samsung Galaxy S4): (YES)
    • Chrome 54.0.2840.85 (Android 4.3 Samsung Galaxy S3): (YES)
    • Chrome 54.0.2840.85 (Android 5.1.1 Nexus 7): (NO)
    • Chrome (Windows): (NO)
    • FireFox 50.0 (Android 4.2.2 Samsung Galaxy S4): (YES)
    • FireFox 50.0 (Android 5.1.1 Nexus 7): (NO)
    • FireFox (Windows): (NO)
    • Internet Explorer: (NO)

    Operating System and Service Pack

    Windows 7, SP 1

    Tested on Android 4.2.2, 4.3, 5.1.1

    Construct 2 Version ID

    239 64-bit

  • [quote:g80nv72s]0 Red objects are picked because 0 Red objects are outside the layout, so 0 Red objects are destroyed.

    I think you're right. That's why the red object is not destroyed. As well as we expect that only one black bar is destroyed when we click on it.

    It's not a bug, it's just a feature.

    Thanks a lot.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh you're on to something, does it means that destroy object doesn't work on OR block perhaps the best description for the bug? What do you think?

    Thanks. I agree with it. I changed the topic title

  • [quote:29kq13o8]OR block = no bug

    Destroy object = no bug

    Or block + destroy object = bug

    Yes, you're right. It works so.

    [quote:29kq13o8]I've separated it into different blocks at the moment to get it working.

    Yes. If I call the function and do all destroy actions in it - objects will be destroyed correctly. 3-d example: https://yadi.sk/d/hfq_N7ouavoox

    However, I think that the bug must be fixed anyway.

  • [quote:33vwa5ce]the OR block seems to behave like an AND block

    I created the second example that shows that the OR block works right. In this example when the blue circle is outside the text "The blue circle is outside!" becomes visible but the red circle is not destroyed.

    Thats's the second example:

    https://yadi.sk/d/bSP-X9rwav7XW

    [quote:33vwa5ce]I'm thankful to you for this finding, finally I figured out what the hell is wrong with my events.

    The second example shows that events work right. But "Destroy" action does not work.

  • I have tested this example on another PC - the problem persists. Also Win7 SP1, Construct 2 Release 178 (64-bit).

  • Which OS, service pack and version of Construct 2 do you have? 32 or 64?

  • Hi. I found a bug.

    Problem Description

    On out of layout event I try to destroy object, but after Destroy action it keeps staying on a layout.

    Attach a Capx

    https://yadi.sk/d/cZrqjWGQau8qi

    Description of Capx

    It's just an example.

    Steps to Reproduce Bug

    Click to the bottom black rectangle. The blue circle will start to fall down. When it will be out of the layer the red one must be destroyed. But the red circle stays on the layout.

    Observed Result

    The red circle is staying on the layout when the blue circle is out of the layout.

    Expected Result

    The red circle must be destroyed when the blue circle is out of the layout.

    Affected Browsers

    • Chrome: YES
    • Internet Explorer: YES

    Operating System and Service Pack

    Windows 7 SP1

    Construct 2 Version ID

    Release 178 (64-bit)

  • Thanks a lot. It's a great way! But I can't understand what is dt?

  • Hello.

    I want to rotate the world and I need to to change the gravity angle. How to do this? I did not find any property or function to change the angle of gravity. I only found a force of gravity <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    When I try to rotate the box (see example) it looks unnatural. See the video: http://youtu.be/b4hUTYOjajU

    Example: http://yadi.sk/d/U1_AOg57MbJ2v

    Please add an angle of gravity.

  • Thanks a lot, it helped. <img src="smileys/smiley1.gif" border="0" align="middle" /> But it seems a little bit strange that I need to do something after I change the font size.

  • Link to .capx file (required!):

    This problem appears with any project if you are using medium or large fonts in the OS.

    Steps to reproduce:

    1. Set the size of text to 125%.

    <img src="http://i.stack.imgur.com/EeApN.png" border="0">

    2. Open "Parameter for Function: Call function" dialog for example (see images): image 1, image 2, image 3.

    Operating system & service pack:

    Windows XP/7/8

    Construct 2 version:

    All versions.

  • You are right. Thanks. It helped. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Link to .capx file:

    https://drive.google.com/file/d/0B1iVCxWCxqWQZVhQVFR3UVZ2Z28/edit?usp=sharing

    Steps to reproduce:

    1. Open and run.

    Observed result:

    3 javascript errors (see images): image 1, image 2, image 3

    Expected result:

    Must work:)

    Browsers affected:

    Chrome: yes

    Firefox: I did not check.

    Internet Explorer: yes

    Operating system & service pack:

    Windows 7 sp 1

    Construct 2 version:

    r150