fedca's Recent Forum Activity

  • I mean I get both sides of the argument and I would say it just has pros and cons.

    But where this argument falls completely flat to me is that: the event sheet is a Construct specific programming "language" with a lot of specific complexities you have to learn (for example picking).

    GDscript on the other side is much closer to common programming so it is much easier to transition from it compared to the event sheet.

  • For cases like this you can usually use the system condition "pick last created" in a sub-event.

  • But opacity=0 is not the same as visibility. It's not possible to check visibility in an expression. There is a silly limitation in Construct that expressions can't return boolean result - visible/invisible, enabled/disabled etc.

    you can kinda do it by calling a return function passing the uid

    For this overall discussion I haven't really ran into this problem myself. Sub-events or calling the same function/custom-action seems to just work and is arguably cleaner. Still I see how it is a bit rigid.

  • My guess is depending on the width or height of the text the center is at half pixels. If that is the case, increasing/decreasing the size by 1 pixel should fix it.

  • If you are on the Construct Community Discord there is a great example project for this by Abho

  • The memory management actions of the object called system (the little gear icon that's always on any project):

    documentation, scroll down to memory management: https://www.construct.net/en/make-games/manuals/construct-3/system-reference/system-actions

    or maybe I am misunderstanding your question

  • the system object has pre-loading actions

    This does not work well as you want 50% on the slider to somewhat be perceived as half as loud, this is why the exponential formula that has been posted multiple times works better.

  • Take a look at the persist behavior

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    I don't understand how you can create a slider with the db range -infinity to 0, how can the user lower it to half as loud (-10db) if the slider also has to linearly go to -infinity as than -10 would be almost no change to the slider?

    So you need to remap the range in some way to get a usable slider.

    Using 10 ^ (decibel / 33) and 33 * log10(interval) gives me the range of 0-1 and feels like I can set volume in a intuitive manner.

    But maybe I am missing something.

  • you can use a local variable to which you add 2 every iteration.

    alternatively use loopindex*2 when checking

  • create the specific object and then in a sub-event pick last created familyObject

fedca's avatar

fedca

Member since 6 Jul, 2017

Twitter
fedca has 65 followers

Connect with fedca