dop2000's Forum Posts

  • I use the current layer numbers to spawn objects in event sheets, so they will be on the wrong layer if I dont manually change all of them

    That's why you should always name your layers properly and use layer names (not numbers) in all events.

  • You need to configure templates.

    And then create object Text_tx with the desired template name:

  • You can't compare Text_tx.text while it doesn't exist on this layout.

    The feature you are probably looking for is templates. Configure each text as a template, give them different template names. Then you will be able to create a particular text instance by specifying template name.

  • Just make sure to add "For each button" if there are multiple buttons, otherwise they may get stuck in enlarged state.

    For each Button
    Button Tween is NOT playing
    ... Mouse Cursor is over Button : Tween to larger size
    ... Else: Tween to Default size 
    
  • You can add an invisible sprite, add ScrollTo behavior to it and it will be your camera.

  • I believe instances are ordered and processed by their z-index. So A with the lowest z-index will be moved to B with the lowest z-index, and so on.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm using scripting when I need to call a function by name, it's much easier than setting up mapped functions.

  • All strings in expressions in C3 need to be in double quotation marks. For example:

    "dialogue.2.changePose"

    "dialogue." & index & ".changePose"

    JSON.get("dialogue.2.changePose")

    etc.

  • The only way to do this is to move it to another layer.

  • I don't know what to tell you. Try pasting the layout into an empty project. If the memory usage is still different, run both projects side-by-side in Debug Mode and check every object.

  • Maybe some additional objects are created in the first project. Or maybe the objects in two projects are different. Say, both projects have Player sprite, but in the first project it has more frames in the animation.

  • Ok, just be aware that you are saving a string of two values in one element of the array. If you retrieve the element, you will get a string like "3,8". Which is not the same as numbers 3 and 8.

  • You do not have permission to view this post

  • You can't use "Array Load" action, it's for loading JSON in a very specific format.

    You need to read values from your JSON and insert them into the array one by one. (Although I don't understand why you want to use the array, it would be easier to work with JSON directly)

    Anyway, you need to do something like this:

  • Yeah, I remember all that. I believe Rex had already left by the time C3 runtime was introduced. So any ports of rex's addons for C3 runtime were made by other people.