Scottydoes3d's Recent Forum Activity

  • Thanks, I'll give that a try today.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have these levers in my game that I would like to move down randomly and I also need them to stop randomly. On start of the game the levers start in their top positions. throughout the game I would like the levers to individually move down at different times (so even if lever_1 moves lever_2 and lever_3 don't have to move.). I also would like the levers to individually stop their downward movement at random times too.

    Example: Every 4-9 seconds the lever should move down for 2-4 seconds then it should stop. That should repeat until the lever reaches the bottom.

    I have attached the capx that I have been working on and the progress thus far. I haven't started with the random timing mechanic because I don't know where to start exactly.

    capx instruction:

    move sprite with arrows

    move sprite over place holder and press up and down arrows to move lever

  • >

    > So if I wanted the max opacity to be 90 in stead of would I just say..... on start set square to 90% opacity, then instead of dividing 100 I should divide 90?

    >

    Simple answer, yes. I've added a clamp to ensure it won't go over the maximum.

    You went beast mode today dude....thanks

  • Well, I don't how how hornet did it, but try it, I guess...

    OK I will, thanks for your suggestion earlier, not too familiar with Construct yet so I honestly didn't understand too much but I understand a bit more seeing the example.

  • Similar to Whiteclaw's suggestion.

    Ba Da Bing Ba Da Boom, that's it!!!! Thank you so much. Question...So if I wanted the max opacity to be 90 in stead of would I just say..... on start set square to 90% opacity, then instead of dividing 100 I should divide 90?

  • I've edited the capx so that now it will fade visible and invisible using opacity each time you flip the switch. I didn't do the 50% opacity if the switch is halfway, but if you study the capx, you should be able to easily do it as well.

    https://www.dropbox.com/s/xp2l3oggmgk1y2s/Lighting%20TestModified.capx

    Thanks for your help, but this is not exactly what I'm looking for. I may not have described what I'm looking for good enough so I will try again. The switch works as a light dimmer. At the max position of the switch (the highest position) the square will be at 100 %. At the minimum position of the switch (the lowest position) the square will not show at all. So for every position between the max and the minimum, the square's opacity should be relevant to the position of the switch.

    Example: If you pull the switch 50% of the way down and stop it there, the square should show 50% percent opacity. If you then push the switch 83% of the way up, the square should 81% opacity.

    The switch acts as a gauge for the opacity of the square. Thanks again for the quick response maybe I can tweak your file to get the results im looking for.

  • I'm trying to make a black square go from 100 % opacity to 0% opacity, but I want it to do so gradually. I place a lever above each square that should control the opacity of it's corresponding square. Right now when the switch is at the top it is at 100% opacity and when the switch gets to the bottom it it goes to 0% opacity. I would like it to show the transition from 100% to 0% while moving the switch. So if you pulled the switch half-way down the square would show around 50% opacity. Capx of what I have done so far is attached, thanks in advance for any help.

  • Thanks for all the helpful info guys this also helped me out too.

  • I was working on something similar to this and this post really helped out a lot. Thanks.

  • Thank you, the crazy part is I just thought of that after the post and realize how much of a noob question that was lol. But thanks for the quick response.

  • I have a platformer behavior on my playable character but I don't want him the have the ability to jump. How would I take that function away.

  • Thanks for the help. I'm at work now but I will definitely try this when I get home. Thanks again.

Scottydoes3d's avatar

Scottydoes3d

Member since 21 Nov, 2013

None one is following Scottydoes3d yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies