madster's Forum Posts

  • if you're doing timers with events do NOT use ticks, DO use timedelta!

    This will ensure your grenades always take the same to detonate, no matter what computer the game is running in.

    Signed

    CEAT: Coalition for the Ethical Advancement of Timedelta

  • Plugin has been updated a bit. Im working on the adaptation to a behavior.

    Deadeye gave me the idea to have the option that when you set a state to true all other states are turned to false by default. this would be in addition to the normal changing state options. Do you guys agree or disagree?

    Well, if more than one state is on, then it's not really a state machine so I'd say it's a good idea.

  • Wooo!!

    I like the grouping feature. Useful!!

  • The Construct installer only needs network for the external bits (VC and DX redistributables), which you could download separately and keep.

    they HAVE to be installed though. Really really, no way around it. If Construct crashes on startup, you probably skipped one of those.

    So, download those and when installing offline, install the VC and DX redistributables first, then install Construct and cancel the network installs. No net will be required that way.

  • okay.

    so what is it that you wish to accomplish?

  • If you have global vars, then have a global event sheet with events for those vars

    create a new event sheet named "global" containing

    always: set global('asdf') to clamp(global('asdf'),0,10)

    then include that sheet in every layout's global sheet.

    You have now a centralized place where to set your maximum and minimum for these global variables, and the regular variables that do not need clamping are unaffected =)

  • thx =D

    hopefully no one is harvesting wave accounts yet.... I'll have a look at it later

  • I've used Particle Illusions 3 and yes it's there.

    In fact, it's pretty much in every design software with particles I've ever used.

    Doesn't mean it has to be in here, though design software is for offline, not realtime. They also have perfect collision response and they take a lot of time to render.

  • does Range Tinter work with alpha?

    Just in case it doesn't, or if you want to retrofit Color Replace with alpha support

    Premultiplied alpha means color rgb(0.8,0.8,0. with an opacity of 50% gets stored as rgba(0.4, 0.4, 0.4, 0.5).

    To get the original color, just divide by the stored alpha!

    color = rgb(0.4, 0.4, 0.4) / 0.5 = rgb(0.8,0.8,0.

    then do your color replacing magickqs and then re-multiply by alpha.

    *All vector notation here is faux and does not work at all like that in shader code.

  • Objects move along a smoothed path, but their speed varies

    Bezier curves are used for graphics, but they're not so good for motion as their first derivative is not constant.

    You'd want a spline with a constant first derivative respect to the parameter (time). There are a jillion different kinds of splines out there. I was looking for a constant first derivative spline to suggest, then I remembered that ease-in and ease-out would be nice, and such a spline would prevent that.

    So my suggestion is to reparametrize the curve, and in the process you might be able to add ease in/out. This document explains how.

    http://www.geometrictools.com/Documentation/MovingAlongCurveSpecifiedSpeed.pdf

    It's probably difficult.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Actually, I've wanted to use Sine behavior with a jillion different things.

    I just wish I could get the value out of it with an expression.

    Then you'd just set Z to it. Or an effect parameter or whatever you wish.

  • Please try to reproduce the bug with the rotate behavior in an isolated .cap and file it.

    Sounds obscure and hard-to-catch.

  • Construct will never scroll past the layout unless you have Unbounded Scrolling activated in the Layout Properties.

    Maybe you had a window the same size of the layout when you first attempted to scroll?

  • sweet, Linkman!

    let us define a box within which there is no scrolling and the box that marks the maximum scroll speed, since some games might be off-center (think diablo with the inventory screen open).

  • I think I know where this is going, and I've been there.

    You want each enemy to have a health bar, but you've placed them in the IDE so containers aren't really useful since you can't associate any healthbar instance to any enemies, also placing healthbars in the IDE is kind of overkill.

    When I had that issue, I used the enemies as "markers". I had one healthbar instance, with "Destroy on startup" attribute. I had placed enemies at their locations, then, On Layout Start, I would for each enemy sprite destroy it and then create a new one at the same location. Since I had healthbars in a container with the enemy sprites, they would both spawn and become associated.

    Tangly paragraph that last one. Let me know if its unreadable.