dop2000's Forum Posts

  • My demo is for construct 2, maybe that's why you don't see these options. Try saving it as Construct 3 project and make sure you have selected Runtime=Construct 3 in project settings, in Advanced tab.

  • Text input may be ok for prototyping, but I would suggest using text or spritefont for the real game. You can create a new text object for each message and pin them to a large panel for scrolling. Check out this demo.

  • This happens to me all the time. I still regularly discover that something in construct works differently from how I imagined it :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Edited: this is based on the function method of action... if you remember in Construct in order to have events/action act like function calls we have to do a wait 0 so next set of actions wait for above to complete then fire up ... but in functions... that wait 0 happens by default.. this will cause the other 2 functions to have time to re-evaluate the conditions that fired them in 1st place. (this is main reason i don't use functions... )

    I'm sorry, but I don't think what you are saying is correct.

    In any event actions and sub-events are executed from top to bottom. Functions are no different. They don't add any "wait 0" to the execution order. (unless you are using asynchronous functions and specifically wait for them to complete)

    And any conditions are evaluated only once, except when in loops.

  • No, I don't think this could happen in C2 either. One possible scenario when the first function could stop the other two from running is if it deactivated the group with those two functions. Or if the same conditions are checked again inside the two functions.

  • Saving to local storage is definitely easier with a dictionary. How you use the values after loading is up to you. You can copy some values that you need often to global variables (for example, gold amount). Values like game settings you can leave in the dictionary.

  • this sounds like when the drag and drop conditions happen, the 1st function call will disable one of the conditions and the other 2 remaining in the action list will not trigger.

    I may have misunderstood you, but if you are talking about the screenshot in the first post, there is no way the first function can disable the remaining two. All conditions are evaluated first, and if they are all true, then all actions will be executed. So all 3 functions will run one after another, without any pauses. Even if one of the functions changes the variables used in conditions, it won't matter, because they have already been evaluated.

  • Had the same problem today, ended up changing target sdk to 29. It works for now, but I'm guessing Google Play will soon stop accepting this version, so I'll need a proper solution.

  • but oddly, when I remove the additional conditions and just have it execute On Drop - it all works.

    This likely means that one of these conditions is false when "On drop" happens. You can disable one condition at a time and find which one causes the problem. Then investigate why it can be false.

  • Just like real joints in human body, they don't like to be overstressed. Make sure you don't apply too much force. And you should only change position and angle using Physics actions. If you try to change position or angle directly (using "Set angle" for example), or use other behaviors like Bullet, the joints will break.

    If this doesn't help, please post your project file.

  • I use hierarchy with containers like this in one of my projects, but I don't have "On created" events. It does look like a bug, you should report it.

  • There is still another object in this container - DeprLifeInfo. Once you remove it, the container will cease to exist.

  • I changed a few things:

    dropbox.com/s/0yqo1vdfd112kk9/Q4D_V2.c3p

  • You disabled all my events and asking why it doesn't work anymore? :)

    You can't paste objects to drawing canvas on every tick, that's why I'm using two canvases. On first tick the layout objects are pasted on canvas1, on second tick canvas1 is pasted on canvas2.