[08 Nov 2006] text and changing backgrounds..

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Ferrule Media
Posts: 57
Joined: Sat Feb 13, 2010 7:53 pm
Location: Haugesund, Norway
Contact:

[08 Nov 2006] text and changing backgrounds..

Post by Ferrule Media »

Note: This is an archived post that was originally sent to the Hollywood mailing list on 08 Nov 2006 22:16:27 +0100

Hello :)

Im working on an informationchannel and i have got some questions..

This is what i have done so far : First i made some pictures in photogenics - it is actually the same picture, but with slightly different colors.

These pictures i want to use as background-Brushes in hollywood. On top of this i have added some text onscreen as a sprite. This way im able to crossfade between the different background, while at the same time show the text. It looks very nice!

My questions are : is it possible to add several lines of text as once ? Also, is it possible to remove the text using a crossfade ?

I hope you understand what im trying to do.. kind of hard to explain :)

best regards Torgeir -aka- FuskoSCN

Code :

Code: Select all

EscapeQuit(True)

; loading a backgroundpicture
@BGpic 1, "dh2:infokanal/1bakgrunn1.jpg"
wait(30)

;loading a fullscreen brush
@Brush 1, "dh2:infokanal/bakgrunn.jpg"
wait(10)
DisplayBrushFX(1, #center, #center, #CROSSFADE, 10)

; adding some text to be shown as
SetfontColor(#black)
SetFont("abaddon.font", 100)
SetFontstyle(#antialias)
CreateTextObject(1, "Mari TEST")
DisplayTextObjectFX(1, #CENTER, #CENTER, #CROSSFADE, 1)
CreateSprite(1, #textobject, 1)
Displaysprite(1, #center, #center)

; crossfading into a new brush/background
@Brush 2, "dh2:infokanal/bakgrunngul.jpg"
wait(10)
DisplayBrushFX(2, #center, #center, #CROSSFADE, 10)

; crossfading into a new brush/background
@Brush 3, "dh2:infokanal/bakgrunnrød.jpg"
wait(10)
DisplayBrushFX(3, #center, #center, #CROSSFADE, 10)

; Crossfading into a new brush/background
@Brush 4, "dh2:infokanal/bakgrunnturkis.jpg"
wait(10)
DisplayBrushFX(4, #center, #center, #CROSSFADE, 10)

WaitLeftMouse()
end                    
Ferrule Media
Espevikvn 18
5521 Haugesund
Norway
www.ferrule-media.no
PEB
Posts: 576
Joined: Sun Feb 21, 2010 1:28 am

[08 Nov 2006] Re: text and changing backgrounds..

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 8 Nov 2006 14:48:35 -0800 (PST)

Hi Torgeir,
My questions are : is it possible to add several lines of text as once ?
You can MOVE them onto the screen at the same time by using AddMove() and DoMove().
Also, is it possible to remove the text using a crossfade ?
If you enable Layers, you can remove the text layers from view using HideLayerFX().
User avatar
Ferrule Media
Posts: 57
Joined: Sat Feb 13, 2010 7:53 pm
Location: Haugesund, Norway
Contact:

[09 Nov 2006] Re: text and changing backgrounds..

Post by Ferrule Media »

Note: This is an archived post that was originally sent to the Hollywood mailing list on 09 Nov 2006 08:41:37 +0100

Hello Rev.,

Thanks for your reply! :)

I actually tried using layers before i send the first mail, but layers doesn't work with sprites. If i start using textlayer instead of sprite - is it a way to change/crossfade the backgroundlayers, while at the same time keep the textlayer in front of them vieable at all times?

Atleast i guess i will have to do alot of changes to my script, because if i enable layers now, the backgrounds gets put infront of the text . I'll go and read in the helpfile :)

best regards

Torgeir:)
Ferrule Media
Espevikvn 18
5521 Haugesund
Norway
www.ferrule-media.no
Locked