Adisma's Forum Posts

  • Hello,

    Is there an easy way to pick a number of nearest instances of an object ?

    Ex : pick the 3 nearest, and order them by distance.

    Thanks

  • Thanks for the answer.

    I finally made another method : I apply the bonus at the creation of the turret/turretBonus.

  • Hello

    Here's the context : I'm making a tower defense. For that, I create 2 families : Turrets and TurretBonus.

    Turrets are classical turrets with the behavior turret.

    TurretBonus don't have this behavior, their goal is to increase capacities of turrets in their range. Ex : add 50% to the turret range.

    I tried this code :

    [attachment=0:ws4yi4mq][/attachment:ws4yi4mq]

    With 1 turretBonus and 1 turret in the range of the bonus, no problem.

    But with 2 turretBonus : range increases indefinitely

    With 1 turretBonus and 2 turrets in the bonus range : idem..

    Any idea ?

    Thanks

  • SamRock : it's not on my tablet that my game failed. It was a report from my app

    But after the update, the user confirms it's working with the x86 version

  • Thanks SamRock, the trick is to have 2 different code versions : 1 for ARM, 1 for x86.

  • SamRock

    Could you detail how you upload both versions ? I didn't manage to do it..

    Statistics are updated at 2nd of March.. thus, I don't have the real count of downloads too...

  • SamRock

    I don't know.. but I don't think we can have both versions ??

    Here the thing is that this device ( GT-P5210 ) is not in the list of devices ==> google cannot filter if it should work or not on this one..

  • Got same report on Galaxy tab 3.

    Seems to come from the processor x86 (and not ARM). On my side, the galaxy tab 3 that crashes is the GT-P5210 which is not in the list of devices.. I guess it's the same for you.

  • Thanks for answers

    I publish it in alpha, and already tried with another account.. but on the same device..

    I'll ask a friend to test..

  • Hi,

    not sure, but try to cast webstorage.localValue to int..

    Then you checks will be

    HighScore < int(WebStorage.LocalValue())..

  • Bump

  • ekajuan : price depends on the quality of the app/game too.

    Sell a flappy bird 1$ w/ adds, and 10$ w/o.. you'll get 0 dowloads ^^

  • You can do the Sprite.setColor only when you change the values of instance variables to avoid the update at each tick

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    you can try by creating a joystick : https://www.scirra.com/tutorials/398/to ... ontrollers

  • Hi,

    with the effect "set color", you can change the params progressively in the event sheet.

    3 instances variables : R, G and B. Play with that. And every tick, set the parameter of the effect to those values.

    Something like :

    [attachment=0:168seya8][/attachment:168seya8]