MoveBrush with Transparency

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
Juan Carlos
Posts: 710
Joined: Mon Sep 06, 2010 1:02 pm

MoveBrush with Transparency

Post by Juan Carlos »

To the instruction MoveBrush(id, xa, ya, xb, yb[, table]) in the table options will be possible the option of Transparency as in the DisplayBrush where you can give a value among 0-255? I thing that this option with MoveBrush will be difficult to implement because the instruction will have recalculate the transparency with each movement on the background and it will needs a lot of CPU usage.
Utility of this paramater, well for demos or games to do for example: ghosts, Predator effect, etc.

Bugala
Posts: 961
Joined: Sun Feb 14, 2010 7:11 pm

Re: MoveBrush with Transparency

Post by Bugala »

If using Layers, you could first use: SetLayerTransparency(id, level) and then MoveBrush and afterwards again SetLayerTransparency to gain temporary transparency.

Or did I miss what you were after?

User avatar
Juan Carlos
Posts: 710
Joined: Mon Sep 06, 2010 1:02 pm

Re: MoveBrush with Transparency

Post by Juan Carlos »

The problem using Layers is that some instructions don't work, is more easy to use the MoveDisplay.

User avatar
airsoftsoftwair
Posts: 4431
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MoveBrush with Transparency

Post by airsoftsoftwair »

Sorry, that won't come because it goes beyond the scope of what MoveBrush() can do. The only way to do this with MoveBrush() is using layers.

User avatar
Juan Carlos
Posts: 710
Joined: Mon Sep 06, 2010 1:02 pm

Re: MoveBrush with Transparency

Post by Juan Carlos »

But using Layers, that it is a good solution there is problem with the use the sprites.

User avatar
airsoftsoftwair
Posts: 4431
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MoveBrush with Transparency

Post by airsoftsoftwair »

If you have layers, you don't need sprites because you can do everything with layers that can be done with sprites.

Post Reply