sagarsarma's Forum Posts

  • what is the name of the plugin?

  • Need some guidance on the performance issue that I am facing to run the below game on IOS device.

    1) I am rotating two sprites in opposite directions. Both the sprites have rotate behavior. created 16 collider sprites to pin to main two rotating sprites.

    2) Have a sprite with bullet behavior. Need to pass through the main sprites.

    The game works great on PC while testing. But on mobile device it has a lag. The lag becomes more prominent after I have integrated backend components like iAd, Admob etc. I have built for IOS using Intel XDK and also added phonegap WKWEBVIEW plugin which has enhanced the performance of the play a bit.

    Is there any other ideas which I should try out?

    thanks,

    Sagar

  • Thanks. Did that and looks good. I also found a plug-in from Phonegap which essentially does the same thing.

  • Given below is the behavior of my IAP test results ( Phonegap IAP on IOS). I have built on Intel XDR with provisional profile.

    1. Using sandbox user: get store listing success

    I issue purchase product and complete the transection. Get a response that transection is successful.

    At this stage I quit the game and restart. On store listing successful I issue a restore purchase command. Get a restore successful response.

    At this stage if I issue a "has product ID" I also get a successful.

    Above steps all looks good. When I reopen the game after long period of time ( like overnight) I don't get success on restore purchase. This I

    think is a problem. Shall test more tomorrow.

    2. Using as a normal user: It does not work properly. This is the expected behavior

  • I would like to add more games feature to C2 to show my published games in the store and also provide a means to download. Is there any options/plugins available in Construct 2 to add such a feature?

  • Problem Description

    ____The official IAP and Admob plug-ins are not working while I use it with Intel XDK for publishing to IOS. I replaced these plugins with Phone gap plug ins and it started working____

    Attach a Capx

    ____ I have not attached any capx as it looks straight forward to me. ____

    Description of Capx

    ____ N/A____

    Steps to Reproduce Bug

    • Step 1. Add the IAP plug-in to the project. Add IOS product ID, request store listing at start of layout. Add an action of "on store listing success"
    • Step 2 add admob plug in to the project. configure the IOS ad-IDs. Preload insterstitial ad at start of layout. add an action of on interstitial ad preloaded.
    • Step 3 etc.

    Observed Result

    ____ Non of the actions are triggered ____

    Expected Result

    ____ What do you expect to happen? ____

    Affected Browsers

    • Chrome: YES
    • FireFox: don't know
    • Internet Explorer: don't know

    Operating System and Service Pack

    ____ windows 8.1 ____

    Construct 2 Version ID

    ____ release version 199____

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ignore my previous post. I could figure out the way to integrate the cranberry IAP replacing the official IAP and it is working for me in the IOS build. Want to inform that same is the case for ADMOB IOS integration also. The official Admob plug-in does not work on IOS when build on Intel-XDK. I had to replace it with phonegap admob plugin and then it works.

  • Hi hazneliel,

    Can you give me more information about how you made cranberry IAP to work with construct2+Intel XDK?

    I am using the official IAP and as followed the necessary steps like "Add product ID" & "Request Store Listing" etc. I have done the IOS build in Intel XDK which successfully builds it with Plugin "cc.fovea.plugins.inapppurchase" (3.4.1). But my IAP does not work both with test and regular user. I don't get either "on Store listing SUcess" or "On Store listing Failure" triggers.

    How do I change to Cranberry IAP from official IAP plug in.

    Sagar

  • 1) I can use the invisible sprite method to take care of the collision part. My worry remains that collision block would continue to shake and hence some of the physics would misbehave. Like the events of "Platform is falling" are continuously getting triggered while the platform is on landing position is not correct, is suppose. Need to find a way to stop the shake.

    2) I have attached the project here for enabling you to review the code. If you can think of an alternative approach I would be happy to try out.

    https://dl.dropboxusercontent.com/u/749 ... /JUMP.capx

  • I am creating a prototype of Jetpack type game where the player flies and need to land on a platform on a projectile path.

    For the Player I have enabled two behaviors 1) platform and 2) physics. Given below are the key events/+actions I am using.

    1) For Player Jump/Jetpack -> On key Press, apply impulse of 0.2 to coordinates ( Player.X+10, Player.Y-10)

    2) To get the Parabolic Path of fall -> On release of key Press, apply impulse of 0 to angle 0 of the player

    The issues I am getting are given below. If anyone can help it will be great.

    1) The player is always shaking while standing on the platform. I have given the video link http://youtu.be/fsXKTc3HNSw. Please note that if I make set world gravity to 0 when the player is on the platform the shake is stopped.

    2) Even when the player is landing on the platform, it constantly triggers events related to Platform Falling. Why would that be?

  • 1) I am looking for an option to write custom Javascript function to return a value to a global variable. Is there a way?

    2) Read the plug-in documentations. Did not find a way to call an action, the scripts for which can return a value. Is it correct?