Posts: 560
Joined: Dec 2005
Reputation:
0
2010-01-08, 06:54
(This post was last modified: 2010-01-08, 06:58 by djdafreund.)
Seems like a good idea. Although i don't quite like the sample, but i can do something along the lines of having the curtains opening to like a big LCD hung on the wall with an animation on the tv like it's turning on or something like that. And maybe for the music, doing something like the curtain's opening up to a concert with a lot of people or something. Does your code allow different animations for each separately? (IE-Movies still has the countdown, TV has it's own, etc.). Sharpe is the coder, and i do graphics and images. This seems like a good idea to implement though, it makes sense to have separate ones for each that match that.
Posts: 1,144
Joined: Jul 2006
Reputation:
17
Sharpe
Skilled Skinner
Posts: 1,144
Modify away - I'll be interested to see what else you come up with.
Posts: 560
Joined: Dec 2005
Reputation:
0
Me too. This seems like something that would make a nice addition. That's what i am talking about with this theme. The openness when it comes to new idea's. Sharpe is VERY open to include new idea's.
Posts: 35
Joined: Jul 2009
Reputation:
0
Thanks for the encouragement guys! For those interested, here's the code modifications. Like I said, it's just Sharpe's code replicated and a few things changed.
All of this is in the home.xml
add this after the "Countdown animation"
[HTML]<control type="multiimage">
<description>Countdown animation TV</description>
<posx>0</posx>
<posy>50</posy>
<width>720</width>
<height>450</height>
<imagepath>special://skin/images/countdownTV</imagepath>
<timeperimage>400</timeperimage>
<fadetime>0</fadetime>
<loop>false</loop>
<colordiffuse>ccFFFFFFF</colordiffuse>
<animation effect="fade" time="1000">WindowOpen</animation>
<aspectratio>scale</aspectratio>
<visible>Control.HasFocus(22)</visible>
<visible>!Skin.HasSetting(Wallpaper)</visible>
<visible>!Skin.HasSetting(Default Wallpaper)</visible>
</control>[/HTML]
add this after the "Countdown Activator"
[HTML]<control type="button" id="22">
<description>Countdown Activator TV</description>
<posx>245</posx>
<posy>480</posy>
<width>50</width>
<height>50</height>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
</control>[/HTML]
Then I simply went through and changed any SetFocus(21) involving TV sections to SetFocus(22). I based this on the <icon> and <thumb> fields - anytime I saw "watch tv.png" I knew that it could be no other section than TV.
For instance:
[HTML]<item id="6">
<label>20343</label>
<icon>watch tv.png</icon>
<thumb>watch tv.png</thumb>
<onclick>SetFocus(22)</onclick>
<onclick>Skin.SetBool(videotv)</onclick>
<onclick>Skin.Reset(videomovies)</onclick>
<onclick>ActivateWindow(MyVideoFiles,TV)</onclick>
<visible>Skin.HasSetting(movie-library)</visible>
<visible>!Skin.HasSetting(tv-library)</visible>
</item>[/HTML]
This is the first coding I've ever done, and I think it turned out pretty well. The image that appears behind the curtains can be changed by adding a new folder in the images folder and naming it "countdown TV"
Posts: 560
Joined: Dec 2005
Reputation:
0
i am always into encouraments. its really a logical idea to implement. sharpe is always open and kind as well with new ideas. thats why i havent stayed with anything else out there since pm3 is because this skin is pretty much community tailored, luckily sharpe is such a great skinner or it wouldn't be as great as it is. idea's are great and all, and graphics are sweet, but it's nothing without someone that can make it all happen. and people like you that are also willing to help and share your findings and code is always nice and welcomed. keep up the good work and keep us posted.
Posts: 1,144
Joined: Jul 2006
Reputation:
17
Sharpe
Skilled Skinner
Posts: 1,144
Good stuff jbor613 - you've come up with a good concept I'll take a look at what you've done and see if I can expand on it.
/High fives djdafreund - hope you're well bud
Posts: 560
Joined: Dec 2005
Reputation:
0
2010-01-09, 04:45
(This post was last modified: 2010-01-09, 05:24 by djdafreund.)
Going well mate!! Hope you had a good holiday. And wishing 2010 goes MUCH better!!! 4 degree's the past few days here. Brrrrr!!! Haha. And buisier now it seems now that we got a thread and official skin section on the site. X-S has been sorta dead for a while now. So this is much better fitting on the official main forum now instead.
Oh yeah, when you add this, just duplicate the animation folder for starters (the new tv folder) that way when i finish the new tv animation sequence, everything coding will be done already. We'll tweak how many frames we'll use as well if needed. Maybe more then what we've been using for movies. Depending on how it looks. I want it to look right obviously.
Posts: 787
Joined: Jan 2010
Reputation:
2
Thanks!
I would really like to see a custom home menu screen.
BTW: is there a workaround or something ,which i can use for creating a custom home menu item on all available skins ?
Maybe by modifying/copy an existing menu item ?