English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 18 April 2018, 14:43   #1
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Bob/Icon Opacity?

I'm trying to figure out if there's a way to gradually reduce or increase a Bob or Icon's opacity so that I can get a gradual fade in and out effect?

I've had a scan through the manual and all I can really find is the FADE command for the entire screen, and even the I can only get a Fade out and not a Fade in.

I could just do an animation for the Bob with images of the varying stages of pseudo fade in/out, but this seems a bit clumsy.

Any suggestions?

Thanks!
Brick Nash is offline  
Old 18 April 2018, 16:45   #2
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Blending via alpha channel is unsupported by the Amiga chipsets. There's another way If you're using a spread palette.
Samurai_Crow is offline  
Old 18 April 2018, 16:49   #3
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Thanks.

Could you elaborate on this "Other way"?
Brick Nash is offline  
Old 18 April 2018, 19:21   #4
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
There's a command, something like "limit planes" or "limit mask", that will cause "paste bob" to only blit some of the bitplanes and leave the rest intact. That can be used to do a sort of blending effect.
Samurai_Crow is offline  
Old 18 April 2018, 19:56   #5
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Cool thanks! I'll look into it.
Brick Nash is offline  
Old 20 April 2018, 14:58   #6
adrazar
Registered User
 
Join Date: Feb 2017
Location: Oslo
Posts: 90
This sounds like a fun challenge! I would like to give it a try, but could use some additional technical info first:
1. How many colours (i.e. bitplanes) does the bobs use?
2. How many colours does the backdrop use?
And finally, 3. does the bob move while fading or is it at rest?
adrazar is offline  
Old 23 April 2018, 13:03   #7
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Hi adrazar, I actually managed the same effect by using the Fade instruction for the screen. I just wanted a part of the background to look like it was glowing so I had planned to fade in and out a large bob over the top of it, but the Fade worked nicely!
Brick Nash is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sprite Bob Collision Retro1234 Coders. AMOS 17 12 April 2018 23:33
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 04:39
Bob's Bad Day - ... no Bob. AB Positive support.Games 5 16 May 2009 01:45
Bob's Bad Twistin'Ghost Retrogaming General Discussion 3 06 February 2002 13:50
Bomber Bob Tim Janssen request.Old Rare Games 2 07 January 2002 16:16

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:18.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13825 seconds with 13 queries