jeffige's Recent Forum Activity

  • If you were a bit more specific, or elaborated a bit more, you'd get more responses. As it reads now, have no clue what you're talking about.

  • You say the player gets destroyed?

    You could also try: Player - is on screen (sub event on left mouse clicked - Fire bullet.

  • Or you could try and move the top part of the collision box down a couple pixels.

  • Are you using the last version of Intel XDK, and NOT using the xdk project format when youre exporting from C2?

    Yes and Yes.

    I actually got it working. Tested and ads show. My problem was (cause of my situation, being tired and in a rush) i saw the plugin already under plugin management after opening the intel xdk project, so i thought it was fine.

    All you have to do, i found out, is to remove it from the plugin by clicking the minus sign to the left, then adding the git link under git repo. and voilà. No need to actually go in to the additions xml file. At least i didn't.

    Thanks for the reply, though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Getting oh so closer to an end product. But i have a problem with logging in to google game.

    I have game music that starts right after the splash screen, on start of the menu layout. I did have the events on that layout (menu) to login on start of layout, but when it tried to login the music would pause. I'm getting a sign in required error that makes the login disappear and then the music would resume.

    How can i get google play game to login the user? Without the music pausing?

    I was thinking about adding a "Log In To Google Game" button on the options layout that would trigger the event (which I'm still not sure how to do exactly).

    But i'm open for suggestions.

    "Construct 2 is a powerful ground breaking HTML5 game creator designed specifically for 2D games. It allows anyone to build games — no coding required!"

    That is not false advertising. It does what it says it can do... It allows anyone to build games. It doesn't say - "It allows anyone to build Call of Duty, or GTA, or WOW."

    There is a plethora of games on the stores that can be made with C2. With time and effort. Granted, if you expect to make any of those games i mentioned above, then yes, you will need to learn to code. I will give you that. But don't bash something 'cause you expect to open the program and voilà... You just created Metal Gear Solid.

    if I want to go deeper I will have to learn how to program.

    If you want to drive.... you buy a car.

    And if you want to go 200mph+..... you buy a Lamborghini.....troll.

  • So i was able to build and upload to google dev console, got the alpha test working on the play store.

    Also got admob to show interstitials in my game on mobile....WOOHOO!

    Now my problems are: google play game won't login, i get an error 4 or something. And when i touch the sprite that should take me to the store layout, game closes. I'm sure its my code, just have to try and find tutorials/examples on how implement this so i can test the IAP.

  • Josek5494 AndreasR

    Thanks for the reply. One problem is my additions.xml file looks different than the others that i have seen in posts/tutorials.

    This is what mine looks like:

    <!-- Change the debuggable preference to true to build a remote CDT debuggable app for -->

    <!-- Crosswalk apps on Android 4.0+ devices and Cordova apps on Android 4.4+ devices. -->

    <preference name="debuggable" value="false" />

    <!-- IMPORTANT: set the debuggable preference to false before you build for the store! -->

    <platform name="ios">

    <!-- below requires the splash screen plugin, otherwise ignored -->

    <!-- docs: https://github.com/apache/cordova-plugin-splashscreen -->

    <preference name="AutoHideSplashScreen" value="true" />

    <preference name="FadeSplashScreen" value="false"/>

    <preference name="FadeSplashScreenDuration" value="2"/>

    <preference name="ShowSplashScreenSpinner" value="false"/>

    <!-- below requires the status bar plugin, otherwise ignored -->

    <!-- docs: https://github.com/apache/cordova-plugin-statusbar -->

    <!-- see http://devgirl.org/2014/07/31/phonegap-developers-guid -->

    <preference name="StatusBarOverlaysWebView" value="false" />

    <preference name="StatusBarBackgroundColor" value="#000000" />

    <preference name="StatusBarStyle" value="lightcontent" />

    </platform>

    <platform name="android">

    <!-- below requires the splash screen plugin, otherwise ignored -->

    <!-- docs: https://github.com/apache/cordova-plugin-splashscreen -->

    <!-- 'value' = number of milliseconds to display the splash screen in a Cordova build. -->

    <!-- <preference name="SplashScreenDelay" value="0000" /> -->

    <!-- <preference name="SplashMaintainAspectRatio" value="false" /> -->

    </platform>

    <!-- use this feature to add command-lines to be used by Crosswalk builds on device -->

    <!-- see http://peter.sh/experiments/chromium-co ... -switches/ for complete list -->

    <intelxdk:crosswalk xwalk-command-line="--disable-pull-to-refresh-effect" />

    <!-- ignore gpu blacklist for larger collection of gpu accelerated devices -->

    <intelxdk:crosswalk xwalk-command-line="--ignore-gpu-blacklist" />

    <!-- controls configuration of Crosswalk-Android "SurfaceView" or "TextureView" -->

    <!-- see Sep 15 comments in https://crosswalk-project.org/jira/browse/XWALK-2233 -->

    <!-- default is SurfaceView if >= CW15 and TextureView if <= CW14 -->

    <!-- option can only be used with Intel XDK CLI5+ build systems -->

    <!-- SurfaceView is preferred, TextureView should only be used in special cases -->

    <!-- enable Crosswalk-Android TextureView by setting option to true -->

    <preference name="CrosswalkAnimatable" value="false" />

    I am only building for Android at this time, and have these plugins installed under plugin management:

    Device

    InAppBrowser

    Google Play Services

    (Cranberrygame

    Cordova IAP

    Cordova AdMob

    Cordova Game

    )

    Another problem i have is finding the correct url under the git repo tab. I tried a few, but they still would not install, or XDK says no longer supported.

  • Hi jeffige

    The process for adding the CordovaGame plugin to you game is:

    In Construct2 add the plugin to your project. In the 'Properties' add the Android App ID number (get this from GooglePlay dev console)

    In XDK Do the steps:

    -Go to Plugin management > Add third party plugin > 'git repo' > enter: https: //github.com/cranberrygame/cordov-plugin-game.git

    And, still in XDK, you need to add the Android App ID (Same number you used above) in the variable field for APP_ID.

    To access that variable field you may need to click the 'edit' icon for the 'Cordova Game plugin'. Where it says 'Change version or variables'.

    It looks like this is the step you are missing... you need to add the Android App ID to the plugin in XDK..

    So Artpunk i can export the game from C2, build with Intel XDK and download the Arm onto my phone.

    My problem is (from my other posts - getting a white screen flash before my splashscreen) i do not have ANY plugins showing under plugin management. Nadda. Zilch. 0.

    Before i could see the core plugins from cordova. And after i added the cranberrygame plugins, i could see those. Now it's empty. When i click on the + on plugin management it drops down to show "Add plugins to this Project". Even if i add Third-Party plugins it shows nothing after.

    Tried removing app from Intel, uninstalling Intel XDk and re-installing, but nothing. I don't have any clue what's going on.

  • After exporting my game, i downloaded the Arm file to test it before uploading to google dev console. I've noticed i am getting a flash of a white screen before the splash screen.

    How can i stop the white flash from showing?

    Thanks for any help with this problem.

  • Been trying to build my game with intermittent problems.

    Sometimes it's one plugin, sometimes it's another. The latest build fail is because of AdMob. It shows the plugin in plugin management, but i get this error:

    Build Log

    Building a Cordova 6.2.0 application.

    Using platform cordova-android 5.1.1.

    The application name is "(omitted)"

    The package name is "com.(omitted)"

    Preference android-signed set to true. Application will be signed.

    Using Crosswalk Embedded 19

    Error: Unable to build; intelxdk.config.additions.xml file includes plugin tags, which are no longer supported. Use the Intel XDK plugin manager to resolve this issue. See https://software.intel.com/en-us/xdk/do ... lugin-tags

    Error: Could not retrieve plugin dependencies for Cordova AdMob plugin'.

    Error: Plugin Cordova AdMob plugin failed to install.

    Plugin "cordova-plugin-device" (1.1.2) installed.

    Plugin "cordova-plugin-statusbar" (2.1.3) installed.

    Plugin "cordova-plugin-payment-iap" (2.0.52) installed.

    Plugin "cordova-plugin-extras-google-play-services" (1.0.5) installed.

    Plugin "cordova-plugin-game" (1.0.120) installed.

    Plugin "cordova-plugin-whitelist" (1.2.2) installed.

    Plugin "cordova-plugin-crosswalk-webview" (1.8.0) installed.

    Why would the build fail if the plugin is currently in plugin management?

    Any help is greatly appreciated.

jeffige's avatar

jeffige

Member since 28 Oct, 2012

None one is following jeffige yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies