Curler's Recent Forum Activity

  • Thinking about it further.. I am going to place all of the object movement and collision resolution code into a function and place that function within a loop that adjusts the input parameters. In theory I think this would move the computations of multiple ticks into one tick.

    It has been a while since I figured out the objects movements and I don't see any dt factors. I used vx, vy calculations that seem to be independent of frame rate. - did I just get lucky that the speed of the animation is good on all tested devices? I'm not sure. This stuff gets complicated

    I am still open to better approaches...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Using a pool table game as an example. How can I implement a computer opponent? I would like to have the computer try hitting the cue ball (white ball) in each of 360 degrees at 20 different levels of force. Then score the result of each of those attempts to decide which angle and force will have the best result, which the computer player will ultimately shoot.

    If the computer runs through all of these scenarios using the same code as the manual player, in the same time it takes to make a shot, then it could take multiple minutes for the computer opponent to decide what shot to make. Considering there are 360 * 20 = 7200 scenarios to play out and score.

    Is there a way to have each of the scenarios process invisibly to the human player as fast as the computer can calculate it, while using the same events that are already used to move the ball, detect collisions, redirect the balls, etc. for the human player?

    ..or is there a better way to approach this?

    I have searched and searched, but my keywords have not found an article that addresses this. Please point me if this has been covered elsewhere.

  • As some honest feedback..

    I bought Construct 2 because it said I could create apps and monetize them on IOS, Android and Windows Universal apps.

    I have been able to create a great game using Construct 2, as promised, but only a few feet from the finish line, very basic IAP doesn't work. Hundreds of hours of learning and development, with a significantly frustrating ending.

    It does not matter to me whose problem it is. I bought Construct 2 to get to a promised end result that was promised by Scirra. I have no inclination to go to an annual Construct 3 subscription based on my experience with Construct 2.

    If there are 3rd party issues, then create detailed troubleshooting guides to help us get across the finish line. I will keep trying to get my current version running. However, for the next version, I have already downloaded Unity and will invest the time in learning it. Yes, it will be a longer learning curve, but I can be assured I will reach the goal there that I couldn't here.

    This could have been a great experience, but 99% of the way isn't good enough since it still equals a 0% result.

  • Hello, does it also work when exported as a universal Windows app in the Windows Store?

  • Thanks Jtibbles that worked!

    Note: adding <plugin spec="https://github.com/poiuytrez/AndroidInAppBilling.git" /> was a bad thing to do with Android.. it also triggered a need for the "BILLING_KEY". Using your sample code and not adding this plugin is what worked for me.

  • A part of the solution seems to be:

    remove the ..com...plugin.AndroidInAppBilling... line from the config.xml file and replace it with the following line:

    <plugin spec="https://github.com/poiuytrez/AndroidInAppBilling.git" />

    This allowed me to create an ipa file for ios with PhoneGap. I don't know if this has any unintended consequences yet, but it has allowed me to progress beyond the error.

    MPPlantOfficial - thanks for your advice. I am tackling Android next.

  • I have what I think is a basic implementation of the built in IAP object. I do a basic export without the intel checkbox checked. Zip it up and import it into Phonegap. Yet with just that I get the following errors. Does this not work anymore? Did I waste all those hours and the cost of the program on an unsupported and out of date development environment? None of the posts I have read are very positive. Please advise on what I can do.

    IOS and Windows:

    Error - The following plugin, plugin version or a dependancy of this plugin is not on npm: com.mcm.plugins.androidinappbilling

    Android:

    Error - One of your plugins requires a parameter: BILLING_KEY ...

Curler's avatar

Curler

Member since 11 Dec, 2016

None one is following Curler yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies