dop2000's Recent Forum Activity

  • If you have Square family and Circle family, then the code will be:

    For each Square
    Square pick all Circle children
    ...Circle Move in front of Square
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Like I said, use the hierarchy. You can either create it manually in the layout editor, or programmatically with events.

    construct.net/en/make-games/manuals/construct-3/interface/layout-view

    If you prefer Pin, you can pick pinned objects using System Pick By Evaluate expression, where Child.Pin.PinnedUID=Parent.UID

  • couldn't find the action "Child move in front of Parent"

    Sprite -> Move to object

    There will be options - move in front, or behind.

  • When changing z-order or moving to another layer, you need to do this for each object in the "container".

    If you need to do this often, you can make an event which moves all child objects above the parent object on every tick. Also I suggest using hierarchy instead of pin.

    For each Parent
    Parent pick all Child : Child move in front of Parent
    
  • This is currently not available in the API. You can vote for this idea:

    construct3-21h2.ideas.aha.io/ideas/C321H2-I-319

  • You can try contacting people who develop effects and shaders. Maybe someone could make a more performance-friendly effect which works for your game.

  • Yeah, there have been pretty serious changes lately, which make new project files incompatible with older releases.

    Press F12 after trying to open a project and check the browser console, it may tell you why exactly the project failed to open.

  • Some effects are bad for performance, especially when you add them to many objects. Applying the effect to the layer instead is a common way to fix this.

    Without seeing the game it's difficult to suggest, but the obvious solution is to make multiple copies of the same objects with different colors, or multiple animations in a sprite.

    If the objects are static and not animated, you can apply the effect on the start of layout, then paste them on a drawing canvas, then destroy the original objects or make them invisible.

  • One thing I couldn't fix so far is to have dragged element come in front of the rest of the scene

    You mean on z-axis?

    On Drag Start - Sprite Move to front

  • I'm guessing the first event was created using an old version of the Pin plugin.

    I can't tell you why your event doesn't work - there is nothing wrong on the screenshot, you need to post your project file.

  • Please ignore everything I said about physics. Is this what you are trying to do?

    dropbox.com/scl/fi/cy1pdxozw9y2d5ngtc40l/DragWithRotation.c3p

  • so I'd have thought it wouldn't matter if there is 7 GB of content, as it will still only load what it needs to display the first layout. Are you using NW.js with packaged assets by any chance?

    I tried creating a blank layout and set it as the first layout in the project - it still takes about 3 seconds to load, and the logo+progress bar are shown during this time.

    I'm testing in preview, but I believe it's the same in NWJS export.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies