rkruis's Forum Posts

  • 14 posts
  • I have the cranberry plugin package but don't see any plugins for adding a Rate My App popup.

    I would like to have a button in my game, where the player can easily rate my app. Does anyone know of existing plugin or code that would do this?

    I would like it for iOS and Android if possible.

  • Thanks - not sure why I could not find that.

  • I can't seem to find in the documentation when objects are automatically destroyed from memory.

    I have a game level layout "Level1", and when the level is completed or failed I call a new layout using [goto layout XXX].

    Are the objects in Level1 with event sheet Level1 all destroyed, except for global?

    Can someone point me to where this is in the manual?

  • According to google, the issue is because I do not have a published Alpha app. I need to complete the store listing first.

    From Google

    "Unfortunately, you'll need to publish the app in one of the testing tracks (Alpha/Beta) to test IAP."

  • I have the Cranberry IAP plugin installed with the settings below, but am getting the Google Play error, "Authentication is required. You need to sign into your google account."

    Yes, I am signed in on my phone.

    I am wondering is this error, because I only have an app in Alpha, or is it because I am running the android-debug.apk app.

    In Construct 2,

    1. I added the IAP plugin from Cranberry.

    2. Setup the correct Android application License Key.

    3. In the layout event sheet

    • On start of layout -> Add product ID "myID"
    • On start of layout -> Request store listing

    4. On touch gesture of button ->Purchase product "myID"

    And then I have checks for On purchase fail or succeeded.

    When touching the button, I get the google thinking icon and then the google message appears.

    Is this OK while the app is in development?

  • Yea, I completely understand the issue.

    15 years as a developer but only 2 weeks on construct. It is a bit different than writing the code yourself.

    Thanks for all of the help.

  • rkruis did you try my methods yet?

    Aww, OK. I understand how the collisions are working with animations. If I slow the animation speed down to 5 from 10, it works 90% of the time.

    Yes, this is flawed and to fix it I have no real solution, but there are ways to adjust it to make it less prone to error.

    1. Add more frames.

    2. slow the animation speed.

    3. use a solid object at the bottom, not a good solution for how the game works.

    4. Use your suggestion, where I do not use Is falling, which i will check this out later tonight and let you know how it goes.

  • The collision polygons are different for each frame. They match the blue square in area.

    I am unsure of what is flawed. I will have to re read what you wrote a few times.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a platform game started and my character needs to be able to jump onto an animated sprite. The sprite is simulating an object jumping or a wall going up and down.

    When my hero jumps onto its head, I want it to be destroyed. Just like the basic enemies in super Mario.

    My problem is sometimes when the animated enemies is not in animation, it doesn't catch the Is Falling flag.

  • Thanks Pixel

    I was able to resolve my issue and here is what I did, in case anyone has the same issue.

    I want to use Cordova CLI for compiling and packaging my apps, mainly because I do not have the internet bandwidth to wait for my code to upload, then build, then download. Truly a waste to me. On Cordova CLI, I can build my app in less than 30 seconds, and then install it locally for proper testing.

    Anyways, I found I needed to install CrossWalk to get the same performance as Intel IDX does.

    To install CrossWalk in Cordova CLI you will get errors building if you do not add these two Android SDK Libraries.

    1. Open Android SDK.

    2. Scroll down to Extras

    3. Add Android Support Library

    4. Add Google Repository

    Next add CrossWalk to your project.

    1. cordova plugin add cordova-plugin-crosswalk-webview

    Or follow this link

    https://crosswalk-project.org/documenta ... rdova.html

    The next things I did, was follow PixelPower's advice. I made all images the correct size. This fixed all performance issues.

  • Ok I can definitely help you but 1st I need to know the strenght of your phone. Download this game

    https://play.google.com/store/apps/deta ... ead.nights if it runs fast on your device then it your game I can help you make your game faster. If my game runs slow on your device then its your device thats slow. Test my game on your device and post results then I can help you.

    I have a Samsung S4, and also an Alcetal Pop 3. Both are decent phones.

    I found that when I compiled using Intel IDK, the app performed great.

    however, I hate using their servers because my apps end up being 10 times larger in size, and also I have never been able to get IAP working.

    I tried your game and it works great as well.

  • I have a basic platform game in development and when I install it on my Android phone, the in game is very slow. Like super slow for player movement and touch key simulations for the arrow keys.

    The game works fine when testing in a browser.

    I am using Cordova export and then compiling/packaging it to an APK file using Cordova CLI.

    Any ideas where I should start looking? I am lost at where to even look.

    Sample of my game code in the event sheet.

  • Awesome - that worked. Thank you so much!

  • I am trying to do something very simple that I have done a million times in other languages, but cannot figure it out in Construct 2.

    All I want to do is flip between two images when a user touches the sprite. I am currently using the mouse click even for testing.

    When the user clicks on the sprite image, it will flip to a disabled looking image and the opposite when the user clicks it a second time. It would flip back to the enabled image.

    I believe my issue is when the user clicks the image, it does row 7, but then continues onto row 8. This makes no sense to me. It should exit out and not go to the second click until the user clicks again.

    If I disable action 8, action does what I want, but I need action 8 to flip back.

    As you can see I have also tried using sub action.

  • 14 posts