[Etoys] alpha property

Karl Ramberg karlramberg at gmail.com
Fri Apr 24 11:17:14 EDT 2009


On 2009-04-23 22:40, Jerome Peace wrote:
>
>
> --- On Thu, 4/23/09, Angel Arias<futuhat at gmail.com>  wrote:
>
>    
>> From: Angel Arias<futuhat at gmail.com>
>> Subject: Re: [Etoys] alpha property
>> To: peace_the_dreamer at yahoo.com, etoys at lists.laptop.org
>> Date: Thursday, April 23, 2009, 3:41 AM
>> hi jerome,
>>
>> i'd like to have different images in a project and
>> change their alpha
>> property dynamically using scripts.
>>
>> since i can't find the color category of an image in
>> the viewer i
>> don't know how to access its alpha property.
>>
>> thanks for your time!
>>      
>
> Hmm. Etoys taught me how to use squeak. Basicly the Etoys "safe" environment taught me that it was easier to get things done if I focused on using the more dangerous but less restrictive environment it was written in.
>
> Karl is right about the restrictions of the tiling system. While I found some easy ways to modify a picture that comes  from a .gif file. I couldn't find a good way to do it in the tile scripting system.
>
> Its a good ability to want. So I think you raised a good question.
> You've just thought of something other's haven't addressed.
> I intend to play with is some more. If I come up with something I will let you know.
>    
Here is a good starting point.
http://wiki.squeak.org/squeak/2411
I'm not sure if a alpha filter is implemented in this package.

I think this would be a nice addition to the Etoys image as well, with 
some needed integration with Etoys.

Karl

>
>
> Yours in curiosity and service, --Jerome Peace
>
>
>
>
>    
>> On Thu, Apr 23, 2009 at 3:21 AM, Jerome Peace
>> <peace_the_dreamer at yahoo.com>  wrote:
>>      
>>>
>>>
>>> --- On Wed, 4/22/09, Angel Arias
>>>        
>> <futuhat at gmail.com>  wrote:
>>      
>>>> From: Angel Arias<futuhat at gmail.com>
>>>> Subject: [Etoys] alpha property
>>>> To: etoys at lists.laptop.org
>>>> Date: Wednesday, April 22, 2009, 8:24 PM
>>>> hiya all!
>>>>
>>>> is it possible to alter the alpha value of an
>>>>          
>> imported
>>      
>>>> image [jpg, png, etc]?
>>>>
>>>>          
>>> The short answer is yes.
>>>
>>> The long answer depends on what you want to do.
>>>
>>> Alter how?
>>>
>>>        
>>>> thanks a lot!
>>>>
>>>>
>>>> á ;-)
>>>> _______________________________________________
>>>> Etoys mailing list
>>>> Etoys at lists.laptop.org
>>>> http://lists.laptop.org/listinfo/etoys
>>>>          
>>>
>>>
>>>        
>> _______________________________________________
>> Etoys mailing list
>> Etoys at lists.laptop.org
>> http://lists.laptop.org/listinfo/etoys
>>      
>
>
>
> _______________________________________________
> Etoys mailing list
> Etoys at lists.laptop.org
> http://lists.laptop.org/listinfo/etoys
>
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/etoys/attachments/20090424/ac1abf92/attachment.htm 


More information about the Etoys mailing list