Make horizontal scrolling text disappear semi-transparent bg

Get help using Construct 2

Post » Sun Feb 18, 2018 11:50 am

Hi guys,

I would like some help trying to resolve a problem I am having trying to create a "Now Playing" feature with horizontally scrolling text on a semi-transparent background which should make the text disappear part way through the screen.

I can get the text to scroll horizontally by simply moving the text box to the left AND if the background wasn't semi-transparent, I could hide it behind a sprite.

Ways I have thought of are maybe using different blend modes - but I have no idea whether they would work in this case or if they would, how!

Any ideas?

Posts: 2
Reputation: 179

Post » Mon Feb 19, 2018 12:53 am

Make a sprite with a gradient fill - transparent on the left and opaque on the the right.
Put this sprite and your text on the same layer, set "Force own textures" in this layer's properties. And apply Destination Out blend mode to the sprite.

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
Posts: 1,967
Reputation: 74,765

Post » Mon Feb 19, 2018 10:46 pm

Thanks for your reply @dop2000 - Sounds interesting & I will try that out! Tho I had already given up and changed the semi-transparent in opaque - but it looks aweful :D
But trying out what you suggested will be a great satisfaction - if it works and I'm sure it will.
So, thanks again!
Posts: 2
Reputation: 179

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests