Thread: MAKI Cheats
View Single Post
Old 7th October 2015, 14:43   #886
garetjax
Candyass
(Major Dude)
 
garetjax's Avatar
 
Join Date: Apr 2001
Location: Benton, AR
Posts: 2,342
Send a message via ICQ to garetjax Send a message via AIM to garetjax Send a message via MSN to garetjax Send a message via Yahoo to garetjax
I am thinking this only needs to be several animatedlayers in the player xml; one for each state. Then it should be a matter of just enabling them in some way (like using the width/height = 0 when not in use and when x (button) is clicked set their width/height.

This is a hack; but one that should be relatively easily used.

Sample RunningDisplay.m
code:

Global AnimatedLayer1 layerStaticCassettes;
Global AnimatedLayer2 layerRunningCassettes;
Global AnimatedLayer3 layerFastRunningCassettes;
Global AnimatedLayer4 layerRewindRunningCassettes;
Global AnimatedLayer5 layerPausingCassettes;

initBehaviors() {
AnimatedLayer1.hide();
AnimatedLayer2.hide();
AnimatedLayer3.hide();
AnimatedLayer4.hide();
AnimatedLayer5.hide();
}

System.onPlay() {
AnimatedLayer1.hide();
AnimatedLayer2.show()
AnimatedLayer3.hide();
AnimatedLayer4.hide();
AnimatedLayer5.hide();
}

System.onStop() {
AnimatedLayer1.show();
AnimatedLayer2.hide()
AnimatedLayer3.hide();
AnimatedLayer4.hide();
AnimatedLayer5.hide();
}
System.onPause() {
AnimatedLayer1.hide();
AnimatedLayer2.hide()
AnimatedLayer3.hide();
AnimatedLayer4.hide();
AnimatedLayer5.show();
}
System.onResume(){
AnimatedLayer1.hide();
AnimatedLayer2.Show()
AnimatedLayer3.hide();
AnimatedLayer4.hide();
AnimatedLayer5.hide();
}

System.onNext() {
AnimatedLayer1.hide();
AnimatedLayer2.hide()
AnimatedLayer3.Show();
AnimatedLayer4.hide();
AnimatedLayer5.hide();
}
System.onPrev() {
AnimatedLayer1.hide();
AnimatedLayer2.hide()
AnimatedLayer3.hide();
AnimatedLayer4.show();
AnimatedLayer5.hide();
}




Note: This is pseudo code for a maki script to handle animated layer swapping based on user clicks.

GaretjaxStudios.com |
That's not a skin, it's some god awful piece of skinner gunk.
garetjax is offline   Reply With Quote