DiegoM's Recent Forum Activity

  • The reason the hierarchy in the example previews transformations is because it is part of a Timeline.

    Timelines have a little bit of extra functionality to be able to preview hierarchy transformation while in editing mode, so it's a little bit easier to do an animation.

    When you are not in timeline editing mode though, the different parts of a hierarchy just behave as any other instance regardless of being on a hierarchy or not.

  • I am imagining that you are using the "on node entered" trigger to pick the value of one of the outputs of the current node at random and then you are showing that. The same can be done for the starting node.

  • There is no such thing as a default output.

    When a node is entered you can query the node for the information in any of it's outputs and then decide what to do next.

    What are you trying to do?

  • Currently there is no specific way of checking if any given node is the last. Maybe in the future there can be a condition to check if a node doesn't have connected outputs.

    In the mean time the way to detect when a certain node has been reached is by using tags.

  • Yeah, Ctrl + Click is a shortcut to the color picker tool that works at any time, regardless of the selected tool. There are two unusual cases:

    1. When the image points tool is selected, the color swatches are not visible but the shortcut will still work.
    2. When the collision polygon tool is selected, the shortcut doesn't work, which technically is a bug, but since it's an unusual case, will be left as is.
  • You do not have permission to view this post

  • Hmm I see the issue with that. But realistically I'd still want the z-order to be somewhat retained in the sense of something being above or below an object. If all the objects in the hierarchy are then, z-order wise, right next to each other that's ok but I think they should be in the right order, so that a sprite that is above another sprite in the template is also above the other sprite in the replica.

    I need to check that then, because the relative z ordering in a hierarchy should be kept.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You mean changing the Z order by using the context menu option to send to bottom and send to front? Because yeah, that is not supported by templates.

    Right off the bat, I can see that there would be a problem with templates propagating z order to replicas if they are both in the same layer, what should be at the top or the bottom then?

  • I wouldn't wait for this to be implemented on our side, it could take a long time if it even is implemented at all.

    It's difficult to say what a good strategy to do something like what you are describing without seeing how your project looks like. Of the top of my head, you could try having a few families and use that as the mechanism to place the instances in the correct layer.

    Ej. after creating all the instances look for all the instances in the HUD family and place them in the HUD layer.

    Doing something like that for each layer should be convenient in the long run.

  • Currently this is not supported.

    Now that I think about it, maybe an effort could be made to create instances in hierarchies in the corresponding layer. The reason it doesn't work like that is that it can never be guaranteed to work, because the needed layers might not exist in the layout the hierarchy is being created in.

  • Ctrl + Click is the shortcut for the color picker, should work on any tool.

  • I know you just said "doesn't include a plugin", but have you thought about writing your own plugin to do it?

    It would be pretty much a boiler plate behaviour with an action that makes the instance twitch a little bit by moving the X and Y coordinates. You could even add a couple of parameters to it to control how long the shaking should take and what the range of the shake should be.

    It's a perfect candidate for a behaviour.

DiegoM's avatar

DiegoM

Member since 24 Apr, 2015

Twitter
DiegoM has 1,379,806 followers

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies

Blogs