Kyatric's Forum Posts

  • There is a system action :

    [quote:1o0zy1kg]Set minimum framerate

    Set the maximum delta-time (dt) value based on a framerate. The default minimum framerate is 30 FPS, meaning the maximum dt is 1 / 30 (= 33ms). If the framerate drops below 30 FPS, dt will still not exceed 1/30. This has the effect of the game going in to slow motion as it drops below the minimum framerate, rather than objects stepping further every frame to keep up the same real-world speed. This helps avoid skipped collisions due to stepping a very large distance every frame.

    You could try and mess with, although it likely won't get you the effect you are looking for.

    At worst, it can help you understand how the engine is coded on that level.

  • In this kind of cases, it is due to the fact that the object you are moving is not the weasel but its collision box.

    That's where the offset is coming from, pin actually do the positioning of the object after the events are read.

    To fix, the best would be to actually position the tail depending on an imagepoint on the collision box itself, not the animation/weasel.

    Or to have the weasel moving/being positioned manually every tick like the tail is.

  • In the tutorials : How to use AdMobs and IAP official plugins on Android Crosswalk/Intel XDK.

    CocoonJS support has been officially dropped more than a year ago now.

  • Not sure this exact "feature" is accessible, but if you check the How do I FAQ you can see an item named "Firing a laser" that can help you along.

    Or at worst you can search for the keyword "laser" in the forums and see what you can come up with from the numerous topics on the subject.

  • Dragot: Post your capx, and perhaps even create your own topic.

    Showing your code is always critical as it helps recreating your issue quickly and knowing where we start from.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Don't add two cordova plugins, you only need one.

    If you want to use the one from cc.fovea, prefer using cc.fovea.cordova.purchase

    Always remember posting your code can get you quicker/more efficient answers as well.

  • Send a request with proof of ownership of the account to

  • IAP.hasproduct("NameOfProduct") is working as intended if you are building using the latest beta version (r218) and having added the appropriate cordova plugin as described in the tutorial.

  • In the event(s) that decrease(s) the value of ScorePoints, instead of using an action "Substract from global variable", prefer to use "set global variable value" and use the clamp() expression.

    clamp(ScorePoints - 1, 0, 999)

    Clamp is a system expression that limits the returning value between the min and max values provided.

    In the example it limits with minimum value 0 (so never negative) and max value "999". Adapt max according to the possible scores that can be achieved in your game.

  • As far as I know ProductPrice and ProductName does not return values currently.

  • Moreover I've updated the tutorial I was talking about.

    It now contains a detailed part about IAPs.

  • Global and local variables as well as groups count as events.

    You can see the exact number of events used in the down state bar to the right.

    At worst post your capx so we can see it by ourselves, but that would be the very first time that a proven "out of limits when the limit is not reached" happens.

  • desasteraang: Event 16 the parameter index needs to be a number.

    Here strictly "0", not "Function.param(0)".

    Make sure also to set the origin point for the obstacle for it to work as if it was resting on top of the block (likely setting it at the bottom of the object).

    You also need to do a few modifications in the action that calls the function "obstacle".

    You need to add a 4th parameter : "Block.UID"

    And in the function "obstacle", add a condition (event 16) Pick Block by UID Function.param(4).

    This will make sure to pin the obstacle to the newly created block and will prevent strange behavior from happening.

  • You should actually directly post your capx instead of a screenshot.

    This would make things easier to investigate and see go haywire.

    You provide a decent amount of informations, but this is still divination you are expecting from us.