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 - kent79

Pages: 1 2 [3] 4 5 ... 50
31
General / Re: Screensaver auto advance time (basic movie)
« on: May 18, 2021, 10:28:04 PM »
You may check my theme coding. The answer is here.  ;D
http://forum.attractmode.org/index.php?topic=3917.0


32
Themes / Re: AM High Score HD (Hi-Res) Theme 2.0 (Finial Build)
« on: May 16, 2021, 05:34:04 PM »
I like this theme a lot, very nice usage of effects in both the system selections screen as well as the game select screen. I've downloaded the (latest?) layout from your dropbox in the OP. There are a couple of things I would really like to know how you have achieved it:

1) the black text outline on the gametitles. I have similar functionality in the theme I'm working on but it is based on a shader. I dont see any shaders in your code, how did you create the effect?

2) the pulsing outline on the game titlles. I'm guessing it uses the same technique as the outline code but adds an animation somewhere?

 PS. are you on discord as well?

Yes, There is no any special skills, just be a trickly.

The magic is  :P

1. Great a new surface and then add game titlles in there
Code: [Select]
local surface_bgText = fe.add_surface( 1920, 1080 );

2. Add animation for game titlles surface
Code: [Select]
animation.add( PropertyAnimation(surface_bgText,   {when = Transition.StartLayout, property = "color", start = { red = 0, green = 0, blue = 255 }, end = { red = 3, green = 200, blue = 255 }, time = 300, delay = 100, pulse=true }));

33
Announcements / Re: Version 2.6.1 bugfix release
« on: May 16, 2021, 05:23:24 PM »
guess it is safe to say their will be no moor updates from raygun?

Hey there jedione, I’m taking a break for now but I will be back!  There are some more fixes I want to make when I get the time…

Hello raygun

Welcome back. I hope you can fix the sound looping issue. As you known, now is only playing once. Thanks.

34
Themes / JunkBox Theme alpha demo
« on: April 15, 2021, 02:26:07 AM »
This is alpha version demo.
https://www.youtube.com/watch?v=PgD9pJijpmY

Controls:

Up/ Downl - Select Music

Left/Right - Jump to Letter

There is 3 play modes and you can change the mode any time with single button:
1. Repeat Mode - as AM default playing video mode, looping to play single Music Video
2. Shuffle Mode - Random to play Music Video
3. Repeat Track Mode - Sequence to  play Music Video

35
Themes / Re: AM High Score HD (Hi-Res) Theme 2.0 (Finial Build)
« on: April 14, 2021, 07:50:08 PM »
Theme is updated

- updated demo mode function, changed "time to wait" to "minimum time", the default time is 10.

36
Scripting / Re: About of jukebox pointer coding request
« on: April 13, 2021, 07:52:58 AM »
I having some some idea to fix it. But don't know the actual code.

I need to create a new array to store the video artwork and then make this oBject to random loop playing.

Then, it should be ignore the input singal. Please teach me if anyone how to write a code. thanks.

37
Scripting / Re: Shuffle v2.2.0 - Loop feature now added
« on: April 13, 2021, 12:33:18 AM »
Hello keilmillerjr

May I know is it possible to do it with my idea, Thanks.

http://forum.attractmode.org/index.php?topic=3957.0

38
Scripting / Re: About of jukebox pointer coding request
« on: April 13, 2021, 12:31:48 AM »
I try to make a sample with Shuffle module by keilmillerjr.

I want to wheel image (B) change following by pointer change only, snap video (A) remain playing orginial before press select button to confirm. Please help me if you know how to modify the code. Thanks.

Code: [Select]
class UserConfig {

}


fe.load_module("animate");
fe.load_module("shuffle");

local flw = fe.layout.width;
local flh = fe.layout.height;

fe.layout.width = 1920;
fe.layout.height = 1080;


local snap = fe.add_artwork( "snap", -240, 0, 1920, 1080 );
snap.preserve_aspect_ratio = true;

