Attract-Mode Support Forum
Attract-Mode Support => Themes => Topic started by: clockman on April 18, 2023, 02:06:21 PM
-
So i have tried and can't figure how to edit or create a layout.nut. I am trying to make a simple theme with just the games list and video snaps and marquees. I was wondering if Someone could help me create a layout.nut. I would also like it to scale from from 720p to 1080p. This is what i would like it to look like. With snaps, marquees and the games list with black text with blue for the game selected. I would like the blue selected game text to be larger. Here is a image of what i want it to look like, and if anyone wants to help here is the background image download. https://mega.nz/file/IjZizL6R#8nr64qz9gVNJ52oB56c9gdWkYXhWWlmk25vBzdG7Xik
-
looking for somthing like this ? very basic.. https://youtu.be/kQJQ7AREfiA (https://youtu.be/kQJQ7AREfiA)
-
Yes but instead of the blue bar around the selected game, I want the selected game font to be a different color and larger.
-
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 (https://www.dropbox.com/s/wq6lz1srxjwwuct/theme.zip?dl=0)
-
So where do I download attractmode+? I don't see it. Also I am using it on a Windows 10 PC.
-
>So where do I download attractmode+? I don't see it. Also I am using it on a Windows 10 PC.
https://github.com/oomek/attractplus
Assuming you're using windows..
You put the files in the same folder as attract.exe.
You run attractplus.exe instead of attract.exe
-
Thanks i got it working!
-
Thanks a lot for your help but I had a few more questions for you. I want a image to show for 3 seconds and then a video snap to show over the image. I would also like the boxart, marquee to disappear after 3 seconds and the flyer disappear after 3 seconds. How would I add that to a layout.nut?
-
this is code for snap to video delay
//
// 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");
}
-
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....
-
I have my theme up and running. But how do i add a clicking sound when i scroll through the games? I have a click.mp3 file. Ok i figured it out.
-
I have my theme up and running. But how do i add a clicking sound when i scroll through the games? I have a click.mp3 file. Ok i figured it out.
did you really figured it out ? or no ?
-
So i have been messing around with the layout.nut changing things. I have it how I want it now except for the games list. I am uploading 2 images, the first image is how it is and the second image is ho I want it. I would like the end of the games list to merge into the beginning of the games list like image 2. Could some one help with the games list layout.nut?
-
just o somthng like this....
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
-
Why ask questions if you don't intend to reply...... Some of you guys Realy amaz me.... Bro...
-
Why ask questions if you don't intend to reply...... Some of you guys Realy amaz me.... Bro...
Sorry for no reply, I have been at the hospital with my wife as she had a emergency surgery. I have been spending all of my time with her, but the worst of it is over now. Thank you for your help and I will let you know if it worked when I get home today or tomorrow.
-
now i feel like a dick, lol sorry no problem...homi
-
now i feel like a dick, lol sorry no problem...homi
Don't feel that way it's ok!
-
Ahh.. Now I feel great again... 8)
-
Ahh.. Now I feel great again... 8)
Thanks for your help!