akabaru48's Forum Posts

  • is your animation set to loop?

  • Could you please specify the exact location or context where that function is being called?

  • To open a Construct project in an older version, first, change the file extension from .c3p to .zip. Then, extract the contents.

    Next, open the project.c3proj file in a text editor and find the line with "savedwithrelease": XYZ. Change the XYZ to an older release of Construct where it can be successfully opened.

    Save your changes, compress the files back into a .zip, and rename it to .c3p. Now, try opening the modified .c3p file in the older version of Construct.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To access `globalVars` in your script, use `runtime.globalVars.score`.

    To increment the value, you can use `runtime.globalVars.score = runtime.globalVars.score + 1`.

    Alternatively, if you just want to increase the value just use this `Add Action` > `System`>`Add To`.

  • To maintain consistency and avoid potential issues, it's advisable to use names like `credit_layout_start` or `CreditLayoutStart` instead of including spaces in layout names, variables, objects and etc.

  • Yeah, i'm facing the same issue, but you can try adding "Text Changed." on it.

  • You can use "Load Image From URL" and fill it with a base64 string, for example:

    "data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4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nXICdsYyVd2NcVvA3ScE5t2rb5JuEeyZnAhmLt9NK63vX1O5Pe8XaPSuGq1uTrfUgMEp9EJ+CQvr+BJ/AAKvAcCiAR+bf9CjAAluzmdX4AEIIAAAAASUVORK5CYII="

    Place it, for example, in "Start of Layout," or you can also load it from JSON, CSV, etc.

  • Please attach your work and please provide more details or expand on the issue.

  • You can use AJAX "request URL" or "Post to URL" which can be wrapped with "Every X Seconds" or similar methods, and connect it with the Telegram API or a webhook that you have set up.

  • I am experiencing the same issue. In terms of appearance, it might look a bit off, but functionally, it still works as expected. Hopefully, there will be an update in the future.

  • Sometimes the movement of a character's face doesn't have to match the same direction the character is moving. You could try actions like jumping or walking to the left while shooting or attacking to the right, so the character will face right while moving left.

  • Can you show me what’s inside the Layout folder?

  • 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