DO NOT have a variable named "frame" w/o quotes in maki for anything other than a frame if compiling for 5.5+
Announcement
Collapse
No announcement yet.
MAKI Cheats
Collapse
This is a sticky topic.
X
X
-
-
Re: Drawer
Originally posted by frisbeemonkey
// USING THIS SCRIPT:
//*****************************************************************************
// 1. Define a drawer group in your XML.
// 2. Add your background layer to the group, something like:
// <layer id="Drawer" image="player.Drawer" x="0" y="0" sysregion="1"/>
// You can change any of the values but the id and sysregion
// 3. Add a layer to pass info to this script, something like:
// <layer id="DrawerInfo" x="13" y="0"/>
// Set x and y to where you want your drawer to slide to
// 3. Add any other objects(layers, buttons, sliders, etc) to your group
// 4. Copy this script (and drawer.maki) to your scripts folder.
// 5. If you don't have drawer.maki, compile this script.
// 6. Add this line to the group that you want to be a drawer:
// <script id="drawer" file="scripts/drawer.maki"/>
// 7. Refresh your skin(F5) and try it out.
//*****************************************************************************
// EXAMPLE XML
//=============================================================================
//<groupdef id="DrawerGroup" w="39" h="158"> <!-- 39,0 -->
//
// <layer id="Drawer" image="player.Drawer" x="0" y="0" sysregion="1" move="0"/>
// <layer id="DrawerInfo" x="13" y="0"/>
// //add other objects that you want to move with the drawer here
//
// <script id="drawer" file="scripts/drawer.maki"/>
//</groupdef>
//=============================================================================
// ***Don't forget to place your group somewhere in your layout!***
// <group id="DrawerGroup" x="47" y="0"/>
Comment
-
-
Hi, guys. Can anyone help me, please? I need a script "clocks". But not one that appears in the timer when the play stopped\paused. The clock must be displayed in another layer and that the background image changed depending on time of day. For example: 0:00-3:59 - 1.png, 4:00-7:59 - 2.png, 8:00-11:59 - 3.png, 12:00-15:59 - 4.png, etc. And when you hover the mouse displays a tooltip of the current time.
Comment
-
-
Play animation on Playlist change
OK I'm new to writing scripts but this is the first script I wrote myself and although it is exceedingly simple it's working and for that I am happy
This will play an animation every time the playlist changes to a new track.
It's working great so I hope you can use in your skins.
MikeAttached Files
Comment
-
-
play2pauseAlpha
I wrote this from scratch, not a rewrite of old file...
This will alpha-fade your play and pause buttons (instead of just switching them).
It will also update the songticker to show current operation (play/pause/stop).
Be sure you have 'infoticker' defined in your XML (full instruction included in file).
Enjoy!Attached Files
Comment
-
-
eq_layers.m - is bugged up
incrementing through the sliders list is jacked (Plague???) The math seems off
"wa2.player.eq.slider"+integerToString((pre.getPosition()*27)/255);
position(-127 to 127) (255 Items)
*27 Images
/ Total # Frames
Doesn't this mean that only half of the represented slides will be shown? From the looks of it only the top 50% the rest are negative numbers.
Am I missing something?
Comment
-
-
Fixed - eqLayers.m
Added the following
PHP Code:int GetSliderValue(Int CurrentSlider)
{
if(CurrentSlider<0)
{
CurrentSlider = CurrentSlider*-1;
}
return CurrentSlider;
}
GetSliderValue(newpos)Attached Files
Comment
-
-
I've had to change the eq_layers one again:
Here is the file:Attached Files
Comment
-
-
Is there any chance to re-upload the "Play animation on Playlist change" script somewhere? Is there any chance someone has it?
Comment
-
-
Is this the sort of thing you're looking for? This one plays an animation as the title changes; I have others in the same script that start the animation "onPlay" and stop it "onStop".
code:
system.onTitleChange(String s)
{
if (getstatus())
{
cdanimplay.show();
cdanimstop.hide();
}
else
{
cdanimplay.hide();
cdanimstop.show();
}
}
Comment
-
-
I added a window to my skin to display the contents of the "comment" field in the ID3 tag for a file. It's working well - it displays onPlay and onTitleChange, and blanks out onStop. But the comments are sometimes larger than the available window space I have, so I'd like a way to be able to scroll within the text object. If the text exceeds the available space (21 lines in this case), it shows the 21 lines from the middle of the comment. Is there a way to do that? Is there a different text object that can handle larger amounts of text?
XML:
Some of the MAKI:code:
<groupdef id="comment.group" name="CommentGroup">
<layer id="filler" x="0" y="0" w="500" h="240"
ghost="0" image="filler" rectrgn="1" />
<text id="comment" display="" x="5" y="-53"
w="480" h="395" fontsize="12" align="left" />
</groupdef>
code:
System.onPlay()
{
commenttext = (system.getPlayItemMetaDataString("comment"));
comment.setText(commenttext);
}
Comment
-
-
I´m a total noob with Wasabi scripts, I just use them (with instructions). How do (or where) do I define which animation is "cdanimplay"?
Comment
-
Comment