Bug Issue: Blocks to get length of sound don't work on HTML5


Pages: 1

LIBERADO

  • Expert Stencyler
  • *
September 13, 2016, 02:01:49 pm
These blocks don't work on HTML5:     
« Last Edit: September 13, 2016, 02:02:13 pm by LIBERADO »


Issue updated by rob1221 - March 31, 2017, 11:04:45 am
  • Category changed from Design Mode Blocks to Engine
  • Tags added: html5


LIBERADO

  • Expert Stencyler
  • *
July 21, 2017, 09:33:24 am
On Android these blocks also don't work.

On HTML5: They always give 0 value.
On Android: They always give a very low value, even a negative value sometimes.
  • Version changed from 3.4.0 beta4 to Stencyl 3.4, Stencyl 3.5
« Last Edit: July 21, 2017, 09:33:24 am by LIBERADO »


Issue updated by Justin - February 01, 2018, 05:46:44 pm
  • Tags added: 3.5 HP


rob1221

  • Master Stencyler
  • *
February 07, 2018, 02:43:38 pm
I can't reproduce this.  Are you still seeing this problem on the latest build?
  • Status changed from New to Need Info


LIBERADO

  • Expert Stencyler
  • *
February 08, 2018, 12:40:41 am
On HTML5 it works well now.
On Android I can't test it due to this:
Code: [Select]
2018-02-08 09:26:03,539 INFO  [Thread-23] stencyl.sw.util.StreamGobbler: [haxelib.exe] C:\Users\LIBERADO\AppData\Roaming\Stencyl\stencylworks\android-builds\BORRAME Sound Test\google\intermediates\exploded-aar\com.google.android.gms\play-services-base\10.0.1\res\drawable-mdpi-v4\common_google_signin_btn_text_light_disabled.9.png: Error: File path too long on Windows, keep below 240 characters : C:\Users\LIBERADO\AppData\Roaming\Stencyl\stencylworks\android-builds\BORRAME Sound Test\google\intermediates\exploded-aar\com.google.android.gms\play-services-base\10.0.1\res\drawable-mdpi-v4\common_google_signin_btn_text_light_disabled.9.png
2018-02-08 09:26:03,541 INFO  [Thread-23] stencyl.sw.util.StreamGobbler: [haxelib.exe] :deps:google:mergeReleaseResources FAILED
2018-02-08 09:26:03,551 ERROR [Thread-23] stencyl.sw.util.dg.MessageDialog: Encountered errors while building your game.: Check your logs and post them to the forums.  - Please describe what you have been doing. Be as specific as possible.
« Last Edit: February 08, 2018, 12:40:56 am by LIBERADO »


Justin

  • Master Stencyler
  • *
February 08, 2018, 01:10:25 am
I suppose we should catch that error, and bring the user to a file dialog where they can select another folder in which their android builds will take place (a permanent setting for all games from then on).

For now, you need to do this manually, and for individual games, by following the second suggestion from this post. Add the following to your OpenFL settings for the game, changing the path to whatever you like.

Code: [Select]
<android build-dir="C:\tmp\${APP_TITLE}" />
« Last Edit: February 08, 2018, 01:12:37 am by Justin »


Justin

  • Master Stencyler
  • *
February 08, 2018, 01:20:01 am
And I've gone ahead and reported a separate issue for that.
« Last Edit: February 08, 2018, 01:20:09 am by Justin »


LIBERADO

  • Expert Stencyler
  • *
February 09, 2018, 01:19:48 pm
Tested on Android too. It seems to work well now on the latest build.
« Last Edit: February 09, 2018, 01:20:00 pm by LIBERADO »


Issue updated by rob1221 - February 09, 2018, 01:56:08 pm
  • Status changed from Need Info to Resolved
  • Tags removed: 3.5 HP


Pages: 1

Details

  • Reported
    September 13, 2016, 02:01:49 pm
  • Updated
    February 09, 2018, 01:56:08 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.4, Stencyl 3.5
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags