English Amiga Board


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

 
 
Thread Tools
Old 18 April 2018, 15:43   #1
Brick Nash
Registered User

Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 207
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, 17:45   #2
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,131
Send a message via Yahoo to Samurai_Crow
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, 17:49   #3
Brick Nash
Registered User

Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 207
Thanks.

Could you elaborate on this "Other way"?
Brick Nash is offline  
Old 18 April 2018, 20:21   #4
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,131
Send a message via Yahoo to Samurai_Crow
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, 20:56   #5
Brick Nash
Registered User

Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 207
Cool thanks! I'll look into it.
Brick Nash is offline  
Old 20 April 2018, 15:58   #6
adrazar
Registered User

 
Join Date: Feb 2017
Location: Oslo
Posts: 40
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, 14:03   #7
Brick Nash
Registered User

Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 207
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 13 April 2018 00:33
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 05:39
Bob's Bad Day - ... no Bob. AB Positive support.Games 5 16 May 2009 02:45
Bob's Bad Twistin'Ghost Retrogaming General Discussion 3 06 February 2002 14:50
Bomber Bob Tim Janssen request.Old Rare Games 2 07 January 2002 17: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 02:24.


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