akabaru48's Recent Forum Activity

  • I’m not sure if these instructions refer to in-game text instructions or guides, or if they are instructions like mathematical calculations. But whatever it is, you can try this:

    runtime.globalVars. is the way to use global variables through the script. The result of the testing function will be assigned to the global variable Result.

    To use it, right-click and select "Add Script."

  • I don’t know why you are using "On Pressed A and D" — perhaps you are creating some other function. However, the reason why your character moves left with its face facing right when you press A, then D, and release D is that the last key you pressed was "D." The `onPressed` function executes immediately upon pressing a key, so after pressing A and then pressing D, the `mirror` function for A will be overridden by D, and vice versa.

    However, for the down function, if A and D are pressed simultaneously, the character will not move because one is moving right and the other is moving left. But when you release D, the character will walk because of the key A, although the appearance will still not be mirrored due to the last pressed key being D.

    Initial state: Mirror - Not WALK

    Press A: Mirror(onPressed) - WALK to Left(KeyDown A)

    Press D: NotMirror(onPressed) - NOT WALK (because walk to left and right) (KeyDown A and KeyDown D)

    Release D: Still NotMirror (because the last onPressed is D) - Walk to left (because keydown remains A)

    So your character will face right (NotMirror) because your last pressed key was D.

    This is my simple solution.

  • i have sprite "ball" which can duplicate itself in their position

    how to set angle for the new duplicate "ball"?

    "ball" have bullet behaviour

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i have sprite "ball" which can duplicate itself in their position

    how to set angle for the new duplicate "ball"?

akabaru48's avatar

akabaru48

Member since 1 Sep, 2018

Twitter
akabaru48 has 1 followers

Trophy Case

  • 6-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

8/44
How to earn trophies