Kyatric's Forum Posts

  • What solution are you using after having exported from Construct to Cordova in order to make your apk ?

    I encountered a similar issue, in the past weeks, with someone using cocoon.

    And likely the issue is on their side since they do the final export.

    Out of Construct, you get a API level 26 android 8 ready Cordova project.

  • the game just... automatically saved globals on its own

    Highly unlikely, it never did.

    If you did not use local or webstorage it is possible you went through the system Save and Load actions that actually saved your game to local storage for you.

    https://www.scirra.com/tutorials/526/how-to-make-savegames

  • (which shouldn't happen since they are position pinned to this bottom sprite)

    That is one of the side effect of pinned instances.

    As I said, there is a delay between the "main" object moving (that is moved thanks to the 8Direction behavior) and the moment the pinned instances are moved.

    So basically, sprite 3 is moved "outside" of the layout, the pinned instances are moved along, and sprite 3 is repositioned by the "BoundToLayout" behavior.

    Nevertheless, the wheel instances already have been moved, giving this strange impression.

    It is a kind of bug, but it's also due to the way Construct works and the order in which operations happen.

    You may fill a bug report for it to get a confirmation from Ashley I guess.

    For Construct 3, were you running the C3 or C2 runtime in your version built from scratch ?

    If it is C3 runtime, it would make sense since it's been a complete rewrite and possibly Ash did "correct" (or make it more solid) the pinned behavior.

  • Define "doesn't behave" properly.

    As far as I could see, I noticed no difference between the wheels of the top sprite and bottom sprite.

    Your wheels are pinned to the sprite, meaning that when you move your sprite, the wheels are then moved, with some delay (due to the nature of pin).

    If you can explain clearly what you are expecting and what you are experiencing, it will be easier to investigate your issue.

  • First, be sure to check for errors in your browser, this will provide you with informations as to what is exactly happening/preventing your files from being downloaded.

    This could be the MIME types configuration of your server which is not appropriate for those files.

  • Moved to the more appropriate "Website issue and Feedback".

    Bug report made : github.com/Scirra/Construct.net-website-bugs/issues/25

  • ## Problem description

    Clicking an image to have the "big" version of it leads to an error message.

    ## Steps to reproduce

    1. Seen in the first post of construct.net/forum/game-development/game-development-design-ideas-25/help-with-lighting-mechanics-137571

    2. Click the image at the bottom of the post

    3.

    ## Observed result

    "sin título-2 not a handled upload."

    ## Expected result

    The image displayed in full.

    ## Affected browsers

    * Chrome: yes

    * Firefox: yes

    * Edge: not tested

    * Safari: not tested

  • You should look into the shadow light plugin and its associated shadow caster behavior for everything related to the management of light and shadow.

  • "3. Event check if boolean is true, set animation to play."

    Every tick since the boolean is true, the animation is set to play. So it starts playing.

    Either use the action to set animation to play in the event 2.

    Or do add the system condition "Trigger once while true" to event 3 to make it only happen once, and not every tick.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • + Tongue: TongueState > 0

    -> (no actions)

    + System: Else

    -> (no actions)

    Manual article on Instance variables

    Else is a System condition

  • Consider checking for errors in your browser.

    This should give clues as to what is going on.

    Also without a project or URL to investigate, it is unlikely anyone will be able to help out.

  • Since you are using Construct 2 the first thing is to search the How do I FAQ for C2.

    You should post directly in the Construct 2 forum and not the Construct 3 one (I've moved your topic to the C2 forum).

    You are looking to do some finished-state machine.

    You will want to have instance variables in your enemy and (possibly) the timer behavior.

    According to the current state you will execute some specific events that modify what your enemy is doing.

    For example, step1, rest for a given time once during this step start a timer.

    When this timer hits, pass the enemy to step 2.

    When the enemy is in step 2 you modify its graphics and spawn/do whatever is supposed to be its attacks on its left side. When it is done (a series of actions is finished, or another timer) move it back to a state of rest, but consider the next step is going to be the step 3.

    And so on.

  • Use the system condition "Compare two values"

    Your first value will be something like object1.angle and the other be something like object2.angle.

    You may also want to check out the how do I FAQ for C2 that contains a lot of examples of implementations.

    I think I remember one about the "Diablo" movement that should possibly apply to your current issue.

  • I can't seem to reproduce or understand your issue.

    The file you provide has an object "Player" that will go up and down, bouncing from "wall" and "wall2".

    There is no issue of "changing angle to left and right", the movement is perfectly vertical on my computer.

    You used the Bullet behavior and configured it to bounce from Solid anyway.

    There is not much to do using events there.

  • Providing the actual project could help out answering your question more accurately.

    The bit of code you show in your screenshot is just not enough.

    Also, it means that when you click your button, the global variable "dir" changes to -1.

    All events and actions are read and executed top to bottom.

    Changing the value of dir to 1 in this excerpt is irrelevant.

    Consider checking the "How do I FAQ" for Construct 2 for questions like those, it does contain a lot of implementations of different mechanics already, including how to set changing the directions of characters.

    https://www.construct.net/forum/construct-2/how-do-i-18/how-do-i-frequently-asked-ques-41236