Attract-Mode Support Forum
Attract-Mode Support => Themes => Topic started by: Yaron2019 on August 26, 2019, 11:59:31 PM
-
Cool theme for MS-DOS.
Thanks for asahendrix for the art, iOtero and jedione for the fading list code!
YouTube:
https://www.youtube.com/watch?v=syC5j5BqZDo
Download of this theme is now available only through The Great Themes Collection page:
http://forum.attractmode.org/index.php?topic=3289.0
Version 3.0 Released!
------------------------
Read here: http://forum.attractmode.org/index.php?topic=3289.0
Version 2.0 Released!
------------------------
- Full compatibility with 16:9 and 16:10 screen aspect ratios
- New original IBM PC keyboard sound
Update v1.2:
- User can now choose delay and fade-in/out times for game list and snap videos (Huge thanks to iOtero for the code and support!)
Update v1.1:
- Added option to show boxart
- Added option to play a long version of the PC ambient sound
-
Finally something new!
I was already tired of seeing copy of copy of copy... including mine...
Thanks for the theme. I like very much.
-
I just tried it and on my Desktop PC 16:9 it works very well, but it doesn't suit my Raspberry pi-based system with a 4:3 monitor.
Do you plan to make a version for 4:3 resolutions: (640x480, 800x600, 1024x768, etc.)?
-
Finally something new!
I was already tired of seeing copy of copy of copy... including mine...
Thanks for the theme. I like very much.
I just tried it and on my Desktop PC 16:9 it works very well, but it doesn't suit my Raspberry pi-based system with a 4:3 monitor.
Do you plan to make a version for 4:3 resolutions: (640x480, 800x600, 1024x768, etc.)?
Thank you iOtero.
Judging by your work on ioamiga, you will be way better than me doing a 4:3 and 16:9 version. By all means please do it!
Also feel free to change whatever you want - just make sure to release it to us as well! :)
-
Finally something new!
I was already tired of seeing copy of copy of copy... including mine...
Thanks for the theme. I like very much.
I just tried it and on my Desktop PC 16:9 it works very well, but it doesn't suit my Raspberry pi-based system with a 4:3 monitor.
Do you plan to make a version for 4:3 resolutions: (640x480, 800x600, 1024x768, etc.)?
Thank you iOtero.
Judging by your work on ioamiga, you will be way better than me doing a 4:3 and 16:9 version. By all means please do it!
Also feel free to change whatever you want - just make sure to release it to us as well! :)
I wish i had time... Well, if one day i copied your idea, I'll let you know... Thank you. :)
And... Of course, it won't carry wheels ... ;D ;D ;D
-
This is a nice setup and if and when I add dos box to my rig I think I will definitely use this. Is there an option to change the Delay for when the videos start while selecting games?
-
This is a nice setup and if and when I add dos box to my rig I think I will definitely use this. Is there an option to change the Delay for when the videos start while selecting games?
Thanks. As for the game snap delay, I have tried to add a timer but was unsuccessful. Unfortunately, at this stage I don't understand Squirrel script well enough... If anyone can add this feature it will be great.
-
This is a nice setup and if and when I add dos box to my rig I think I will definitely use this. Is there an option to change the Delay for when the videos start while selecting games?
Thanks. As for the game snap delay, I have tried to add a timer but was unsuccessful. Unfortunately, at this stage I don't understand Squirrel script well enough... If anyone can add this feature it will be great.
Use this code:
class UserConfig
{
</ label = "Delay Time",
help = "The time (in milliseconds) it takes to start hiding the frames, list and wheels. Set to 0 for no hide.",
options = "0,1000,1500,2000,2500,3000,3500,4000,4500,5000,5500,6000",
order = 5
/> set_ms_delay = "3500";
</ label = "Hide Time",
help = "The time (in milliseconds) that it takes for the wheels, list and frames to hide.",
options = "100,200,300,400,500,600,700,800,900,1000,1100,1200",
order = 6
/> set_ms_hide = "600";
}
local my_config = fe.get_config();
my_time <- 0;
try {my_time = my_config["set_ms_hide"].tointeger();} catch(e) {}
my_delay <- 0;
try {my_delay = my_config["set_ms_delay"].tointeger();} catch(e) {}
local artwk = fe.add_listbox(flx*0.385, fly*0.17, flw*0.31, flh*0.32);
artwk.preserve_aspect_ratio = true;
artwk.trigger = Transition.EndNavigation;
local move_artwk1 = {when = Transition.ToNewSelection, property = "alpha", start = 0, end = 255, time = 1}
local move_artwk2 = {when = When.ToNewSelection, property = "alpha", start = 255, end = 0, time = my_time, delay = my_delay}
animation.add(PropertyAnimation(artwk, move_artwk1));
animation.add(PropertyAnimation(artwk, move_artwk2));
-
iOtero, I added it to the code and it's not working as intended. Attached is the layout.nut -- what did I do wrong?
Thanks!
-
iOtero, I added it to the code and it's not working as intended. Attached is the layout.nut -- what did I do wrong?
Thanks!
I am using the following code for displaying video on top of snap after a brief delay, but following code should do what you want (delay settings can be changed to fit the need). Got this code from liquid8d's post, so all thnks to him :)
//Video Starts Playing After 1 Second In Place of Snap
local settings = {
delay_timer = 0,
play_delay = 1000,
stop_play = 235000
}
local video = fe.add_artwork("video", 680,705,472,355)
video.preserve_aspect_ratio = true;
video.trigger = Transition.EndNavigation;
function vid_on_transition(ttype, var, transition_time) {
if ( ttype == Transition.StartLayout || ttype == Transition.ToNewList || ttype == Transition.FromOldSelection ) {
video.visible = false
settings.delay_timer = fe.layout.time
}
return false
}
function vid_on_tick(tick_time) {
if ( video.video_playing && tick_time - settings.delay_timer >= settings.play_delay ) video.visible = true
}
fe.add_ticks_callback(this, "vid_on_tick")
fe.add_transition_callback(this, "vid_on_transition")
-
Sorry, i hid the video instead of the listbox. Blame the damn "copy paste"...
Here you have the correct code.
-
very nice layout Man!!!! thanks
-
Sorry, i hid the video instead of the listbox. Blame the damn "copy paste"...
Here you have the correct code.
Sorry for not replying earlier, I was busy with unpleasant things.
I suspect you uploaded the wrong layout file - the code is the same as it was... can you please confirm?
-
You're right, I hope I don't make more mistakes... :-[
All the data, including the listbox, could have been included in a single surface and we would have only had to fade the surface, but I like it better that way, in case you want to vary the fade and/or wait speed of each of the elements.
-
You're right, I hope I don't make more mistakes... :-[
All the data, including the listbox, could have been included in a single surface and we would have only had to fade the surface, but I like it better that way, in case you want to vary the fade and/or wait speed of each of the elements.
Your code works and we're almost there. My initial intent was that the video is not viewed or heard when the layout starts and plays only when the user moves to a new selection.
The current code starts to play the video immediately. What I want to achieve is:
1. When layout starts snap video is hidden and silent.
2. When moved to new selection the snap video playing is delayed for X milliseconds.
So the user moves to a new selection, the list fades after X milliseconds and then the snap video starts!
I tried to do that with the latest code but I can get only two situations: either the video stays turned off or it begins to play and then restarts after x time. This is really frustrating.
-
As they say in my country: "Das más guerra que un niño tonto..." just kidding... ;D
Well, adapting the jedione code to mine... to see if this is what you wanted... :-[
-
As they say in my country: "Das más guerra que un niño tonto..." just kidding... ;D
Well, adapting the jedione code to mine... to see if this is what you wanted... :-[
iOtero, many thanks for your code and effort! It now works brilliantly!
I have added small changes and released v1.2. I also added you to the credits at the top of the layout script.
Cheers
-
I'm glad i was helpful... :-[
-
Good morning all !
I love this theme it is beautiful & original (I love the sound of the hard drive) unfortunately the display of games is not centered on the screen...
(https://pix.tdct.org/upload/original/1569171721.jpg)
How to change that ? Greetings 8)
-
Hello person to help me solve my problem ?
Thanks best regards 8)
-
Try the attached layout file
-
Hello thanks for the file I tried but it's not better...
I still have this very embarrassing gap... what to do ?
-
try this one
-
I still have this gap...
-
Hello I understand why it's not centered... my screen is 1680 x 1050...
I tried with a screen in 1920 x 1080 it is centered... how to do with my screen in 1680 x 1050 so that it is centered ?
Thanks best regards !
-
Hello I understand why it's not centered... my screen is 1680 x 1050...
I tried with a screen in 1920 x 1080 it is centered... how to do with my screen in 1680 x 1050 so that it is centered ?
Thanks best regards !
fe.layout.width = 1680;
fe.layout.height = 1050;
fe.layout.preserve_aspect_ratio=false;
/////////////////////////////////////////////////////////////////////////////////////////
// Load background image
local presentacion = fe.add_image("bg.png", 0, 0, 1680, 1050);
Try this, but mayybe you need to set the other objets coordinates manually.
-
My particular version of this theme for 3:4 and Raspberry pi 4 (wip):
I still have to polish some details.
Pressing the i key shows/hides a diskette with the game data.
https://www.youtube.com/watch?v=d5mH8yfoze8 (https://www.youtube.com/watch?v=d5mH8yfoze8)
-
that pi vs is looking great
-
My particular version of this theme for 3:4 and Raspberry pi 4 (wip):
I still have to polish some details.
Pressing the i key shows/hides a diskette with the game data.
https://www.youtube.com/watch?v=d5mH8yfoze8 (https://www.youtube.com/watch?v=d5mH8yfoze8)
This is some awesome work! Love it.
-
I forgot to say that, by default, the videos look green, like in the original IBM, but i put an option to see them in color.
-
I forgot to say that, by default, the videos look green, like in the original IBM, but i put an option to see them in color.
Did you finish it?
-
I forgot to say that, by default, the videos look green, like in the original IBM, but i put an option to see them in color.
Did you finish it?
Not yet, i have to fix some of the information of the games, and i have not finished testing it. I am very busy with my new Picade. :-[
(https://cdn.shopify.com/s/files/1/0174/1800/products/picade-10-inch_ab3d3843-0f18-47bd-8b1e-1a5f35cb55a2_1024x1024.jpg?v=1571907140)
-
Version 2.0 Released!
------------------------
- Full compatibility with 16:9 and 16:10 screen aspect ratios
- New original IBM PC keyboard sound
-
Cool theme for MS-DOS.
Thanks for asahendrix for the art, iOtero and jedione for the fading list code!
YouTube:
https://www.youtube.com/watch?v=syC5j5BqZDo
Download:
https://mega.nz/file/VIsHCAwS#qrdXNIZCrjND5DYiAscX76bb7Njlsc_QgzqF-CfT7rE
Version 3.0 Released!
------------------------
Read here: http://forum.attractmode.org/index.php?topic=3289.0
Version 2.0 Released!
------------------------
- Full compatibility with 16:9 and 16:10 screen aspect ratios
- New original IBM PC keyboard sound
Update v1.2:
- User can now choose delay and fade-in/out times for game list and snap videos (Huge thanks to iOtero for the code and support!)
Update v1.1:
- Added option to show boxart
- Added option to play a long version of the PC ambient sound
-
this is great, keep up the beautiful work!
-
this is great, keep up the beautiful work!
thanks! :)