ddaan9's Recent Forum Activity

  • Hello friend,

    I would like to try to help you.

    you are using the plugin Phonegap IAP 2.0.31? Construct 2 and the R195?

    before compiling the project in Intel XDK onserve what is written in the file

    intelxdk.config.additions.xml

    if that party is present can be to solve in the next compilation

    <intelxdk: pluginintelxdk:name="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1"intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1" />

    <intelxdk: intelxdk plugin: name = "org.apache.cordova.inappbrowser" intelxdk: value = "org.apache.cordova.inappbrowser" />

    aki are 2 lines only.

    Errado?

    Thank you for your help.

    I do use Phonegap IAP 2.0.31 and Construct 2 R195. I removed the extra subevents like you said in your other post. When i check the files, i can see intelxdk.config.additions.xml.

    Since I'm not a coder i have no clue where i should put:

    <intelxdk: pluginintelxdk:name="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1"intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1" />

    <intelxdk: intelxdk plugin: name = "org.apache.cordova.inappbrowser" intelxdk: value = "org.apache.cordova.inappbrowser" />

    Can you guide me? Really appreciate you taking the time to help me!!!!!

    PS: I do minify the script when exporting, is that ok?

  • In a way both are correct.

    When you import into XDK using the option "Import an existing HTML5 template" (you will see this when you try to create a project in intel XDK), the phonegap IAP plugin code is added automatically.

    I understood it better after going through the relevant shatter-box tutorial / how-to. you can find it on their website.

    Thank you for your response, but i just cannot figure out what is causing the problem. When i look at the pictures i can't see anything wrong, and I read almost every tutorial and forum post that you can find. All are showing the same steps as I followed. Really is annoying, this is the last thing i need to fix before I can publish....

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Anyone?

  • You need to add the Cordova plugin in the Intel XDK . Are you using Cranberry Games plugin. You can find a tutorial on how to add the plugin at software.intel.com/en-us/html5/articles/iap-in-intel-xdk

    I found some info, saying that when you use cranberry's phonegap iap plugin you don't have to alter anything in intelXDK. Is this right?

  • You need to add the Cordova plugin in the Intel XDK . Are you using Cranberry Games plugin. You can find a tutorial on how to add the plugin at software.intel.com/en-us/html5/articles/iap-in-intel-xdk

    Thanks for the link. I will give that a try!

  • Hi guys,

    I'm trying to setup IAP in my app, but for some reason it isn't doing anything. This is what I have done. I made a shop in my game. there are three products: skip level one star, skip level two stars, skip level three stars. They all worked great without the plugin. So I added the phonegap IAP plugin (cranberries) in my game, filled in my app id for the plugin, created the products on the Google play developer console, as unmanaged. Activated the products. Took the product id's and put them in construct. Then exported to cardova. Compiled with Intel XDK to Crosswalk, without adding any plugin or something. Then published the APK in Alpha.

    I now have a tester account and installed the game. The shop opens, but when i click on the productsprites nothing happens. No Google Play pop up, to purchase the product. I waited a day, still nothing. Did i do something wrong in the construct actions?

    check the attachments for screenshots of construct and google play.

    Thanks in advance!

  • I guess at the moment it is spawned a overlap or collision would get triggered so you either add some timeout to the powerup or get a coordinate that's far enough away to begin with...

    Guess something like this could work:

    Every 1 seconds is, of course, your event for powerup spawning - and if the random number is too close it gets spawned again until it's far enough away.

    thanks, I will give that a try.

  • Hi guys,

    I'm making this game that has powerups in it. It works great, but the problem is that sometimes the powerups spawn directly under my player. Since i have a power up that kills the player, i don't want this. The game is a platform game, with max x=1920. Can somebody help me make sure that the powerups spawn like 50 pixels away from my player. This is how my powerups now look like.

    powerupspawn = 14 ---> create object (powerup) on layer 1 at (random(0, 1920), 850)

    Can anyone help me? I read some other posts but i really didn't get how i should do this. It is also hard to test, because it doesn't happen frequently. So really need help. Game is almost ready to publish!

    Thanks!

  • If such color discrepancy can be noticed, I trust you are using form buttons with CSS ? Try using sprites if it's the case.

    Nop. It is actually with sprites and backgrounds, so basically everything....

  • Anyone?

  • Hi guys,

    I have a game and run it on 2 test devices. Galaxy tab 2 10.1 and nexus 5. However the colors of the images are completely different than the colors i used in construct 2.

    If i have 2 buttons. Button A and a level button. The level button becomes very light but the A button becomes very dark on my test devices. In construct 2 on the pc the colors are almost the same color. Both buttons use gradient color.

    I know that every device shows colors different. But the differences are huge. Is there something i need to know about using colors on mobile devices (I just picked a random color) or is this normal?

    Thanks in advance!

    Daan

  • SOLVED! CocoonJS caused the crashes and the lags. I now use IntelXDK with Crosswalk. No problems on my Nexus 5, but on my galaxy tab 2 10.1 still some minor lags when collision checks are about 20.000. However found out that my tab has a Texas instruments processor(I know ) what probably explains the minor lags.

ddaan9's avatar

ddaan9

Member since 20 Feb, 2014

None one is following ddaan9 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies