farhanx's Recent Forum Activity

  • yes, my autoplay mode is set to preload, is that okay?

  • My game in html5 browser-based, I have added a video inside the game. It works fine at the localhost level but when I upload this on the go-daddy server then everything works fine except video. The video takes pause and run time to time which seems like it is not properly loaded.

    Is there a way to load the whole video before the layout displays its content?

  • big Infinity thanks for your reply , if suppose i would like to support x86 architecture as well but since cocoon speed is very well so i am not interested in XDK, what would you suggest me in order to have both of them? Do i need to build x86 on XDK and arm64 on cocoon.io?

  • I am using canvas+ with cocoon.IO , It generated two files one for debug version and other non signed apk. When i deploy it inside my mobile the non-signed.apk does not works and gives parser error , there was a problem parsing the package... the debug version of apk runs fine and install successfully. Secondly it generates only arm version not x86 through cocoon.io compilations..

  • I see this button when i build my app with vs 2013 for windows 8.1 app but for windows 10 when i build it with vs2015 it does not show any button on the file menu ... In order to make it full screen i have to set the mode to tablet mode and i have to make task bar auto hide. Same app if i build it with vs 2013 for windows 8.1 app it works fine and get full screen.

  • did you find any solution for this? I am facing same issue ...

  • My app is an interactive ebook app , user just need to click the start button and the ebook will start reading the story. The problem is if user do not touch the screen for few minutes then mobile screen gets lock automatically. Is there a way to stop automatic mobile lock and sleep through construct2 code or plugin... ???

  • Problem Description

    I am facing a strange error , if I run it with chrome android browser using wifi , then whenever i switch the windows suddenly it lost the sounds. I am running music behind the application which runs fine but other sounds stop working if i switch the windows. I thought maybe this error is due to the chrome browser so i have build it with crosswalk on XDK and then i ran the application directly on the device. In start everything works fine but if i do not touch the screen and device mode goes into sleep mode then if i wake up the device it get lost all sounds of the buttons except music. So it seems like this is coming from construct2 because running the app on chrome android browser or running as an apk both gives same results.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/104 ... 0game.capx

    Description of Capx

    This is basic application sample space blaster which comes with construct2, i did not change anything in its default code. It runs background music and audio sounds.

    Steps to Reproduce Bug

    • Step 1 : Run the application on wifi and open the chrome browser inside android
    • Step 2 : All sound and music will work fine , now start switching your window.
    • Step 3 : Then switch back to your game window and you will find the music is still running but it lost the object sounds.
    • Step4: Now close the game and restart it in order to hear proper sounds.
    • Step5: This time start the game again and just leave the screen without any touch.
    • Step6: You will see the sound is gone again just music is playing.
    • Step7: This situation happend randomly sometime if you press two or three times in order to produce this error.

    Observed Result

    I have tested with remote debugging of chrome from my computer and found following errors occours before i lose audio sounds.

    call.preview.js:1021 
    Uncaught (in promise) DOMException: A call to lockOrientation() or unlockOrientation() canceled this 
    
    [/code:2db9u2ea]
    
    [code:2db9u2ea]
    Uncaught (in promise) DOMException: A call to lockOrientation() or unlockOrientation() canceled this call.Runtime.tryLockOrientation @ preview.js:1021
    Runtime.initRendererAndLoader @ preview.js:739
    Runtime.loadProject @ preview.js:1655
    xhr.onload @ preview.js:410
    [/code:2db9u2ea]
    
    [img="https://dl.dropboxusercontent.com/u/104183650/error1.png"]    
    
    [b]Expected Result[/b]
    It should not lose its sounds if i would switch the game in middle , music stays fine but it lost the sound clicks and effects.
        
    [b]Affected Browsers[/b]
    [ul]
        [li] Chrome: (YES) [/li][/ul]
        
    [b]Operating System and Service Pack[/b]
    Android OS Lollipop 
    Nexus 5 
    android version 5.1
        
    [b]Construct 2 Version ID[/b]
    Release 216
    
    @Ashley
  • I am facing a strange error , if I run it with chrome android browser using wifi , then whenever i switch the windows suddenly it lost the sounds. I am running music behind the application which runs fine but other sounds stop working if i switch the windows. I thought maybe this error is due to the chrome browser so i have build it with crosswalk on XDK and then i ran the application directly on the device. In start everything works fine but if i do not touch the screen and device mode goes into sleep mode then if i wake up the device it get lost all sounds of the buttons except music. So it seems like this is coming from construct2 because running the app on chrome android browser or running as an apk both gives same results.

    Error i have faced were following

    call.preview.js:1021 
    Uncaught (in promise) DOMException: A call to lockOrientation() or unlockOrientation() canceled this 
    
    [/code:2mwqagoc]
    
    [code:2mwqagoc]
    Uncaught (in promise) DOMException: A call to lockOrientation() or unlockOrientation() canceled this call.Runtime.tryLockOrientation @ preview.js:1021
    Runtime.initRendererAndLoader @ preview.js:739
    Runtime.loadProject @ preview.js:1655
    xhr.onload @ preview.js:410[/code:2mwqagoc]
    
    [code:2mwqagoc]javascript error uncaught invalidstateerror failed to execute 'drawimage' on 'canvasrenderingcontext2d': the htmlImageElement provided is in the 'broken' state. http://localhost:50000/preview.js, line 1858 (col 11)[/code:2mwqagoc]
    
    I am desperate to fix this but after spending 6-8 hours I am failed and need help ...
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I made an app with construct2 has embedded 2 different languages. So my targets are two continents i need to show the app name and its contents in that particular language but for the rest of the world i would like to show it in english. Can some one guide me how to make one app with two different regional based contents ??? Is it possible in Android play store?

  • Hi recently have uploaded my app in the google play , but on some devices its seems stuck in the middle of loading. Then it seems get crash , i am unable to find why its crashing because all my devices which i have are working perfectly fine and well. Could some one tell me what is the best way to do it?

    My app is story based children app which means i have so many sound files around 30 , and one small music file.

    Total : 9.95 MB of media files i have including music.

    My images are :12.5 MB

    I am totally lost how to debug this error , my configuration settings has

    Preload Sounds : Yes

    below is the error one of the user has reported to me through ANR

    *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Build fingerprint: 'samsung/lt02wifixx/lt02wifi:4.4.2/KOT49H/T210XXBNI1:user/release-keys'
    Revision: '7'
    pid: 5861, tid: 5886, name: WorkerPool/5886 >>> muqaam.com.aqlodil <<<
    signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 77d022c8
    r0 7bf24708 r1 40263540 r2 40263540 r3 ef6f595c
    r4 77d42328 r5 7bf24708 r6 40238c51 r7 40135384
    r8 7bf24718 r9 00000001 sl 00000001 fp 00000000
    ip 00000003 sp 77d022d0 lr 40567747 pc 40238c50 cpsr 00070030
    d0 676e654c29286874 d1 2d6d616572747320
    d2 724665646f636544 d3 3431303220656d61
    d4 4010000000000000 d5 bebbb63036c79c05
    d6 000000a072bea4d0 d7 43200000000000a0
    d8 3f8000003f800000 d9 0000000000000000
    d10 0000000000000000 d11 0000000000000000
    d12 0000000000000000 d13 0000000000000000
    d14 0000000000000000 d15 0000000000000000
    d16 0000000100000001 d17 4000000000000000
    d18 4000000000000000 d19 3fc986d327d54580
    d20 3fc551b779af12e5 d21 bf66bbe9530cccae
    d22 3fc8adc3e03ae00c d23 40c0000000000000
    d24 3f95c966ebf3f9e8 d25 bf95c966c155d531
    d26 402213664f3f26db d27 4000000000000000
    d28 3ffcea4783f8a3fe d29 bfcc400000000026
    d30 3ff0000000000000 d31 40c3880000000005
    scr 60000010
    
    backtrace:
    #00 pc 00084c50 /system/lib/libandroid_runtime.so (register_android_graphics_Typeface(_JNIEnv*)+23)
    #01 pc 01ba415d /dev/ashmem/dalvik-mark-stack (deleted)
    
    code around pc:
    40238c30 0002b722 ffffffa0 23064903 44794a03 
    40238c40 f7cd447a bf00b8fd 00023a8c 0003310c 
    40238c50 6880b508 69996803 bd084788 6880b508 
    40238c60 69d96803 43014788 2000bf14 bd082001 
    40238c70 43f7e92d 46164680 2900460f 2a00d131 
    40238c80 6880d03f 23002200 0901f04f f8cd6801 
    40238c90 68cd9000 460447a8 f1b5460d bf083fff 
    40238ca0 3ffff1b4 4818d104 f7b94478 e016ec94 
    40238cb0 0008f8d8 6802463b 9000f8cd 463268d1 
    40238cc0 f1b14788 bf083fff 3ffff1b0 ebc4bf18 
    40238cd0 d1120400 4631480d f7b94478 4638ec7c 
    40238ce0 6880e010 689c6803 1e0447a0 4808dc07 
    40238cf0 46224631 f7b94478 ea24ec6e 462074e4 
    40238d00 4610e000 83fee8bd 00023ac4 00023ab9 
    40238d10 00023abb 2200b513 24006880 94006803 
    40238d20 230068d9 f1b14788 bf083fff 3ffff1b0 
    
    code around lr:
    40567724 4604460d f50d6809 68332080 6b0f3014 
    40567734 46286003 463747b8 682ab1f0 6b564628 
    40567744 686347b0 46064298 6821d101 6820e00b 
    40567754 fe64f018 4630b126 fe6ef018 e0004601 
    40567764 e8844631 68280042 68c34632 47984628 
    40567774 bf1842b0 e02c2600 f7d54668 682afc47 
    40567784 4628a905 f44f68d6 47b02280 4602a905 
    40567794 f7d54668 682bfcf3 69194628 28004788 
    405677a4 9e03d0ed 42866860 6821d101 6820e00b 
    405677b4 fe34f018 4630b126 fe3ef018 e0004601 
    405677c4 e8844631 46680042 fc5cf7d5 f7d54668 
    405677d4 f50dfd23 46302180 680a3114 429a683b 
    405677e4 f797d001 b007eefc 2d80f50d bf00bdf0 
    405677f4 00121418 fffff358 7a00edd1 0ae7eef7 
    40567804 0b00edc0 0a01ed91 1ac0eeb7 1b02ed80 
    40567814 0a02edd1 2ae0eeb7 2b04ed80 1a03edd1 
    [/code:13x3cnxa]
  • ludei extremely sorry , here are the files once again ... I by mistake deleted that.

    CAPX: https://dl.dropboxusercontent.com/u/104 ... oject.capx

    Exported Project ZIP: https://www.dropbox.com/s/rrs7sn43yrmks ... t.zip?dl=0

farhanx's avatar

farhanx

Member since 1 Oct, 2013

None one is following farhanx yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies