Revert fade effect?

Get help using Construct 2

Post » Sat Aug 09, 2014 6:36 am

See if this isn't more up your alley...
You do not have the required permissions to view the files attached to this post.
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Sat Aug 09, 2014 12:09 pm

codah wrote:The right-hand room never fades out?


Ahhh - I guess I was being dumb and didn't understand the OP... Try this updated version where both sides fade. I used another copy of the Sprite4 as there's no need to use 2 different objects for this purpose.

I've put in 2 event groups that you can enable/disable. The first uses 2 events and no variables and is very simple to implement... The second is 'tidier' to my brain because it only demands the system lerp when fading is in process. Of note on option 1 I had to use a For Each loop - I don't understand why it wasn't detecting the lack of overlap without it...
You do not have the required permissions to view the files attached to this post.
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Sat Aug 09, 2014 12:36 pm

I made an example, but then I noticed @Colludium made it almost exactly the same :)
Posting an image anyways
You do not have the required permissions to view the files attached to this post.
ImageImageImageImage
B
157
S
66
G
42
Posts: 2,603
Reputation: 35,343

Post » Sat Aug 09, 2014 2:14 pm

shinkan wrote:I made an example, but then I noticed @Colludium made it almost exactly the same :)
Posting an image anyways


Go back a page, you'll notice they've both become virtually same as my earlier example (except I use LiteTween) :)

Anyway this has been fun. I'll know what to do if this requirement comes up :D
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sat Aug 09, 2014 2:20 pm

@codah yeah, but we are using "hardcore events", not "the easy way behaviors" :P
ImageImageImageImage
B
157
S
66
G
42
Posts: 2,603
Reputation: 35,343

Post » Sat Aug 09, 2014 2:24 pm

haha @shinkan :) I guess there's a reason we have add-ons. Anyway good luck.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sat Aug 09, 2014 4:03 pm

shinkan wrote:@codah yeah, but we are using "hardcore events", not "the easy way behaviors" :P


@codah, yeah - LiteTween is ace but... no cheating...!! :)
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Sat Aug 09, 2014 10:00 pm

I do enjoy a challenge but.. I think the OP just wanted his game to work :D

Maybe we should have a "challenge of the week" forum :) No add-ons allowed!
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Mon Aug 18, 2014 5:52 am

Thanks, guys... You've been of great help!
B
10
S
2
G
1
Posts: 26
Reputation: 1,128

Previous

Return to How do I....?

Who is online

Users browsing this forum: MassimoF and 25 guests