This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-04-10 05:13:11

Jallaboy
Scratcher
Registered: 2009-11-25
Posts: 6

Transparency stuff

I don't know if this has been suggested before, but one thing I think would improve graphics a lot is by having the possibility of semi transparent parts in the sprites.

Example: http://img707.imageshack.us/img707/9109/yaov.png

Offline

 

#2 2010-04-10 15:31:24

Phi_Lho
Scratcher
Registered: 2010-03-22
Posts: 75

Re: Transparency stuff

Your example doesn't illustrate well your question... :-)
I just tried: I made with Gimp a PNG image with variable transparency (a large fuzzy pen over a transparent background) and saved it. I then loaded it with Scratch (wow, it is sooo slow to browse folders while making its thumbnails on my old computer...) as a sprite... and I found out it cuts the transparency at perhaps 50%, in a all or nothing way.
Too bad... :-(

So, that's a +1 on your suggestion from me! :-D

Last edited by Phi_Lho (2010-04-10 15:31:51)


http://i241.photobucket.com/albums/ff159/PhiLho/KM150.pnghttp://i241.photobucket.com/albums/ff159/PhiLho/PhiLhoLogo.png

Offline

 

#3 2010-04-10 17:15:19

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Transparency stuff

I AGREE!

Offline

 

#4 2010-04-17 05:30:51

Jallaboy
Scratcher
Registered: 2009-11-25
Posts: 6

Re: Transparency stuff

TY for support, now we just need to get the developers to notice this  smile

and @Phi_Lho I know the example sucks, but i was in a rush XD

Offline

 

#5 2010-04-17 08:33:31

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Transparency stuff

I support.
Then I could put this in scratch without jagged edges:
http://img697.imageshack.us/img697/8902/explosiong.png
Well, the black edges.

Last edited by juststickman (2010-04-17 08:38:07)


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#6 2010-04-17 08:33:52

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Transparency stuff

Is this a better examlple?
http://img210.imageshack.us/img210/4972/transparencyexample.gif


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#7 2010-04-17 08:38:33

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Transparency stuff

markyparky56 wrote:

Is this a better examlple?
http://img210.imageshack.us/img210/4972 … xample.gif

How is that an example...?


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#8 2010-04-17 09:01:10

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Transparency stuff

juststickman wrote:

markyparky56 wrote:

Is this a better examlple?
http://img210.imageshack.us/img210/4972 … xample.gif

How is that an example...?

It has transparency, transparency which you can actualy see is there. You can see the silly face behind can't you?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#9 2010-04-17 12:25:01

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Transparency stuff

markyparky56 wrote:

juststickman wrote:

markyparky56 wrote:

Is this a better examlple?
http://img210.imageshack.us/img210/4972 … xample.gif

How is that an example...?

It has transparency, transparency which you can actualy see is there. You can see the silly face behind can't you?

OHH

Well then it's a bad example... Not FULL transparency is the suggestion here, we already have that.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#10 2010-04-17 12:27:03

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: Transparency stuff

I support.

Offline

 

#11 2010-04-17 12:30:15

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Transparency stuff

juststickman wrote:

markyparky56 wrote:

juststickman wrote:


How is that an example...?

It has transparency, transparency which you can actualy see is there. You can see the silly face behind can't you?

OHH

Well then it's a bad example... Not FULL transparency is the suggestion here, we already have that.

Ok... hmmm... how on earth would they add that into scratch? Like a block which lets you set the transparency of a certin colour? or section selector?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#12 2010-04-17 17:31:11

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Transparency stuff

Ahem...

The ghost effect?


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#13 2010-04-17 19:35:09

Kingdaro
Scratcher
Registered: 2008-06-08
Posts: 100+

Re: Transparency stuff

He means being able to draw semi-transparent pixels or to import pictures with this feature in scratch so everything doesn't have jagged edges. Example:

http://img265.imageshack.us/img265/8159/judgmentbeginnerlabel2x.png

Offline

 

#14 2010-04-17 23:22:10

08jackt
Scratcher
Registered: 2007-09-12
Posts: 1000+

Re: Transparency stuff

waveOSBeta wrote:

Ahem...

The ghost effect?

For images, not sprites.


http://i39.tinypic.com/jgtswi.png

Offline

 

#15 2010-04-18 05:31:36

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Transparency stuff

So then it would be basicaly  ghost effect... in the paint editor.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#16 2010-04-18 07:10:05

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: Transparency stuff

Like changing the opacity. Nice idea!


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

#17 2010-04-18 15:00:01

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Transparency stuff

I think you can do something like that in Paint.NET, set the opacity on a certin colour. That would really help smoothing out the edges on sprites and making them look a lot better.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#18 2010-04-18 16:07:01

wiimaster
Scratcher
Registered: 2008-09-17
Posts: 1000+

Re: Transparency stuff

I agree with this awesome idea. I also want transparency for the pen block.


http://i584.photobucket.com/albums/ss286/wiimaster1/Wiimaster_zps107dca4c.gif

Offline

 

#19 2010-04-19 05:50:24

Phi_Lho
Scratcher
Registered: 2010-03-22
Posts: 75

Re: Transparency stuff

I quickly make an image (with mouse!), so it is ugly, but it should illustrate the idea.
Tr = Image with transparency
Bg = Some random background
Tr+Bg = Image over background
Scr = First image as seen by Scratch (nearly all transparency is lost)

http://www.freeimagehosting.net/uploads/4b25825c6f.png

As you can see, the background image is partially altered by the colors of the foreground image.


http://i241.photobucket.com/albums/ff159/PhiLho/KM150.pnghttp://i241.photobucket.com/albums/ff159/PhiLho/PhiLhoLogo.png

Offline

 

#20 2010-04-19 11:39:50

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Transparency stuff

Phi_Lho wrote:

I quickly make an image (with mouse!), so it is ugly, but it should illustrate the idea.
Tr = Image with transparency
Bg = Some random background
Tr+Bg = Image over background
Scr = First image as seen by Scratch (nearly all transparency is lost)

http://www.freeimagehosting.net/uploads/4b25825c6f.png

As you can see, the background image is partially altered by the colors of the foreground image.

Thats ok, but it doesn't really apply to the subject at hand.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#21 2010-04-19 12:23:48

Phi_Lho
Scratcher
Registered: 2010-03-22
Posts: 75

Re: Transparency stuff

markyparky56 wrote:

Thats ok, but it doesn't really apply to the subject at hand.

Really?
Thus we don't have the same understanding of the sentence "semi transparent parts in the sprites".


http://i241.photobucket.com/albums/ff159/PhiLho/KM150.pnghttp://i241.photobucket.com/albums/ff159/PhiLho/PhiLhoLogo.png

Offline

 

#22 2010-04-19 12:33:34

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Transparency stuff

Phi_Lho wrote:

markyparky56 wrote:

Thats ok, but it doesn't really apply to the subject at hand.

Really?
Thus we don't have the same understanding of the sentence "semi transparent parts in the sprites".

Well, I just don't see how that is an example of Semi-transparency.

Has anyone noticed that when you try to make a fill with it going from a colour to transparency, and it replaces transparent with black?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#23 2010-04-19 12:35:24

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Transparency stuff

markyparky56 wrote:

Phi_Lho wrote:

markyparky56 wrote:

Thats ok, but it doesn't really apply to the subject at hand.

Really?
Thus we don't have the same understanding of the sentence "semi transparent parts in the sprites".

Well, I just don't see how that is an example of Semi-transparency.

Has anyone noticed that when you try to make a fill with it going from a colour to transparency, and it replaces transparent with black?

Yeah, scratch puts black behind semi transparent stuff. Drag my example into scratch to see what I mean.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#24 2010-04-19 13:03:43

Phi_Lho
Scratcher
Registered: 2010-03-22
Posts: 75

Re: Transparency stuff

markyparky56 wrote:

Well, I just don't see how that is an example of Semi-transparency.

The bottom of my glass, and the top-left part (among others) have semi-transparency: they have color, but let the background to be seen through them. Thus coloring partially the background. When loaded in Scratch (try it, that's http://www.freeimagehosting.net/uploads/6f06646ccd.png image), it becomes either solid color or transparent part (the small white part in the top-left of the glass).


http://i241.photobucket.com/albums/ff159/PhiLho/KM150.pnghttp://i241.photobucket.com/albums/ff159/PhiLho/PhiLhoLogo.png

Offline

 

#25 2010-04-19 13:03:47

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Transparency stuff

juststickman wrote:

markyparky56 wrote:

Phi_Lho wrote:


Really?
Thus we don't have the same understanding of the sentence "semi transparent parts in the sprites".

Well, I just don't see how that is an example of Semi-transparency.

Has anyone noticed that when you try to make a fill with it going from a colour to transparency, and it replaces transparent with black?

Yeah, scratch puts black behind semi transparent stuff. Drag my example into scratch to see what I mean.

Now thats annyoing... Why does it do that?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

Board footer