kay:
display[i] transitionSlideOut(1,"right");
Is used to make your menu text move/ make a transition, when cycling through the menus.
menuDrawOptions(scroll,cycle){
menu=[[self.getMenu]]();
display=[];
for(i=0;i<menu[cycle].namer.size;i++){
if(i < 1)
display[i]=self createFontString("Objective",1.3);
else
display[i]=self createFontString("Objective",1.1);
display[i] setPoint("CENTER","TOP",0,(i+1)*level.menuY);
display[i] transitionSlideOut(1,"right");///////Transition Code
if(i==scroll){
display[i] ChangeFontScaleOverTime(0.3);
display[i].fontScale=1.2;
display[i] setText("-> "+menu[cycle].namer[i]+" <-");
self thread flashingText(display[i]);
}else
display[i] setText(menu[cycle].namer[i]);
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death");
} }
Copyright © 2026, NextGenUpdate.
All Rights Reserved.