Vasanthi's Forum Posts

  • whether this cause lag while I am exported and playing in android ?

  • I preview my game via Firefox in my mobile but it often cause lag but when I preview via chrome it run smoothly

    Anyone know what the problem is?

    Weather the problem is in my game or in Firefox?

    Tagged:

  • I am using phone gap for my build of construct 2. it was fine for 5 to 6 months but now when I built-in phone gap it shows "Your build failed', I tried several times but it gives the same result.

    BUILT LOG:

    Build Date: 2019-04-07 06:01:39 +0000

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

    PLUGIN OUTPUT

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

    8dfdd0b356aefa20e3bb203efeb0636078c39140

    Fetching plugin "https://github.com/MBuchalik/cordova-build-architecture.git" via git clone

    Using shallow clone

    Repository "https://github.com/MBuchalik/cordova-build-architecture.git" checked out to git ref "v1.0.1" at "b787544".

    Installing "cordova-build-architecture" at "1.0.1" for android

    Subproject Path: CordovaLib

    Fetching plugin "cordova-custom-config" via npm

    Installing "cordova-custom-config" at "5.1.0" for android

    Fetching plugin "cordova-plugin-ad-admob" via npm

    Installing "cordova-plugin-ad-admob" at "1.0.118" for android

    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-ad-admob-sdk" via git clone

    Using shallow clone

    Repository "https://github.com/cranberrygame/cordova-plugin-ad-admob-sdk" checked out to git ref "master" at "b22949d".

    Installing "cordova-plugin-ad-admob-sdk" at "1.0.36" for android

    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-extras-google-play-services" via git clone

    Using shallow clone

    Repository "https://github.com/cranberrygame/cordova-plugin-extras-google-play-services" checked out to git ref "master" at "f6f6b28".

    Installing "cordova-plugin-extras-google-play-services" at "1.0.5" for android

    Subproject Path: CordovaLib

    Fetching plugin "cordova-plugin-file" via npm

    Installing "cordova-plugin-file" at "6.0.1" for android

    Plugin doesn't support this project's cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0

    Skipping 'cordova-plugin-file' for android

    Fetching plugin "cordova-plugin-inappbrowser" via npm

    Installing "cordova-plugin-inappbrowser" at "3.0.0" for android

    Fetching plugin "cordova-plugin-statusbar" via npm

    Installing "cordova-plugin-statusbar" at "2.4.2" for android

    Fetching plugin "cordova-plugin-whitelist" via npm

    Installing "cordova-plugin-whitelist" at "1.3.3" for android

    This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.

    Fetching plugin "cordova-plugin-wkwebview-engine" via npm

    Installing "cordova-plugin-wkwebview-engine" at "1.1.4" for android

    WARNING: Overriding compileSdkVersion from android-25 (default) to android-26

    WARNING: This is unsupported, please consider updating your phonegap version instead

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

    PROJECT PROPERTIES

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

    # This file is automatically generated by Android Tools.

    # Do not modify this file -- YOUR CHANGES WILL BE ERASED!

    #

    # This file must be checked in Version Control Systems.

    #

    # To customize properties used by the Ant build system edit

    # "ant.properties", and override values to adapt the script to your

    # project structure.

    #

    # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):

    #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

    # Project target.

    target=android-26

    android.library.reference.1=CordovaLib

    cordova.gradle.include.1=cordova-build-architecture/SaveTheRocket-architecture.gradle

    cordova.system.library.1=com.google.android.gms:play-services-games:+

    cordova.system.library.2=com.google.android.gms:play-services-plus:+

    cordova.system.library.3=com.google.android.gms:play-services-ads:+

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

    COMPILE OUTPUT

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

    Subproject Path: CordovaLib

    Running command: /var/gimlet/tmp/46950733730860/3528243/project/gradlew cdvBuildDebug -b /var/gimlet/tmp/46950733730860/3528243/project/build.gradle -Dorg.gradle.daemon=true -Dorg.gradle.jvmargs=-Xmx2048m -Pandroid.useDeprecatedNdk=true

    The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

    at build_drdf4ml705qcuf2lfqzqbhivm.run(/var/gimlet/tmp/46950733730860/3528243/project/build.gradle:157)

    The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.

    Incremental java compilation is an incubating feature.

    The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.

    The ProjectDependency.getProjectConfiguration() method has been deprecated and is scheduled to be removed in Gradle 4.0.

    ModuleDependency.getConfiguration() has been deprecated and is scheduled to be removed in Gradle 4.0. Use ModuleDependency.getTargetConfiguration() instead.

    :preBuild UP-TO-DATE

    :preDebugBuild UP-TO-DATE

    :checkDebugManifest

    :preReleaseBuild UP-TO-DATE

    :CordovaLib:preBuild UP-TO-DATE

    :CordovaLib:preDebugBuild UP-TO-DATE

    :CordovaLib:checkDebugManifest

    :CordovaLib:prepareDebugDependencies

    :CordovaLib:compileDebugAidl

    :CordovaLib:compileDebugNdk UP-TO-DATE

    :CordovaLib:compileLint

    :CordovaLib:copyDebugLint UP-TO-DATE

    :CordovaLib:mergeDebugShaders

    :CordovaLib:compileDebugShaders

    :CordovaLib:generateDebugAssets

    :CordovaLib:mergeDebugAssets

    :CordovaLib:mergeDebugProguardFiles

    :CordovaLib:packageDebugRenderscript UP-TO-DATE

    :CordovaLib:compileDebugRenderscript

    :CordovaLib:generateDebugResValues

    :CordovaLib:generateDebugResources

    :CordovaLib:packageDebugResources

    :CordovaLib:processDebugManifest

    :CordovaLib:generateDebugBuildConfig

    :CordovaLib:processDebugResources

    :CordovaLib:generateDebugSources

    :CordovaLib:incrementalDebugJavaCompilationSafeguard

    :CordovaLib:compileDebugJavaWithJavac

    :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    :CordovaLib:processDebugJavaRes UP-TO-DATE

    :CordovaLib:transformResourcesWithMergeJavaResForDebug

    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug

    :CordovaLib:mergeDebugJniLibFolders

    :CordovaLib:transformNative_libsWithMergeJniLibsForDebug

    :CordovaLib:transformNative_libsWithSyncJniLibsForDebug

    :CordovaLib:bundleDebug

    :CordovaLib:preReleaseBuild UP-TO-DATE

    :CordovaLib:checkReleaseManifest

    :CordovaLib:prepareReleaseDependencies

    :CordovaLib:compileReleaseAidl

    :CordovaLib:compileReleaseNdk UP-TO-DATE

    :CordovaLib:copyReleaseLint UP-TO-DATE

    :CordovaLib:mergeReleaseShaders

    :CordovaLib:compileReleaseShaders

    :CordovaLib:generateReleaseAssets

    :CordovaLib:mergeReleaseAssets

    :CordovaLib:mergeReleaseProguardFiles

    :CordovaLib:packageReleaseRenderscript UP-TO-DATE

    :CordovaLib:compileReleaseRenderscript

    :CordovaLib:generateReleaseResValues

    :CordovaLib:generateReleaseResources

    :CordovaLib:packageReleaseResources

    :CordovaLib:processReleaseManifest

    :CordovaLib:generateReleaseBuildConfig

    :CordovaLib:processReleaseResources

    :CordovaLib:generateReleaseSources

    :CordovaLib:incrementalReleaseJavaCompilationSafeguard

    :CordovaLib:compileReleaseJavaWithJavac

    :CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    :CordovaLib:processReleaseJavaRes UP-TO-DATE

    :CordovaLib:transformResourcesWithMergeJavaResForRelease

    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease

    :CordovaLib:mergeReleaseJniLibFolders

    :CordovaLib:transformNative_libsWithMergeJniLibsForRelease

    :CordovaLib:transformNative_libsWithSyncJniLibsForRelease

    :CordovaLib:bundleRelease

    :prepareAndroidArchLifecycleRuntime100Library

    :prepareComAndroidSupportCustomtabs2610Library

    :prepareComAndroidSupportSupportCompat2610Library

    :prepareComAndroidSupportSupportCoreUi2610Library

    :prepareComAndroidSupportSupportCoreUtils2610Library

    :prepareComAndroidSupportSupportFragment2610Library

    :prepareComAndroidSupportSupportMediaCompat2610Library

    :prepareComAndroidSupportSupportV42610Library

    :prepareComGoogleAndroidGmsPlayServicesAds1720Library

    :prepareComGoogleAndroidGmsPlayServicesAdsBase1720Library

    :prepareComGoogleAndroidGmsPlayServicesAdsIdentifier1600Library

    :prepareComGoogleAndroidGmsPlayServicesAdsLite1720Library

    :prepareComGoogleAndroidGmsPlayServicesAudience1600Library

    :prepareComGoogleAndroidGmsPlayServicesBase1601Library

    :prepareComGoogleAndroidGmsPlayServicesBasement1601Library

    :prepareComGoogleAndroidGmsPlayServicesDrive1600Library

    :prepareComGoogleAndroidGmsPlayServicesGames1700Library

    :prepareComGoogleAndroidGmsPlayServicesGass1720Library

    :prepareComGoogleAndroidGmsPlayServicesMeasurementBase1630Library

    :prepareComGoogleAndroidGmsPlayServicesMeasurementSdkApi1630Library

    :prepareComGoogleAndroidGmsPlayServicesPlus1600Library

    :prepareComGoogleAndroidGmsPlayServicesTasks1601Library

    :prepareProjectCordovaLibUnspecifiedDebugLibrary

    :prepareDebugDependencies

    :compileDebugAidl

    :compileDebugRenderscript

    :generateDebugBuildConfig

    :generateDebugResValues

    :generateDebugResources

    :mergeDebugResources

    :processDebugManifest

    :processDebugResources

    :generateDebugSources

    :incrementalDebugJavaCompilationSafeguard

    :compileDebugJavaWithJavac

    :compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

    /var/gimlet/tmp/46950733730860/3528243/project/src/com/cranberrygame/cordova/plugin/ad/admob/AdMobOverlap.java:576: error: AdMobOverlap.MyRewardedVideoListener is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener

    class MyRewardedVideoListener implements RewardedVideoAdListener {

    ^

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    1 error

    :compileDebugJavaWithJavac FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':compileDebugJavaWithJavac'.

    Compilation failed; see the compiler error output for details.

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

    Total time: 11.157 secs

    Command finished with error code 1: /var/gimlet/tmp/46950733730860/3528243/project/gradlew cdvBuildDebug,-b,/var/gimlet/tmp/46950733730860/3528243/project/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true

    Error: /var/gimlet/tmp/46950733730860/3528243/project/gradlew: Command failed with exit code 1 Error output:

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    /var/gimlet/tmp/46950733730860/3528243/project/src/com/cranberrygame/cordova/plugin/ad/admob/AdMobOverlap.java:576: error: AdMobOverlap.MyRewardedVideoListener is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener

    class MyRewardedVideoListener implements RewardedVideoAdListener {

    ^

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    1 error

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':compileDebugJavaWithJavac'.

    Compilation failed; see the compiler error output for details.

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    at ChildProcess.whenDone (/var/gimlet/tmp/46950733730860/3528243/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)

    at emitTwo (events.js:126:13)

    at ChildProcess.emit (events.js:214:7)

    at maybeClose (internal/child_process.js:915:16)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

  • I want a firebase feature in my game, so I want to link the js code in construct game. I am done this by using a js plugin but the firebase API reference link (HTTP) is added only in HTML script.

    how do I edit the index for android export?

    Tagged:

  • Thanks

    I solved the problem

    I sync with none so when the host object create then same will be created in peer. but the position is not sync

    instead, I sync the position with variable posX, posY

    now i am able to create multiple instance for host. and also peer can track the position. similar, for peer, I am using the created object under host with peer.id so the game and and game objects are work under the host's hardware. peer only sent input to control his object.

    otherwords, peer's data in value is more likewise host's out value is also more.

    but the only problem is cheater can easy change the values of a variable when they were a host.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am making a multiplayer game like clash royale. in this host can create multiple game objects but peer can't why?

    1) I synchronize host with none, I synchronize only the object variable as posX and posY through which position of host object sent.

    2) same with peer sync the same value to every object.

    3)any other way to create multiple object/instances under single peer or host

    Tagged:

  • I am excited to tell you about my first game

    take away the rocket from the obstacles and collect coins and reach the distance as you can

    https://twitter.com/R_L_games

  • i make one prototype and it was work well in pc but if i export it to android it won't work it shows signalling error and signalling disconnected.

    anybody knows what the problem is?

  • I am making a game which has a multiplayer feature and also i plan to export it for android so please anyone to give a tips to improve my game and also i use 32*32 pixel art so that the performance is increase.

    thank you

  • I use rex item table plugin to write a data from the user but I can't read a data from there please anyone help me to overcome

    I think rex plugin was working improperly.

    Thank you

  • I am making a strategy game in which I need a both the connection that is peer to peer connection and central server connection but I didn't know isn't possible to set this both in one game

    For example the game was run in peer to peer after that the score store in server like the firebase server

  • I use rex_item table to save the key and value the I take the value using load action in rex_item table

    But I won't know how to get the data from Firebase storage so please help me to take the data from Thier into my game. (__Not from database from the firebase storage__)

    For example if I store some variable in Firebase then the game can read the data from Thier and keep updating themself

    If I change the value of var in the storage then the game will take the value from that var in the firebase storage and update themself

  • It should work.

    You'll need to install a plugin, there are a few available:

    That's okay isn't it work for mobile.

  • I am try to built a global high score board so I need Firebase

    I have a question that isn't construct 2 mobile app work with Firebase

  • If I use the copy of Sprite (100*100) many times then how rendering engine calculate them ? Aren't they considered​ as a one spirit or many spirit while rendering? Then how much ram consume by same copies of single Sprite compare to the one single spirit?