local wheel = fe.add_artwork( "wheel", 1500, 600, 400, 400 );
wheel.preserve_aspect_ratio = true;

local config = {};
config.list <- {
x = flw*1.1,
w = flw*0.305,
h = flh*0.120,
};


local list = [];
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.080, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.145, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.210, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.275, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.340, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.405, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.470, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.535, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.600, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.665, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.730, config.list.w, config.list.h));
list.push(fe.add_text("[ListEntry]. [Title]", config.list.x, flh*0.795, config.list.w, config.list.h));

class ShuffleList extends Shuffle {
function _refreshSelected(slot) {
slot.font="BebasNeue Regular.ttf";
slot.align = Align.Left;
slot.charsize = 36;
slot.set_rgb ( 254, 232, 53 );
}

function _refreshDeselected(slot) {
slot.font="BebasNeue Regular.ttf";
slot.align = Align.Left;
slot.charsize = 36;
slot.set_rgb (119, 183, 34);
}
}
local list = ShuffleList({slots=list, reset=false});


function on_signal( sig )
{
switch ( sig )
{
case "up":
fe.signal( "prev_game" );
return true;

case "down":
fe.signal( "next_game" );
return true;

case "select":

break;

default:
break;
}

return false;
}

fe.add_signal_handler( this, "on_signal" );

39
Scripting / About of jukebox pointer coding request
« on: April 12, 2021, 05:14:13 AM »
Hello,

I have some idea of theme, in normal, when pressing up / down, the pointer will be moved to presoius / next music. Then snap video will change accroding pointer.

My idea is,

1. the video is playing randomly
2. When I pressing up / down to select music, the video don't follow the changing in this moment
3. When I confirm the selection, press select button to confirm, the video will change now

Please teach me if you know the coding. Thanks.

40
Themes / Re: AM High Score HD (Hi-Res) Theme 2.0 (Finial Build)
« on: March 31, 2021, 06:11:57 PM »
Updated.
- remove system status bar
- add display two flyer artworks function, now you may press left right to change image

artwork    flyer            C:\am\mame\flyer
artwork    flyer1           C:\am\mame\flyer1

41
Dear DamnedRegistrations , take it easy man.

In my mind, all is fair use, the important thing is - don't get money from the project or put it to business use. All contributors is also nice guy.  ;)

42
not necessary. in AM already exists filter.
add language and region entries in your romlist.
use filter for change romlist by region or language

or

create two displays.
One called MAME EN, with EN Roms
One called MAME JP, with JP Roms

Hello, I finally got how to do sorting, it really using filter. Thank you so much.  :)

43
Themes / Re: AM High Score HD (Hi-Res) Theme 2.0 (Finial Build)
« on: March 27, 2021, 06:56:11 PM »
Finally, I got how to sort by AltTitle for Japanese Lanuage, please follow as below step.

1. Download the latest theme pack

2. Edit attract.cfg file, only create "All", "Japanese" filter like as below for each display system. This is very important

Code: [Select]
#
display ANIME MUSIC VIDEO
layout               AMHS2
romlist              AMV
in_cycle             yes
in_menu              yes
filter               All
filter               Japanese
sort_by              AltTitle

3. Or The pack having a "default-display.cfg" file, all & japanese filter will be defalt format on next new display

4. At last, on the theme, when you select Japanese lanuage in option, it will auto jump to japanese filter page.

 

44
Themes / Re: AM High Score HD (Hi-Res) Theme 2.0 (Finial Build)
« on: March 27, 2021, 03:42:20 AM »
Update again

- update japanese font
- update coding, on japanese mode, if alternate title doesn't exist, will be using orginial title (english)

45
Just using trickly way to do it. But it is not a perfect way since alternate name ordering is depend on orginial name. May be someone can tell me how to fix this issue. Thanks :P

http://forum.attractmode.org/index.php?topic=3917.msg27546#msg27546

Pages: 1 2 [3] 4 5 ... 50