MaujDeveloper's Recent Forum Activity

  • Problem Description

    "Replace Colour" effect on sprite not working on Samsung Galaxy J2

    Attach a Capx

    (How to attach capx here?)

    Description of Capx

    On tap of voice icon at top right corner its colour changes to yellow on all android devices except Samsung Galaxy J2.

    Steps to Reproduce Bug

    • export the given project to android
    • open it in Samsung Galaxy J2
    • click Voice icon at top right corner.

    Observed Result

    The color of Voice Icon changes to yellow on all android devices except Samsung Galaxy J2.

    Expected Result

    Voice Icon colour should Also change on Samsung Galaxy J2.

    Affected Browsers

    • Chrome: (YES)

    Operating System and Service Pack

    Developed on Windows 7 service pack 1

    Construct 2 Version ID

    Release 244 (64-bit)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yup....I'm calling that function much later.

  • Using function plugin I created a function jstest() in constuct 2. Now I want to call this function from android code(the game is embedded in android webView). I tried various combinations as follows but nothing worked.

    webView.evaluateJavascript("c2_callFunction(\"jstest\", []);", null);

    webView.evaluateJavascript("c2_callFunction(\"jstest\", [])", null);

    webView.evaluateJavascript("c2_callFunction('jstest', []);", null);

    webView.evaluateJavascript("c2_callFunction('jstest', [])", null);

    It seems more of java question rather than C2 but still can any one help me?

  • please someone answer this question.

  • construct does not support sound as project files. Is there any other alternative? I don't want users to wait till all the sound files downloads.

    What I did: I created a worksheet which have lots of sound files. I made two packages from exported project. Pkg1 contains all the js files, index.html, images etc and sound files required to play first two pages of worksheet. Pkg2 contains rest of the sound files which are required from third page onwards. As soon as Pkg1 gets downloaded I start playing from index.html. Before the user lands on page three pkg2 gets downloaded and extracted to "media" folder. But still the sound does not play on page 3 onwards(no exception, user able to interact with ui elements).

    So I want to understand how construct treats the resource files? Does it requires all the sound resources at the start of the game? Is there any solution to what I want to achieve?

MaujDeveloper's avatar

MaujDeveloper

Member since 17 Jul, 2017

None one is following MaujDeveloper yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies