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.


Topics - Elaphe666

Pages: [1]
1
Scripting / Reduce scroll speed in History plugin?
« on: November 30, 2024, 02:40:41 PM »
Is is posible? How?

2
General / Know selected game?
« on: November 25, 2024, 01:09:12 AM »
Is there any temporal file where the currect selected game is temporaly stored or any other way to know the selected game? I would need to read that information from an Autohotkey script. Thank you.

3
General / Game list acceleration?
« on: November 09, 2024, 04:16:14 AM »
Is there any way to achieve the same result I get with MaLa frontend? I mean the scrolling of the list accelerates when you hold your key or button for a moment.

4
General / View layout at real resolution
« on: November 01, 2024, 05:06:09 AM »
I'm making a layout for 320x240 resolution. The problem is that I cannot find a way to preview it in my high res monitor in real pixels, I mean, in a 320x240 window without any scaling. Is that possible? Thank you.

5
Scripting / Idenfity favorites display
« on: October 28, 2024, 12:46:43 PM »
How can I add a text or image when the current display is favorites without having a different layout for all and favorites?

6
Themes / How to add curvature and scanlines to the snapshots?
« on: October 28, 2024, 10:27:59 AM »
Any example?

7
Scripting / Keep the correct aspect ratio of vertical snapshots
« on: October 27, 2024, 11:16:39 AM »
I have a layout which shows the snapshot of the selected game. It scales the original artworks (which have different dimensions) to a fixed size of 640x480. So far so good. The problem is with vertical games, as these images get very distorted. My idea is that vertical snapshots are displayed on the same area, keeping the 480 pixels high, but at 360 pixels wide to keep the right proportions. Could you please provide an example of the code? Thank you.

8
General / Key delay, gradients and transparency
« on: October 08, 2024, 12:51:30 AM »
How can I reduce the delay when you press a key or button and hold it to browse the list of games (I'm not asking about the general speed when scrolling).

How can I create a gradient for the list selector so that it fades to transparency from the center to the left and right.

Same question as before but for the list of games, fading from the selected to the top and bottom of the list.

Thanks.

9
General / Basic questions for my layout
« on: October 05, 2024, 09:23:12 AM »
Hello. I'm new to Attract Mode and I have several questions. I have already made a very simple and minimalistic layout for a resolution of 640x480 and I would like to improve some aspects.

First: is there any way to have a key for menu select and another key for launching games? I see that the "select" option under controls works for both.

Second: I have made a vertical version of my layout (I will rotate my 4:3 CRT monitor). Is there any way I can toggle between the horizontal and the vertical layout with a button/key? My current solution is to use Autohotkey to map a button to perform a series of actions such as copying different versions of attract.cfg in a toggle and restart the frontend.

Third: I am using the popup script to show an imagen with some help information. How can I center it on screen for both my horizontal and vertical layouts? This is the code I have:

Code: [Select]

class PopUpImage
{
        _my_image=null;

        constructor()
        {
                _my_image = fe.add_image( "help.png", 0, 0 );
                _my_image.visible=false;
                fe.add_signal_handler( this, "on_signal" )
        }

        function on_signal( signal )
        {
                if ( signal == "custom1" )
                {
                        _my_image.visible=!_my_image.visible;
                        return true;
                }
                return false;
        }
}

local blah = PopUpImage();

Logged


Pages: [1]