ikke2902's Forum Posts

  • Use "Pick by comparison"

    For example insert the first value of your desired UID.

    The second value is de Object which contains/match your wanted UID,

  • Select Sprite 3 and look at the left side of the Bullet Behavior. There is an option called "Set angle", set it to No.

    If this option has been set to yes, the spawned sprites will take over the angle of the turret.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hope this is what you are looking for <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://dl.dropboxusercontent.com/u/152 ... 0Test.capx

  • You need a global variable to store the newly created BeachBall UID.

    An event will snap the BeachBall with this UID to your Touch coordination.

    On created Object "BeachBall" : Set Global Variable "BeachBallUID" to BeachBall.UID

    On Touching the screen

    ------Pick Object by UID = Globalvariable BeachBallUID : Set BeachBall position to Touch.X and Touch.Y

    gl!

  • Well, I'm interested to help.

    Though, I will only be able to do this after monday...

  • You are welcome

  • Locale variable "CurrentBiggestDistance"

    Locale variable "MostFarUID"

    OnDeath

    ------for each spawnpoint

    -------------for each enemy

    ------------------------distance(spawnpoint.x, spawnpoint.y, enemy.x, enemy.y) > CurrentBiggestDistance : Set CurrentBiggestDistance to distance(spawnpoint.x, spawnpoint.y, enemy.x, enemy.y) AND set MostFarUID to enemy.UID

    -------Pick spawnpoint UID= MostFarUID : Spawn Player

    -------[No condition] : Set CurrentBiggestDistance to 0 AND Set MostFarUID to -1

    gl!

  • Allow me to resurect this topic...

    Does the princess still wander around?

    Is the treasure still there?

    I'd like to have these badges...

  • I can only make a suggestion to eliminate the huge pile of global variable.

    Add an array. Each box of the array can represent as a systemslot.

    For example Array.at(0,0) can be seen as systemslotA

    Array.at(0,1) as systemslotB etc.

    You can store the Objects in it when the conditions are met.

    Though, you will still have the long list with different actions

    Array.at(0,0)= Object A - Do This

    Array.at(0,1)= Object B - Do This

    (...)

    gl!

  • matrixreal You should try the more elegant solution suggested by paulscot

    Here is my capx using his idea

    https://dl.dropboxusercontent.com/u/152 ... angle.capx

    gl!

  • I had the same problem haha.

    You are welcome SilentScope!

  • You can also use AngleAt on touch release - this gives you the angle of the swipe.

    I didn't know that condition and it's great. Thanks paul

  • The ads (and test ads) only show up in exported apk afaik.

    Ads won't work on pc.

    Could there be a hidden space at the end of your BannerID in C2?

    Maybe you can test with a different condition for showing ads, like on pressed R instead of on banner received. Try this in test mode first though.

  • DId a test ads show up during test mode?

    I just tested with my game. Ads does show up even if you have't export your game to the playstore.

    Your steps seems to be fine.

    Though, I recommend you to update your intelXDK to the latest version, they have added Admob plugin in the third party plugin section. You just need to tick it on and you don't have to get plugin from web. The end results might be the same, but who knows...