Can Objects Fade out over time?

0 favourites
  • 4 posts
From the Asset Store
Time rewind like in "Braid". Choose objects that will be affected by time rewind
  • Hi all,

    New here. I'm an artist on a development team and we are using this fine engine. Currently I'm producing art for a prototype to see if the planned mechanics will work.

    Before I waste my time as well as the lifespan of my head hair could someone please answer the two questions I have below. Doing so will help me better plan out my renders. Thanks in advance.

    1. Is it possible to set an animation of a layer (object) moving side to side, up and down, or even diagonally within C2?

    2. Is it possible to animate a layer (object) fading out to zero opacity over time?

  • Hi, welcome to the community.

    1. There are many ways to move things around in C2, but how you do it depends very much on what kind of movement you have in mind. Maybe you could be a bit more specific? The beginner's guide covers a lot of the basics as well, so you might want to skim through it if you haven't already.

    2. This one's probably slightly more complicated, first we need a variable to use as a timer, then we can adjust the opacity of the object based off that variable. Here's an example (comments inside):

    FadeOverTime.capx (r134)

  • Nimtrix

    Thanks bro! Great example. Really appreciate it!

    As to my first question, here's an example of what I'm asking for:

    can I give the impression of moving a "Manhole Cover" by pressing/clicking on the manhole png object and manually slide it away from the man hole tunnel or choose to manually slide it back into place. Can something like this be done?

    And can it be moved in any direction? Up, down, side to side, and diagonally?


  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well yeah, I'm not sure if this is what you're looking for, but moving object with the mouse is really easy if you just add the Drag&Drop behaviour:

    ManholeCover.capx (r134)

    I also added an event to snap the cover back to the hole if you drop it on top of it. Like I said, many ways to move objects. And yes, all directions are possible.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)