Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jedione

Pages: [1] 2 3 ... 76
1
Scripting / Re: PopUp.nut displaying image behind background
« on: January 02, 2024, 07:33:17 PM »
this will set custom1 to use as a pop up for the pic..

Code: [Select]
              local image_hud = fe.add_image ("images/hud.png", 250, 200, 1395, 683);

image_hud.visible = false;
function on_transition (ttime){


(fe.get_input_state ("custom1") ) ? image_hud.visible = true : image_hud.visible = false;
}

fe.add_ticks_callback ("on_transition");

2
Themes / Re: Boxart or flyer delay
« on: December 21, 2023, 03:49:40 AM »
local artwork = fe.add_artwork("boxart", 0, 0, 480, 360)
asuming you have boxart set up in your emulator.cfg

3
Themes / Re: Layout Help!
« on: August 19, 2023, 09:16:15 PM »
Ahh.. Now I feel great again...  8)

4
Themes / Re: Layout Help!
« on: August 17, 2023, 07:11:38 AM »
now i feel like a dick,  lol sorry no problem...homi

5
Scripting / Re: Boxart delay
« on: August 15, 2023, 05:48:04 AM »
Code: [Select]
local last_nav = 0;
local gtime = 0;
local art_flag = false;

local artwork = fe.add_artwork("boxart", 15, 34, 661, 1018)

fe.add_transition_callback( "my_transition" );
function my_transition( ttype, var, ttime )
{
if ( ttype == Transition.ToNewSelection )
{
last_nav = gtime;
art_flag = true;
}
}

fe.add_ticks_callback( this, "on_tick" );
function on_tick( ttime )
{
    gtime = ttime;
if (art_flag && (ttime - last_nav > 3000)) 
{
artwork.file_name = fe.get_art("boxart");
art_flag = true;
}
}

somthing like this should work for ya bud :P

6
Themes / Re: Layout Help!
« on: August 05, 2023, 10:00:05 PM »
Why ask questions if you don't intend to reply...... Some of you guys Realy amaz me.... Bro...

7
Themes / Re: Layout Help!
« on: July 25, 2023, 06:22:24 AM »
just o somthng like this....

Code: [Select]
local list = fe.add_text("[Title]",7 ,60 ,677 ,1066)
list.index_offset = -2

local list = fe.add_text("[Title]",7 ,80 ,677 ,1066)
list.index_offset = -1

local main = fe.add_text("[Title]",7 ,100 ,677 ,1066)
main.index_offset = 0

local list = fe.add_text("[Title]",7 ,120 ,677 ,1066)
list.index_offset = 1

local list = fe.add_text("[Title]",7 ,140 ,677 ,1066)
list.index_offset = 2

8
General / Re: Windows .bat files wont load in Attract Mode
« on: May 21, 2023, 01:15:00 PM »
mabey ..check uppercase lowercase...matching...

9
Themes / Re: Layout Help!
« on: May 01, 2023, 10:45:27 AM »
once you set that to 3 sec...  in  the transition just add a another "if" statment that has somthing like,
OBJECTS1.artwork_videotheme.video_playing = true
snap.visible = false
marquee.visible = false   ...ext   whatever you have your stuff set to in the theme....

10
Themes / Re: Layout Help!
« on: May 01, 2023, 10:37:45 AM »
this is code for snap to video delay
Code: [Select]
//
// Videotheme Timer Code By qqplayer
//

::OBJECTS1 <- {
artwork_videotheme = fe.add_artwork("video", flx*0.3125, 150, 270, 190),
}

OBJECTS1.artwork_videotheme.visible=false;

::videoSound <- Vid.NoAudio;
OBJECTS1.artwork_videotheme.video_flags = videoSound;

local settings = {
   delay_timer = 0,
   play_delay = 2000,
   stop_play = 235000,
}

function on_transition_videotheme( ttype, var, ttime ) {
 switch ( ttype ) {
  case Transition.StartLayout:
  case Transition.ToNewSelection:
  case Transition.ToNewList:
  case Transition.EndNavigation:
        OBJECTS1.artwork_videotheme.video_flags = Vid.NoAutoStart;
        settings.delay_timer = fe.layout.time;
        OBJECTS1.artwork_videotheme.visible=false;
       break;
  }
 return false;
}

fe.add_transition_callback( "on_transition_videotheme" );

function on_tick_videotheme(tick_time) {
   if ( !OBJECTS1.artwork_videotheme.video_playing && tick_time - settings.delay_timer >= settings.play_delay ) {
   
        OBJECTS1.artwork_videotheme.video_playing = true;
       
        ::videoSound <- Vid.Default;
        OBJECTS1.artwork_videotheme.video_flags = videoSound;       
       
        OBJECTS1.artwork_videotheme.visible=true;
       
        OBJECTS1.artwork_videotheme.alpha = 0
        local alpha_artwork_videotheme_0 = {
        property = "alpha", start = 0 end = 255, time = 500 easing = Easing.Out,
        }
 
        animation.add( PropertyAnimation( OBJECTS1.artwork_videotheme, alpha_artwork_videotheme_0 ) );
       
    }
   
    else if ( tick_time - settings.delay_timer >= settings.stop_play ) {
       
        OBJECTS1.artwork_videotheme.visible=false;
       
    }
   
}

fe.add_ticks_callback(this, "on_tick_videotheme");

}

11
Themes / Re: Layout Help!
« on: April 20, 2023, 03:40:16 PM »
here ya go,  just put were you layouts go, use am+ not reular am k.  https://www.dropbox.com/s/wq6lz1srxjwwuct/theme.zip?dl=0

12
Themes / Re: Layout Help!
« on: April 19, 2023, 08:12:23 AM »
looking for somthing like this ?  very basic..  https://youtu.be/kQJQ7AREfiA

13
General / Re: Help this code works? i try but not sucess!!
« on: March 28, 2023, 06:29:52 AM »
not quite shure,  been talked abought many time as i recall to no avail ,   intercepting the select sig,   interesting code though...i hope you are able to do it. good luck

14
this theme could be realy refinde quite a bit..just my opinion...though

15
well the descripion, font size is not good looks pasted,  and the carosoll slanted box art is framed with non slanted squar frame.  kind of clunky looking...

Pages: [1] 2 3 ... 76