endltop's Forum Posts

  • 4 posts
  • I'm having a little trouble with the (flip/mirror) sprite problem

    my problem is that i have "character" , enemy1 , enemy2

    I want to handle it so that when near each other, these three characters will face the direction of the nearest enemy (character , enemy1 , enemy2 are three independent teams),

    I have handled character and enemy1, however when having enemy2, I realized that even when standing close to each other enemy1 , enemy2 don't face each other, they always face the "character" no matter how I edit the code, what should I do?

    p/s : i add

    character and enemy 1 in a family A >< enemy 2

    enemy 2 and character in a family B >< enemy 1

    enemy 1 and enemy2 in a family C >< character

    Tagged:

  • Hi,

    please check Mobile advert,

    when i add this to the project, build realese apk, open it on mobile, -> crash,

    when I delete it, the game runs normally on mobile again,

    (I installed it correctly, by copying the code from my previously working project) , and I used google test ad code -

    p/s : if anyone can run in this moment, please let me know.

  • Try Construct 3

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

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

    i try add code in javascript file:

    	Bundle bundle = new Bundle();
    	bundle.putString(FirebaseAnalytics.Param.CHARACTER, character);
    	bundle.putLong(FirebaseAnalytics.Param.LEVEL, level);
    	mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.LEVEL_UP, bundle);
    

    but this not work , and have some bug

    this code copied from firebase, pls teach me

  • Hi, (construct3)

    i have a question about storing value with "local_store_variable"

    I have a character, when the character collides with a coin (I use is overflaping, coin : global variable) , the coin value will increase by 1

    At the end of 1 level I save it to "local_store_variable"

    ok, so far everything is fine, i did run on each level individually, everything runs properly.

    but, when I play through level 1 and go to level 2 to play, the coin value stored in "local_store_variable" is not correct when I check again.

    I checked again by replaying the same level many times, and the same error occurred

    I still don't know what the problem is.

    the result is:

    Play each level individually : works well, value is right

    consecutive play : wrong operation, wrong save value

    please help me with this problem if you know, thank you

  • 4 posts