This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » Semi-transparent sprites (NOT ghost effect, only partly)

#26 2010-07-21 06:48:31

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

Re: Semi-transparent sprites (NOT ghost effect, only partly)

Total agreement!


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

Offline

 

#27 2010-07-21 10:34:23

JTxt
Scratcher
Registered: 2010-05-19
Posts: 100+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

JTxt wrote:

If Scratch 2.0 is built with Flash, (which I believe it is) it would likely be easy to have alpha channel images... (many transparency levels.)  But it would need a more powerful image editor... And it raises issues like:
Is a sprite touching even if it touches with almost invisible part of the costume?  (It's easy to accidentally leave behind almost invisible parts when erasing.)

And there's performance/bandwidth issues...

It takes more time to draw alpha channel images, and it adds up fast with projects with many or large sprites, with games that are supposed to run fast. And the files can be much larger.

But yes, I think it would be cool.   big_smile

ALSO,  Flash 10 / flex 3.2 has 3d acceleration!  (Can use your computer's 3d card to draw images, and alpha transparencies fast.)

It may be possible to draw scratch sprites that way.  Which would be FAST.  (They don't have to use the 3d capabilities, but it would also be fast to scale and rotate sprites, and it will look smooth.)

Here's an example:
http://polygeek.com/1508_flex_flash-10- … components
http://opensource.adobe.com/wiki/displa … ts+Support

Last edited by JTxt (2010-07-21 11:02:37)


http://scratch.mit.edu/static/icons/buddy/524717_med.png?t=2010-06-15+09%3A48%3A36

Offline

 

#28 2010-07-21 11:01:07

mariobrosrule
Scratcher
Registered: 2008-06-09
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

Huh? isnt that the same as ghost????

Offline

 

#29 2010-07-21 11:11:47

JTxt
Scratcher
Registered: 2010-05-19
Posts: 100+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

mariobrosrule wrote:

Huh? isnt that the same as ghost????

Sort-of, but no.  As explained above, ghost only changes the transparency for the whole image.

Scratch costumes only have one "color" for transparency now, so the edges of costumes look pixelated (ragged, not smooth.) a part of the image is either completely see-through, or not at all.... which is not realistic for many object like glass or smoke.

An alpha channel with the images allow for many "colors" for transparencies. 

So it can draw object like glass and smoke more realistically: you can see through a little on parts... and all the way through on other parts.

http://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/PNG_transparency_demonstration_2.png/280px-PNG_transparency_demonstration_2.png

Last edited by JTxt (2010-07-21 11:35:03)


http://scratch.mit.edu/static/icons/buddy/524717_med.png?t=2010-06-15+09%3A48%3A36

Offline

 

#30 2010-07-21 17:23:21

MyHFC
Scratcher
Registered: 2010-04-26
Posts: 54

Re: Semi-transparent sprites (NOT ghost effect, only partly)

coolstuff wrote:

Yep, that's definitely something I want. I think it should have been added at the beginning, but now is better than never!

Think of the projects we could create  yikes  I'm curious, though, how this would affect colour sensing - would the sensing neglect transparency, always considering it a solid colour? Or would it be consider what's behind it as a part of the colour sensing?

It would neglect the transparency. It would make it not transparent


http://empireminecraft.com/static/ads/black_468x60.gifI left scratch! You can still talk to me on smp3.empire.us though.

Offline

 

#31 2010-07-21 20:07:17

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

MyHFC wrote:

coolstuff wrote:

Yep, that's definitely something I want. I think it should have been added at the beginning, but now is better than never!

Think of the projects we could create  yikes  I'm curious, though, how this would affect colour sensing - would the sensing neglect transparency, always considering it a solid colour? Or would it be consider what's behind it as a part of the colour sensing?

It would neglect the transparency. It would make it not transparent

That might be a little confusing, though either way would be confusing (because with transparencies the colour would vary so much, but without it the colour sensing doesn't exactly match up with what's on the screen). Personally, I'd like the former.

Offline

 

#32 2010-07-21 20:16:44

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

I support! This would be very handy...


http://i.imgur.com/WBkM2QQ.png

Offline

 

#33 2010-07-22 09:07:38

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

It's happened to me too and somthing that glows (like alien glow on cooltext.com) turns into a blob of that color.

Offline

 

#34 2010-07-29 23:11:16

adtron5678
Scratcher
Registered: 2010-01-27
Posts: 64

Re: Semi-transparent sprites (NOT ghost effect, only partly)

Zeke's Sword/ Zombie Killer Has Some

Offline

 

#35 2010-07-29 23:29:13

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

I support!


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#36 2010-07-29 23:47:09

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

Definitely! I could see how this could be really helpful in many situations. And as for slowing Scratch down, it'd just be something you' have to keep in mind. No different than music, lots of forevers, inefficient scripting, etc.)


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#37 2010-07-29 23:51:39

Zoomreddin
Scratcher
Registered: 2009-03-27
Posts: 100+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

I support! I've needed this at times.


http://mag.racked.eu/image/46.1/Bombs+Away%21/mca.png

Offline

 

#38 2010-07-30 05:25:25

VilceGT
Scratcher
Registered: 2010-02-13
Posts: 34

Re: Semi-transparent sprites (NOT ghost effect, only partly)

I agree with your suggestion.
The edge of the sprites look so bad with this version...


| Turn of [...] to [...] | Time to drive | Waiting Scratch 2.0 to finish my projects |
| Sorry for my bad english, I am french |

Offline

 

#39 2010-07-30 06:09:33

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

Well with colour sensing, it should sense every colour in the pixel. So if a sprite was a red square and a diffrent sprite was a blue square, and they both had complete transparency of 50% then the colour sensor picks up red and blue.


And stamping? How would it work?


You can now reach me on Twitter @johnnydean1_

Offline

 

#40 2010-07-30 13:54:18

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

Re: Semi-transparent sprites (NOT ghost effect, only partly)

johnnydean1 wrote:

Well with colour sensing, it should sense every colour in the pixel. So if a sprite was a red square and a diffrent sprite was a blue square, and they both had complete transparency of 50% then the colour sensor picks up red and blue.


And stamping? How would it work?

Transparency stamping  big_smile


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

 

#41 2010-07-30 17:27:53

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

I don't get what you mean...


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&online=http://lemonfanatic.webs.com/ONLINE.png&offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#42 2010-07-30 18:54:22

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

This would be so helpful! Like for Prism, we wanted a transparent dock, but there couldn't be transparent, and stamping transparency won't work. Did someone post this for scratch suggest yet?


Hai.

Offline

 

#43 2010-09-25 20:59:42

adtron5678
Scratcher
Registered: 2010-01-27
Posts: 64

Re: Semi-transparent sprites (NOT ghost effect, only partly)

coolstuff wrote:

MyHFC wrote:

coolstuff wrote:

Yep, that's definitely something I want. I think it should have been added at the beginning, but now is better than never!

Think of the projects we could create  yikes  I'm curious, though, how this would affect colour sensing - would the sensing neglect transparency, always considering it a solid colour? Or would it be consider what's behind it as a part of the colour sensing?

It would neglect the transparency. It would make it not transparent

That might be a little confusing, though either way would be confusing (because with transparencies the colour would vary so much, but without it the colour sensing doesn't exactly match up with what's on the screen). Personally, I'd like the former.

yeah i agree it is a bit confusing like the neglect<set{confusing  }to( 10
but that's kinda cool' i don't relly about the rest would color fish eye mosaic ect
do any thing

Offline

 

#44 2010-10-09 17:21:43

crashtest
Scratcher
Registered: 2010-09-04
Posts: 19

Re: Semi-transparent sprites (NOT ghost effect, only partly)

if scratch can import with cameras mayby if you take a picture of jello then recolor
some parts it might  look like that

Offline

 

#45 2010-10-09 17:35:59

iCode-747
Scratcher
Registered: 2009-11-21
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

fg123 wrote:

Did someone post this for scratch suggest yet?

I'm out of votes.


-End Transmission-

Offline

 

#46 2010-10-10 12:59:12

pomaranian
Scratcher
Registered: 2010-08-01
Posts: 1

Re: Semi-transparent sprites (NOT ghost effect, only partly)

how do u get ghost effect? :p i dont know how

Offline

 

#47 2010-10-10 14:09:05

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

pomaranian wrote:

how do u get ghost effect? :p i dont know how

To get the ghost effect, you go to the "looks" section, and find the blocks that say "change [color v] effect by (  )" and "set [color v] effect to". To get the ghost effect, simply click on the dropdown arrow, and select "ghost" from the list  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#48 2010-10-11 08:23:26

Figlitiblit
Scratcher
Registered: 2010-03-23
Posts: 17

Re: Semi-transparent sprites (NOT ghost effect, only partly)

i think that's a good idea   smile


이 리케 한굴!

Offline

 

#49 2010-10-11 09:53:32

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Semi-transparent sprites (NOT ghost effect, only partly)

You know, this really is a great suggestion... It can make way for antialiasing, which will mean smoother sprites for everyone! I believe I suggested that some time ago, but I appear to have lost the topic  sad

Offline

 

#50 2010-10-11 10:45:04

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

Re: Semi-transparent sprites (NOT ghost effect, only partly)


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

 
  • Index
  •  » Suggestions
  •  » Semi-transparent sprites (NOT ghost effect, only partly)

Board footer