Acceleration -> Text crash

0 favourites
  • 4 posts
From the Asset Store
Various Bell Sounds (from small to huge) / 35 Unique Clips / 2:46 minutes of audio
  • Link to .capx file (required! If link is blocked remove the http and www parts):

    Steps to reproduce:

    1. Just try to run the example. Crash is immediate.

    Observed result:

    Crash, some java jargon is displayed.

    Expected result:

    Display of the touch Y acceleration.

    Browsers affected:

    Chrome: yes

    Firefox: untested

    Internet Explorer: untested

    Operating system & service pack:

    Win7 SP1

    Construct 2 version:


  • Just tried setting a global variable to Touch.AccelerationY, crashes that way to, has nothing to do with Text object. In the debugger, I also noticed that the acceleration values for the touch object are not displayed in the watch window. Bug? Related? Doing something wrong?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tried running the layout and doing the preview over wifi on my android phone in the chrome browser - It shows a number instead of crashing java. The number sits still for a while. Once it started jumping around randomly, but touching and dragging didn't seem to affect the value. Im a bit baffled. I suspect the crash is related to the fact that my PC doesn't have a touch input, since it sort of works on my phone's browser.

  • Huh, that's odd - desktop Chrome fires a devicemotion event with null values. It's strange devicemotion would fire at all for a desktop computer. I've added a workaround for the next build, thanks for the catch.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)