Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
let me see if i have this right...
<imagepath>home-shutdown</imagepath>
= looks in directory <skin>\media\home-shutdown
<timeperimage>5000</timeperimage>
= image is on screen for 5 seconds
<fadetime>2000</fadetime>
= image fade out and in is 2 seconds
is the 'time' in <visible effect="fade" time="200"> still necessary? if yes, what is it for?
thanks for adding this!!!
I'm not an expert but I play one at work.
Posts: 835
Joined: Feb 2004
that will stop it from being 100percent visible when you go to that button. eg from button before it will fade to next one otherwise it would just stepin and then after 5 secs fade to next one.
Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
jm... this is truely great work!
I'm not an expert but I play one at work.
Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
this is fantastic... i'd think animations would work if you had overlapping fade in and out
I'm not an expert but I play one at work.
Posts: 519
Joined: Jun 2004
Reputation:
7
hi jonathan (wellcome back on business :d )
are each image unloaded from memory everytime a new one is showed?
i'm thinking this as a way to create animations using pngs instead of gif images, as png have transparency. :p
XBMC Italian translator, Movieplayer.it scrapers developer and the old "The Orbs" skin creator.
Posts: 835
Joined: Feb 2004
tested with cvs running 28 diff xprs (comes to about 75megs) all 28 varations work like a dream.
unable to fault code at all
Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
will this work if we zip/rar the folders?
I'm not an expert but I play one at work.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
you can't zip/rar, but you can pack the images into the .xpr file (either into textures.xpr, or use a themed .xpr file on top of the normal one)
i probably won't add separate *.xpr just for these controls - it doesn't really improve the speed all that much, and takes that much longer to change the images involved from a users perspective. using the themes would be the best way to deal with these imo.
and yeah, it unloads the previous image as soon as the current one is fully faded in.
cheers,
jonathan
Posts: 93
Joined: May 2005
Reputation:
0
great feature, jonathan. but i'm wondering why (at least on my set-up) the folder of .png images don't override the images from the textures.xpr file: for me they appear together, smooth transitions and all, with chokemaniac's images appearing before mine. obviously it's checking and loading images from both locations. is there a way to make it either/or?
Posts: 835
Joined: Feb 2004
set the randomise tag, or change the folder location of the multimage tags. l)
Posts: 93
Joined: May 2005
Reputation:
0
thanks (as ever) for the speedy reply, jonathan. creating a new folder and pointing the home.xml to it did the trick.
just when i think you've made xbmc as good as it can possibly be you go and make it better . . .