dop2000's Forum Posts

  • Which behavior are you using? You can apply an impulse by setting vector X/Y in 8-direction and Platform behaviors.

  • You can save the progress in Local Storage. When the game is launched, check the value in Local Storage, and depending on this value decide whether to skip the intro or not.

  • Lol, got it!

    "First 5 people to up-vote a new Construct 3 release"

  • 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
    
  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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/s/lm21nghivlhrqhs/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.