BigKabeza's Forum Posts

  • I always save my C3 files to dropbox. Today I try to open the project I am working since time ago and after a short time loading the file this messague appears:

    Failed to open project. Check it is a valid Construct 3 single-file (.c3p) project.

    Yes, the file is c3p. I try to download the file from dropbox to open from file but I get the same messague.

    Is something I can do?

    How is possible a plugin developed by a 3rd person is performing better than the native "mobile advert"? (now I know how to implementing and its ok, but in the past gives me a lot of headhache. For me is good because I use apksigner, but I can understand the compleints of other users that uses other methods.)

    Maybe scirra should give a salary to this developer or buy his plugin. By the way, give also a salary to rex and make all his plugins official.

    I had problems to implement "mobile advert" in the past. But now i´m showing ads.

  • savvito123

    With the current parameters I think when you try on mobile, this is going to explote!

    -fps--->60 its ok, but in case it goes down, try to build your program using "delta time", this maka framerate independence.

    https://www.scirra.com/tutorials/67/delta-time-and-framerate-independence

    -cpu utilisation--->60 is too much,...

    -image memory--->ok

    -collisions--->thats a lot. you have to deactivate collisions when no using and create groups on your events and deactivate when no using. For this use the profile tab of the debbuger to check with groups are overloading your project.

    https://www.scirra.com/blog/83/optimisation-dont-waste-your-time

    https://www.scirra.com/blog/112/remember-not-to-waste-your-memory

    https://www.construct.net/es/make-games/manuals/construct-3/tips-and-guides/performance-tips

    https://www.scirra.com/blog/141/common-mis-used-events-and-gotchas

    I hope this helps.

    Advice: use the search funtion of the forum, or even googling. This topic has appear many times

  • Anyone know if is there any way to stop or pause the Audio.CurrentTime?

    Time scale doesn´t affect to Audio.CurrentTime

  • 89€/per year to use C3 and the building service is not crazy price, considering you can take that money back with your creations. Plus you will be supporting the company that develop the sofware you use.

  • I have tried on Sansung S6. I can see the sprite just a little little bit jumping.

    In my apps I try to avoid heavy behaviors in big sprites. I say heavy because bullet have to recalculate and draw position every tick.

    Is not an option make the sprite 126x126 and resize in the layout view?

  • Wai

    Bullet behavior use delta time to move, so you dont need to adjust it on events.

    Maybe a sprite of 250x250 is too big to move at that speed. On mobile when I use bullet behavior is with small sized objects. Try to do it 128x128, if not go smaller.

  • garyh

    Here is the download link of my c3 plugins.

    AMAZING! This improve C3 a lot. Thanks

  • Bootfit

    Is good if the instersidial appear on player death but randomly. If the player knows when the intersidial is going to appear he never going to click it.

  • I can no believe it!. After more that one month trying to show ads on my app I have achieve it.

    Thanks for point me in the good direction.

    First I tryed your method, but I got a problem with the jarsigner.

    So what I did was next:

    1.Export with minify script unchecked to Unsigned Release APK with minimun version 5.0

    2.Copy the generated APK to the folder where you have installed "apksigner.bat"----> android studio>sdk<build-tools<27.0.3 (this is my last version installed, also you dont need to have installed Android Studio but you will need the build-tools, in this case apksigner.bat)

    3.Open cmd and go to this folder and execute:

    apksigner sign --ks (the name of your certificate file, it could be .jks or .keystore, both of them works in this command).jks --out (choose a name for your signed apk).apk (the current name of your apk file).apk

    You have to introduce your 2 pass and in less than 10 seconds a signed APK is generated on the same folder.

    This works for me and hope works for you. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------

    Another useful thing that I have learned today (if you have Android Studio is going to be useful):

    Sometimes when I have my APK I want to test in my device. So I upload to dropbox and from there I download to my device. But sometimes I get a message when I trying to install :"Unable to install the apk file" (even with the developer mode on in the device and deleting previus versions of the app).

    So, there is a command that makes very easy and fast to install the apk on your device:

    1.Enable developer mode on your phone

    2.Go to androidstudio<sdk<platform-tools and execute adb devices to check if your device is connected. You will get a device number here.

    3.Copy your signed apk to this folder.

    4.Execute adb -s (your device number) install (the name of your signed apk).apk

    In less than 10 secons your apk is intalled on your device. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    If you want to try my succesful App with Ads you can click on:

    https://play.google.com/store/apps/deta ... .trapbeats

  • I would like to try but the build server is down. As soon as I can I will try your method.

    Really apreciate your advice. Thanks !

  • My neither

  • And at the same time this is the Logcat since the moment the debugger is settled:

    01-16 01:24:04.510 3167-3167/com.ekdu.trapbeats I/System.out: debugger has settled (1349)

    01-16 01:24:04.512 1508-1565/system_process D/EGL_emulation: eglMakeCurrent: 0xa252bb80: ver 2 0

    01-16 01:24:04.522 3167-3167/com.ekdu.trapbeats I/CordovaLog: Changing log level to DEBUG(3)

    01-16 01:24:04.522 3167-3167/com.ekdu.trapbeats I/CordovaActivity: Apache Cordova native platform version 6.3.0 is starting

    01-16 01:24:04.522 3167-3167/com.ekdu.trapbeats D/CordovaActivity: CordovaActivity.onCreate()

    01-16 01:24:04.543 3167-3167/com.ekdu.trapbeats I/WebViewFactory: Loading com.android.webview version 39 (4409265-x86) (code 300007)

    01-16 01:24:04.549 3167-3167/com.ekdu.trapbeats I/LibraryLoader: Time to load native libraries: 1 ms (timestamps 5091-5092)

    01-16 01:24:04.549 3167-3167/com.ekdu.trapbeats I/LibraryLoader: Expected native library version number "",actual native library version number ""

    01-16 01:24:04.556 3167-3167/com.ekdu.trapbeats I/LibraryLoader: Expected native library version number "",actual native library version number ""

    01-16 01:24:04.556 3167-3167/com.ekdu.trapbeats I/chromium: [INFO:library_loader_hooks.cc(104)] Chromium logging enabled: level = 0, default verbosity = 0

    01-16 01:24:04.560 3167-3167/com.ekdu.trapbeats I/BrowserStartupController: Initializing chromium process, singleProcess=true

    01-16 01:24:04.560 3167-3167/com.ekdu.trapbeats W/art: Attempt to remove local handle scope entry from IRT, ignoring

    01-16 01:24:04.565 3167-3167/com.ekdu.trapbeats W/chromium: [WARNING:resource_bundle.cc(304)] locale_file_path.empty()

    01-16 01:24:04.565 3167-3167/com.ekdu.trapbeats I/chromium: [INFO:aw_browser_main_parts.cc(65)] Load from apk succesful, fd=29 off=46184 len=3037

    01-16 01:24:04.566 3167-3167/com.ekdu.trapbeats I/chromium: [INFO:aw_browser_main_parts.cc(78)] Loading webviewchromium.pak from, fd:30 off:229484 len:1089587

    01-16 01:24:04.568 3167-3190/com.ekdu.trapbeats W/AudioManagerAndroid: Requires BLUETOOTH permission

    [ 01-16 01:24:04.594 3167: 3167 D/ ]

    HostConnection::get() New Host Connection established 0xb3cf0d80, tid 3167

    [ 01-16 01:24:04.595 3167: 3167 W/ ]

    Unrecognized GLES max version string in extensions: ANDROID_EMU_CHECKSUM_HELPER_v1

    01-16 01:24:04.605 3167-3167/com.ekdu.trapbeats D/EGL_emulation: eglCreateContext: 0xb3f70700: maj 2 min 0 rcv 2

    01-16 01:24:04.606 3167-3167/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xb3f70700: ver 2 0

    01-16 01:24:04.634 3167-3167/com.ekdu.trapbeats W/chromium: [WARNING:data_reduction_proxy_settings.cc(331)] SPDY proxy OFF at startup

    01-16 01:24:04.641 3167-3167/com.ekdu.trapbeats W/art: Attempt to remove local handle scope entry from IRT, ignoring

    01-16 01:24:04.643 3167-3167/com.ekdu.trapbeats W/AwContents: onDetachedFromWindow called when already detached. Ignoring

    01-16 01:24:04.657 3167-3167/com.ekdu.trapbeats D/SystemWebViewEngine: CordovaWebView is running on device made by: unknown

    01-16 01:24:04.661 3167-3167/com.ekdu.trapbeats W/art: Attempt to remove local handle scope entry from IRT, ignoring

    01-16 01:24:04.661 3167-3167/com.ekdu.trapbeats W/art: Attempt to remove local handle scope entry from IRT, ignoring

    01-16 01:24:04.661 3167-3167/com.ekdu.trapbeats D/PluginManager: init()

    01-16 01:24:04.664 3167-3167/com.ekdu.trapbeats D/CordovaWebViewImpl: >>> loadUrl(file:///android_asset/www/index.html)

    01-16 01:24:04.670 3167-3167/com.ekdu.trapbeats D/CordovaActivity: Started the activity.

    01-16 01:24:04.670 3167-3167/com.ekdu.trapbeats D/CordovaActivity: Resumed the activity.

    01-16 01:24:04.672 3167-3209/com.ekdu.trapbeats D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true

    01-16 01:24:04.674 3167-3167/com.ekdu.trapbeats D/Atlas: Validating map...

    01-16 01:24:04.709 3167-3209/com.ekdu.trapbeats I/OpenGLRenderer: Initialized EGL, version 1.4

    [ 01-16 01:24:04.709 3167: 3209 D/ ]

    HostConnection::get() New Host Connection established 0xa24d6420, tid 3209

    [ 01-16 01:24:04.709 3167: 3209 W/ ]

    Unrecognized GLES max version string in extensions: ANDROID_EMU_CHECKSUM_HELPER_v1

    01-16 01:24:04.711 3167-3209/com.ekdu.trapbeats W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...

    01-16 01:24:04.712 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglCreateContext: 0xa242e940: maj 2 min 0 rcv 2

    01-16 01:24:04.721 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:04.723 3167-3209/com.ekdu.trapbeats D/OpenGLRenderer: Enabling debug mode 0

    01-16 01:24:04.736 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:04.756 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:04.788 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:04.814 1508-1532/system_process E/WindowManager: Performed 6 layouts in a row. Skipping

    01-16 01:24:04.815 3167-3167/com.ekdu.trapbeats D/CordovaWebViewImpl: onPageDidNavigate(file:///android_asset/www/index.html)

    01-16 01:24:04.816 1790-1790/com.google.android.googlequicksearchbox W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection

    01-16 01:24:04.826 1508-1532/system_process I/ActivityManager: Displayed com.ekdu.trapbeats/.MainActivity: +3s484ms

    01-16 01:24:04.841 1141-1560/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 12582912

    01-16 01:24:04.928 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:04.941 1508-1532/system_process I/WindowManager: Screen frozen for +3s540ms due to Window{11161ef5 u0 com.ekdu.trapbeats/com.ekdu.trapbeats.MainActivity}

    01-16 01:24:05.048 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:05.049 3167-3167/com.ekdu.trapbeats D/JsMessageQueue: Set native->JS mode to EvalBridgeMode

    01-16 01:24:05.138 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:05.155 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:05.156 3167-3167/com.ekdu.trapbeats D/SystemWebChromeClient: file:///android_asset/www/c2runtime.js: Line 21962 : Uncaught SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function.

    01-16 01:24:05.157 3167-3167/com.ekdu.trapbeats I/chromium: [INFO:CONSOLE(21962)] "Uncaught SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function.", source: file:///android_asset/www/c2runtime.js (21962)

    01-16 01:24:05.177 3167-3167/com.ekdu.trapbeats D/SystemWebChromeClient: file:///android_asset/www/start.js: Line 7 : Uncaught TypeError: undefined is not a function

    01-16 01:24:05.177 3167-3167/com.ekdu.trapbeats I/chromium: [INFO:CONSOLE(7)] "Uncaught TypeError: undefined is not a function", source: file:///android_asset/www/start.js (7)

    01-16 01:24:05.178 3167-3167/com.ekdu.trapbeats D/CordovaWebViewImpl: onPageFinished(file:///android_asset/www/index.html)

    01-16 01:24:05.216 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:05.230 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:05.911 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:06.017 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:06.109 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:06.161 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:06.226 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:06.293 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:06.383 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:06.458 3167-3209/com.ekdu.trapbeats D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    01-16 01:24:07.012 1508-1532/system_process I/art: Explicit concurrent mark sweep GC freed 27433(1407KB) AllocSpace objects, 9(190KB) LOS objects, 32% free, 8MB/12MB, paused 1.468ms total 62.637ms

    01-16 01:25:00.029 1613-2057/com.android.systemui D/EGL_emulation: eglMakeCurrent: 0xa3452220: ver 2 0

    01-16 01:30:01.025 3222-3222/? E/libprocessgroup: failed to make and chown /acct/uid_10022: Read-only file system

    01-16 01:30:01.025 3222-3222/? W/Zygote: createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?

    01-16 01:30:01.027 1508-1527/system_process I/ActivityManager: Start proc 3222:com.android.deskclock/u0a22 for broadcast com.android.deskclock/com.android.alarmclock.DigitalAppWidgetProvider

    01-16 01:30:01.099 1508-1931/system_process I/ActivityManager: Killing 2163:com.google.android.apps.maps/u0a36 (adj 15): empty #17

    01-16 01:30:01.100 1508-1931/system_process W/libprocessgroup: failed to open /acct/uid_10036/pid_2163/cgroup.procs: No such file or directory

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I open the Android Studio Emulator with the debug mode this is what console says: (the emulator gives me black screen as well)

    01/16 02:23:59: Launching Mobile Advert Test.android.project (2)

    No apk changes detected since last installation, skipping installation of F:\c3\Mobile Advert Test.android.project (2)\build\outputs\apk\Mobile Advert Test.android.project (2)-debug.apk

    $ adb shell am force-stop com.ekdu.trapbeats

    $ adb shell am start -n "com.ekdu.trapbeats/com.ekdu.trapbeats.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D

    Waiting for application to come online: com.ekdu.trapbeats | com.ekdu.trapbeats.test

    Waiting for application to come online: com.ekdu.trapbeats | com.ekdu.trapbeats.test

    Connecting to com.ekdu.trapbeats

    Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.

    W/ActivityThread: Application com.ekdu.trapbeats is waiting for the debugger on port 8100...

    I/System.out: Sending WAIT chunk

    I/art: Debugger is active

    I/System.out: Debugger has connected

    I/System.out: waiting for debugger to settle...

    Connected to the target VM, address: 'localhost:8610', transport: 'socket'

    I/System.out: waiting for debugger to settle...

    I/System.out: waiting for debugger to settle...

    I/System.out: waiting for debugger to settle...

    I/System.out: waiting for debugger to settle...

    I/System.out: waiting for debugger to settle...

    I/System.out: waiting for debugger to settle...

    I/System.out: debugger has settled (1349)

    I/CordovaLog: Changing log level to DEBUG(3)

    I/CordovaActivity: Apache Cordova native platform version 6.3.0 is starting

    D/CordovaActivity: CordovaActivity.onCreate()

    I/WebViewFactory: Loading com.android.webview version 39 (4409265-x86) (code 300007)

    I/LibraryLoader: Time to load native libraries: 1 ms (timestamps 5091-5092)

    I/LibraryLoader: Expected native library version number "",actual native library version number ""

    V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {8dedac1}

    I/LibraryLoader: Expected native library version number "",actual native library version number ""

    I/chromium: [INFO:library_loader_hooks.cc(104)] Chromium logging enabled: level = 0, default verbosity = 0

    I/BrowserStartupController: Initializing chromium process, singleProcess=true

    W/art: Attempt to remove local handle scope entry from IRT, ignoring

    W/chromium: [WARNING:resource_bundle.cc(304)] locale_file_path.empty()

    I/chromium: [INFO:aw_browser_main_parts.cc(65)] Load from apk succesful, fd=29 off=46184 len=3037

    I/chromium: [INFO:aw_browser_main_parts.cc(78)] Loading webviewchromium.pak from, fd:30 off:229484 len:1089587

    W/AudioManagerAndroid: Requires BLUETOOTH permission

    [ 01-16 01:24:04.594 3167: 3167 D/ ]

    HostConnection::get() New Host Connection established 0xb3cf0d80, tid 3167

    [ 01-16 01:24:04.595 3167: 3167 W/ ]

    Unrecognized GLES max version string in extensions: ANDROID_EMU_CHECKSUM_HELPER_v1

    D/EGL_emulation: eglCreateContext: 0xb3f70700: maj 2 min 0 rcv 2

    D/EGL_emulation: eglMakeCurrent: 0xb3f70700: ver 2 0

    W/chromium: [WARNING:data_reduction_proxy_settings.cc(331)] SPDY proxy OFF at startup

    W/art: Attempt to remove local handle scope entry from IRT, ignoring

    W/AwContents: onDetachedFromWindow called when already detached. Ignoring

    D/SystemWebViewEngine: CordovaWebView is running on device made by: unknown

    W/art: Attempt to remove local handle scope entry from IRT, ignoring

    W/art: Attempt to remove local handle scope entry from IRT, ignoring

    D/PluginManager: init()

    D/CordovaWebViewImpl: >>> loadUrl(file:///android_asset/www/index.html)

    D/CordovaActivity: Started the activity.

    D/CordovaActivity: Resumed the activity.

    D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true

    D/Atlas: Validating map...

    I/OpenGLRenderer: Initialized EGL, version 1.4

    [ 01-16 01:24:04.709 3167: 3209 D/ ]

    HostConnection::get() New Host Connection established 0xa24d6420, tid 3209

    [ 01-16 01:24:04.709 3167: 3209 W/ ]

    Unrecognized GLES max version string in extensions: ANDROID_EMU_CHECKSUM_HELPER_v1

    W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...

    D/EGL_emulation: eglCreateContext: 0xa242e940: maj 2 min 0 rcv 2

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/OpenGLRenderer: Enabling debug mode 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/CordovaWebViewImpl: onPageDidNavigate(file:///android_asset/www/index.html)

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/JsMessageQueue: Set native->JS mode to EvalBridgeMode

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/SystemWebChromeClient: file:///android_asset/www/c2runtime.js: Line 21962 : Uncaught SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function.

    I/chromium: [INFO:CONSOLE(21962)] "Uncaught SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function.", source: file:///android_asset/www/c2runtime.js (21962)

    D/SystemWebChromeClient: file:///android_asset/www/start.js: Line 7 : Uncaught TypeError: undefined is not a function

    I/chromium: [INFO:CONSOLE(7)] "Uncaught TypeError: undefined is not a function", source: file:///android_asset/www/start.js (7)

    D/CordovaWebViewImpl: onPageFinished(file:///android_asset/www/index.html)

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0

    D/EGL_emulation: eglMakeCurrent: 0xa242e940: ver 2 0