Discuss Scratch

ilikecereal1
Scratcher
100+ posts

How do you add shadows to windows in a windowing system?

Hi there, how do you add shadows to the windows in this project? link here: https://scratch.mit.edu/projects/843169235/
rodper6635
Scratcher
100+ posts

How do you add shadows to windows in a windowing system?

Maybe you could make it so that first you draw the window slightly offset and darker for the shadow, then draw the actual window on top of it.
Link2358
Scratcher
100+ posts

How do you add shadows to windows in a windowing system?

Edit: Bah! Not again! What I said has already been said. 3 seconds late…

You could probably create two windows, one as a shadow and one as the window itself. You would make the shadow first then offset the x and y a bit so that the actual window looks like it is above the shadow window.

Last edited by Link2358 (April 29, 2023 14:46:56)

Powered by DjangoBB