fedca's Recent Forum Activity

  • global layers imo

  • couldn't this me solved internally by c3 by wrapping image offset by texture size before passing it to the gpu?

  • mhm interesting doing this gives me a really stable averaged dt (only going up by 1 on the 6th decimal point from time to time), but my dt is already much more stable than what you are have to begin with:

    Though I agree with Reddog and Dop, just using a fixed step should be fine for this.

    using time/tickcount is interesting too, but it's averaging over the whole game session, which imo is too long as it may be bad if some levels run worse than others on some users machine

  • To smoothen the dt you could store the last n delta times and average them.

    This could be done with an array, every tick push dt into the back of the array and if length is greater then n pop front.

    To get the smooth dt loop over the array and add each stored value together, then divide it by array.length.

    Interestingly there are engines like Godot that do delta time smoothing by default (can be disabled in the settings). Though their implementation is probably a bit better than what I am suggesting. This may be interesting for Scirra to consider adding to c3.

  • Action and conditions do an internal for each over each picked instance of the object type the Action or Condition is on. (i.e. system is only one instance, so using the create object system action will only ever create one object, while Sprite spawn object will spawn multiple objects if multiple Sprites are picked).

    There are outliers like system picking conditions, which again do an internal for each over picked instances of the object type selected in that picking condition.

    If you add an event sheet for each the whole event is repeated for each picked instance, with only one of those instances picked.

    (this may be a bit of a simplification of the actual engine internals, but thinking about it this way holds true)

  • Be wary of the distance() from gamepad sticks, as it's returning values in a square-ish shape and not a circle. Meaning distance can be over 100 on diagonals.

    A simple fix would be just limiting distance i.e min(distance, 100)

  • Tiled backgrounds are also packed separately in the packer Skymen made, linked on the github issue.

    Though afaik tbg could be wrapped correctly even if packed by using partial derivates (which are also availaible in webGL 1 with extensions), though I have not tested this myself. Alternatively the texture could be generated at runtime similar to 9patch.

  • value3 = value1 - value2

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, I have created a 3rd party timer behavior that has this feature (and also has better performance):

    https://www.construct.net/en/make-games/addons/1236/trigger-timer

  • ppstudiomtyWhere have all your other addons gone? I purchased some of them (Data +), but now they are not available and have been removed from itch.io Without warning, what is this supposed to mean? I also used your free addons, but they have also been removed. If you plan to seriously engage in the sale of your addons, then we would like to see that they will be supported over time, but you just deleted them without any explanation, there are doubts that smartui is the same...

    Sorry not about SmartUI, but throwing it in as it just came up.

    Overboy allowed me to port his DATA+ addons to SDK v2 and release them for free.

    I already ported the JSON+ (behavior) you can get it here: https://www.construct.net/en/make-games/addons/1412/json-behavior

    I will port the other addons later.

  • It exists in Construct 2, you can read about it here under operators. https://www.construct.net/en/construct-2/manuals/construct-2/project-primitives/events/expressions

  • you can also do this in one expression (system evaluate), i.e.: (value >= 5 & value <= 10) | (value >= 15 & value <= 20) | (value >= 25 & value <= 30)

fedca's avatar

fedca

Member since 6 Jul, 2017

Twitter
fedca has 68 followers

Connect with fedca