kmsravindra's Recent Forum Activity

  • cranberrygame

    I am using your PhonegapIAP plugin for iOS. The problem is that I followed all the steps but still the app remains dumb doing nothing wrt IAP...Here is my screenshot. I am requesting the store listing on start of layout after adding the product id --> then the text sets to "Requesting store listing". If the store listing is successful, then the text should turn to "Request triggered" and if the store listing is unsuccessful, the text should turn "Request failed". But none of them happen and it just shows "Requesting store listing" forever on the UI. Not sure what is that I am doing wrong...The only thing is I am Cordova CLI - Xcode to build/run my app rather than IntelXDK route...Does that make any difference?

    Any help is deeply appreciated as I would have spent hours to get this working

    Here is the screenshot of my eventsheet.

    [attachment=0:jm1k25ym][/attachment:jm1k25ym]

  • Thanks

    The problem is that I followed all the steps but still the app remains dumb doing nothing...Here is my screenshot. I am requesting the store listing on start of layout after adding the product id --> then the text sets to "Requesting store listing". If the store listing is successful, then the text should turn to "Request triggered" and if the store listing is unsuccessful, the text should turn "Request failed". But none of them happen and it just shows "Requesting store listing" forever. Not sure what is that I am doing wrong...The only thing is I am using Cordova CLI - Xcode to build/run my app rather than IntelXDK route...I believe that is pretty much the standard approach to use Cordova...

    Edit - I tested with IntelXDK and it works. I didnt understand why it should be biased to IntelXDK only while other C2 functionality and C2 official plugins work fine w/o intelXDK?

  • cranberrygame, Does your cordova IAP plugin work with iOS? Please let me know. I am unable to get C2 - IAP plugin work with iOS...Though I followed all the steps in the C2 - IAP plugin page and the apple developer forums, nothing happens when I click on the in-app product in testing mode on my iPad...Not sure what I am missing...Also there is not much help on forums in this regard. Does your iAP plugin help?

    Edit - I downloaded and used your PhonegapIAP plugin as well. Even this is not working with iOS. After some more debugging, I figured out that none of the conditions like "On store listing success" or "On store listing failure" conditions are not even triggering! Could you please help? I did all the steps exactly as I have read in several forums...I would have spent 5 to 6 hours on this making sure everything was exactly setup...But no use .Please help.

  • I exactly have the same problem but on iOS. I am using C2 official IAP plugin with cordova export.

    When I try to test from my sandbox tester account in itunesconnect, then nothing happens as I click on the iAP products. No pop-up nothing...Just stays as it is...Please let me know if C2 official IAP plugin works fine OR should I use Cranberry' s plugin.

    Edit - I used Phonegap IAP plugin from cranberry plugin and used the same code as above in C2, then exported with cordova to iOS...Still nothing happens!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • aquinn, It looks great. Could you let me know how did you manage to add IAP for iOS? I am trying to add C2 - IAP and export the app using Cordova. When I try to test from my sandbox tester account in itunesconnect, then nothing happens as I click on the iAP products. No pop-up nothing...Just stays as it is...BTW, I am adding a non-consumable product. Please let me know.

  • Do you want to loopindex the logic on number of blocks or number of squares?

    I also believe when you say 2000 squares you have them on a Tiledbackground...Otherwise performance will sure be impacted with or without the logic! Try to have as many less static objects as possible...

    You can do the above logic only if the number of blocks you have are limited in number ( say less than 60 to 70 or so)...

    Also you should call the function on a triggered event rather than every tick...otherwise performance will again take a hit.

  • Infact, I had to ask my client to look away from Construct 2 to build a game like Zuma for performance reasons

  • I usually achieve this using functions.

    I guess your top, top-right etc., blocks can be picked by some index variable relative to the current block...Otherwise you need to have some index variable depending on the instance id or while creating the blocks in the grid set a index variable for each block following a matrix notation(row number/col number).

    Once a index variable is established for each block,

    Then in a for loop, you need to check "for each" block --> pass the index variable of that block as a function param and call a function.

    In the function (on the event side) pick the block for the top, top-right blocks depending on the passed index variable vs self-index variable --> (on the action side) do whatever you want with the picked blocks.

    Hope this helps!

  • I am trying to use the C2 - IAP plugin for the first time and have a question.

    After I use the IAP action "Restore Purchase" on Restore button clicked, and lets say if restore was successful, then which of the following will detect the restore success state ?

    • On store listing success/Has ProductID events ?

    OR

    • On productID purchase success event ?

    I am taking care of the first time purchase etc., in the events/actions...Do I need to do anything else specifically for "Restore Purchase" other than just calling "Restore Purchase" IAP action when restore button is clicked?

    Thanks!

  • Havok, Thanks. I added this to the wishlist.

    Jermfire, the method you showcased is pretty good...However I see some complications adapting this method to Zuma type game especially with curved paths and making the shot ball part of the chain ( addressing prob#2). The closest option that I could think of is option#4 as I mentioned above but I am trying to validate the performance when the game is finally made with this option - especially with certain levels having twisted paths (there could be 120 to 150 static sprites in addition to the moving balls....)

  • Being able to add curve paths during edit time (if possible dynamically be able to create paths at run time as well!) and making the sprites move along the curved paths is definitely on my wish list. Without such a functionality, its very complicated (with several trade-offs ) to build games like Zuma.

  • Hi QuaziGNRLnose,

    I am trying to build something like as in here - http://threejs.org/examples/webgl_inter ... inter.html

    I understood that I have to use the Q3Draycaster for this and tried working my way with the plugin. I have looked at the example of Raycaster and viewports.capx in this regard.

    However, I am stuck with some basic questions like -

    1. how do I pickup the cube and limit the cube movement in 3d axis while moving it only the grid.

    2. how to move it step by step on the grid in x or y directions (exactly into the square positions) along the grid

    3. Should I make the grid a Q3DModel object having one single object OR multiple square Q3DModel objects connected together?

    4. How can I place the cube only on top ( if there is a cube already at the bottom) etc., To do this, would I need to use collision testing feature as well?

    5. I think I can pick up the cube using the 2 conditions - Q3DViewport projection point in frame to mouse co-ordinates and Q3Dviewport --> Project,pick 1st, then I see I can pick-up the cube? Then should I use Q3Draycaster to move the cube along the raycaster? If so, how can I move along the raycaster? (Also, I assume I have to position the Q3Draycaster to cameraposition.xw, cameraposition.yw, cameraPosition.zw and direct it at the highlighted cube model?)

    Do you see this as relatively easy one to build OR slightly complex? Any quick helpful pointers on how to achieve this functionality would be really helpful.

kmsravindra's avatar

kmsravindra

Member since 29 Dec, 2012

None one is following kmsravindra yet!

Connect with kmsravindra

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies