PabloDev's Recent Forum Activity

  • >

    > > It works fine with cranberries phonegap JS library but has some problems with cordova JS library I guess. I have screen freezes sometimes when interstitial pops out, while using C2 AdMob and Cordova JS.

    > >

    >

    > Please, where I can download that ?.

    >

    It's in the official manual https://www.scirra.com/manual/184/admob

    [quote:1oz1s0i6]Name: AdMob Plugin

    Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob

    Well I guess that's a no to both since the plug isn't supported on Phonegap officially.

    It is officially on Scirra. There's nothing to report IMO. The problem is when you use C2 plugin and JS which is NOT officially supported by C2. So I doubt Ashley would consider fixing it... especially when the code itself is a third-party library.

    So to wrap up:

    Case 1

    C2 official AdMob plugin + cranberry Cordova AdMob plugin (JS) - gives problems sometimes

    Case 2

    C2 official AdMob plugin + cranberry Phonegap AdMob plugin (JS) - works fine

    Case 3

    Cranberry C2 Cordova Admob plugin + cranberry Cordova AdMob plugin (JS) - should work fine (haven't test it myself yet

    Officially only Case 2 is supported and I didn't have any issues with such combination.

    So what you mean is that if the ID laying in the manual is used, the plugin works correctly?.

    Thanks for the info <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Hello, please, how I can save an object array ?.

    In a game for android, I need to save data of the game, I have some array objects and want to know how I can store them in memory for later loading when the player start the game again.

    Local storage only save a value, not an array object.

    "Save" is excessive.

  • It works fine with cranberries phonegap JS library but has some problems with cordova JS library I guess. I have screen freezes sometimes when interstitial pops out, while using C2 AdMob and Cordova JS.

    Please, where I can download that ?.

  • This is an observation, perhaps it could be a bug or maybe is the correct behavior.

    I'm checking that "request fullscreen" of the object "browser" only works if "on touched object" is used and the object is touched.

    Request full screen not work with:

    "is in touch"

    "is touching object"

    https://dl.dropboxusercontent.com/u/60803633/test.capx

    Tested in galaxy s6 with preview over wifi using last version of chrome for android, android 6.0.1.

  • The bounce action of the bullet behavior should bounce according to the shape of both objects, aka their collision polygons.

    You can approximate it with events like this:

    In the case of a ray of light, you only need the angle on the object that's hit then the reflected angle would be 2*AngleOfSurface-angleOfMotion.

    Ok, thanks for the information, it will examine later.

  • WIP.

    For Android devices.

  • Ok, thanks, I understand perfectly .

    It is also possible only by altering the speed.

  • The problem is Default is "playing", it's speed is 0 though. Either add another animation, so you can change the name, or change the test to "Animation speed = 0", and set the speed back to 0 in event 4.

    I'm not sure I follow, could you edit the capx please?, so I could understand it better.

    Edit.

    Ok, then the animation "default" is already playing although its speed is 0.

  • Hello, someone can help me with this?.

    I want the "animation" object play its animation when the mouse sprite touches him, but nothing happens, why?.

    https://dl.dropboxusercontent.com/u/60803633/animation.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The default mode in behavior bullet is the mode of what would be the reflection of light?

    If so, then yes, that is what I want, but this confuses me:

    In the documentation of bullet behavior say this:

    It will also calculate the angle of reflection to bounce off realistically depending on the object's shape and angle.

    That's what I meant, It refers to the shape of the sprite? or the shape of the bounding box ?.

    I want the shape of the object does not interfere, so I think you could get reflections as light.

  • Hello, in the bullet behavior, is there some way that bounce angles are the same as the angle of origin but reflected ?.

    Currently the bullet mode takes into account the shape of the object, I want to disable that and that is the style angle pong, pong ball.

    If the angle hits with 45 degrees, the new angle is 315 degrees.

    This is what I want

    I want the angle is the same, but that is reflected in the impacts, without alteration of the angle.

    I have read the documentation and I think the bullet behavior does not have this effect exactly, apparently the bullet behavior could vary the angle due to the shape of the object, then I want off that and get accurate reflected angle.

    Please, sorry for my english.

  • > Ok, I'm confused, it comes construct including admob plugin.

    >

    > Does this plugin pack includes admob again ?.

    > In addition to other plugins that are not included in

    > construct, am I right ?.

    >

    This pack does not include C2 OTB plugins. Just new (and some old as well) plugins made by Cranberrygame. You may see some plugins which may seem to be duplicated, but they are a bit different. For instance In this pack you will find Phonegap IAP plugin and Cordova IAP plugin. C2 also has it's own OTB IAP plugin right? But the OTB one does not support consumable products. Also I did not manage to restore purchases with the OTB one.

    So people used to use Phonegap IAP plugin from Cranberrygame - it worked perfectly. However due to some changes in this rapid technology (not sure which exactly but I believe it's related to the fact that Cordova CLI 5.1.1 is now on the scope) Cranberrygame does not support this plugin any more. It's deprecated now. The valid and tested one is Cordova IAP. Basically for a "normal" user it's the same thing. Does the same job and usage is the same. Just new name.

    I'm not sure about AdMob plugin from the pack, because I normally use C2 OTB plugin which is based on Cranberrygame JS code anyway.

    Hey, thanks for the infor, I now understand better.

PabloDev's avatar

PabloDev

Member since 2 Nov, 2015

None one is following PabloDev yet!

Trophy Case

  • 9-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Email Verified

Progress

12/44
How to earn trophies