2
« on: May 18, 2018, 05:12:49 PM »
HP2-Systems-Menu and HP2-Arcade-Menu have some problem with on_tick video_playing ! check please.
*FUNCTION [on_tick()] E:\ATTRACT_MODE_PORTABLE\[-] ATTRACT_MODE [-]\layouts/HP2-Arcade-Menu/layout.nut line [431]
LOCALS
[gtime] 481
[art_flag] true
[last_nav] 0
[video] INSTANCE
[ttime] 481
[this] TABLE
Script Error in tick function: on_tick - the index 'video_playing' does not exist
what i did , solved for me
but idk if is right.
//fe.add_ticks_callback( this, "on_tick" );
//function on_tick( ttime )
//{
// gtime = ttime;
// if (art_flag && (ttime - last_nav > 600)) //400ms delay
// {
// video.file_name = fe.get_art("snap");
// art_flag = false;
// video.video_playing = true
// }
// if ( video.video_playing == false && video.preserve_aspect_ratio == false)
// video.preserve_aspect_ratio = true
//}
//