kaveljo's Forum Posts

  • mercuryus i tried it, and then sprite does not respond but thx.

  • Guys pls help.

    I have started making new platformer game and everything was going well until i had multiple instances of same sprite that needs to be AI.

    My problem:

    My hero walks on his path up until he gets in their line of sight. Then they start walking towards him and that works fine with only one. But if i have him between two of them they will both move left or right simultaneously so only the one that is closer moves to him while other one moves away. Can anyone help on how to make them follow him independently if he is in their line of sight ?

    Thx in advance guys

  • Thx this helped a lot

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use "local storage" with some variable as indicator instead of web storage

    try something like this: scirra.com/tutorials/5343/h ... -game-capx

  • global variable HP=100

    (It changes during gameplay)

    but you don't do anything it's global and it stays the same if you don't put different value on start of layout.

    When you leave the game save the HP in local storage if needs be.

  • Try using global variables as indicators and local storage to save the progress.

  • Hi there.

    I would recommend using Intel XDK, but instead of making new project in intel XDK to try load existing XDK project. Since you get it when exporting with cordova.

    After that you just select platform, give it your certificate,(can emulate if want) and build it.

    Answer if it worked out.

  • Try to have your bg as a sprite and add different animations to it.

    Select a random number generator and each selection represents one of the bg.

    So let's say you get 3 (from 1-4) load the third animation.

  • Try instead of new project to add existing xdk project and add certificate to that and other thing that it needs.

  • I think in the sound option where you added it you can boost dB as one of its variables.

    +10 dB would do the trick i think. I had the similar problem but I put -10dB because it was to loud so you can try that.

  • Quick update: It works on android so thank you so much once again

  • PixelPower Thank you so much. I've been searching this answer for hours, tried your method and it worked on PC.

    Hopefully it will also work on my android but that remains to be seen. Anyways thank you so much again

  • How about you try separate event instead of the sub-event ?

  • To whom it may concern I've found it out.

    Basically all you have to do is put additional condition until it stops (Physics.Overall_Velocity =< 0 is what I've was trying to found) and is not getting any kind of input (i.e. Is not in Touch).

    With these two you are set to wait until your sprite is standing still.

    Hopefully this helped everyone and thanks to everyone who read it and tried to help

    Have a great day guys and keep on creating !!!

  • Yea but it's kinda of pick it up where the ball has fallen type of thing.

    Imagine it like golf and you are getting near the hole and you want to shoot from that position instead of from the starting one.