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

Pages: [1]
1
Themes / Loading picture when I run a game
« on: March 24, 2016, 04:01:24 PM »
I am an user of the Mala frontend.
In Mala is possible to see a picture when I launch a game of my list.

How can I show a picture in my window for x seconds before the game runs?

Thanks in advance.


2
Themes / How differents themes
« on: March 24, 2016, 01:02:15 PM »
I've three filters in my mame emulator: All, Favourites and Others.

Is it possible to assign a different layout for each filter? How can I do it?

Thanks in advance.


3
General / Filters and rules (solved)
« on: March 24, 2016, 08:56:37 AM »
Is it possible to add some rules to an filter?
I've this in my attract.cfg file.

Code: [Select]
display mame
layout               gifAnimado
romlist              mame
in_cycle             yes
in_menu              yes
filter               All
sort_by              Title
filter               Favourites
rule                 Favourite equals 1
[color=blue]filter               Otros
    sort_by              Title
rule                 Category does not equal Electromechanical / Reels
rule                 Category does not equal Casino
rule                 Category does not equal Casino / Reels
rule                 Status does not equal imperfect[/color]

When I launch AM I can see next the games:

sstar;Super Star;mame;;200?;<unknown>;Casino;???;0;;preliminary;1;raster;;;

or

m5supstr;Super Star (Barcrest) (MPU5) (set 1);mame;;199?;Barcrest;Electromechanical / Reels;???;;;preliminary;0;;;;mechanical

or

suprstar;Super Stars;mame;;1996;Amatic Trading GmbH;Casino / Reels;1P;90;gambling;imperfect;1;raster;;;

What am I doing wrong?

Thanks in advance.

4
Themes / Moving image every x ms
« on: March 23, 2016, 10:49:55 AM »
I would like to move my image every x ms.
When my theme starts my image is animated.

I use this code

Code: [Select]
local logo = fe.add_image("LogoAS.png", 400, -5, 432, 220 );
animation.add( PropertyAnimation(logo, { property = "y", start = 800, end = logo.y, tween = Tween.Bounce, time = 7500} ) );

I wish my image animation start again when 30 seconds have passed. Is that possible?

Thanks in advance.

5
Themes / Problems using particles
« on: March 23, 2016, 10:15:31 AM »
I've added particles to my theme.
1.- Everything seems OK.
2.- Run a game
3.- When I come back to my theme I get this ...

Is it possible to "reinit" the theme?

Thanks in advance.

6
Themes / How adjust the wide of my text
« on: March 23, 2016, 10:07:09 AM »
Attach a snap of my theme.

I need to "autoadjust" the wide of my text and I don't know how I can do it?

This is the code I'm using
Code: [Select]
local textoJuego = fe.add_text("[Title]", 65, 640, 900, 45 );
textoJuego.align = Align.Left;
textoJuego.style = Style.Bold;
textoJuego.set_rgb(77,134,241);

Thanks in advance.



7
Themes / Add paremeter in Layout options of my theme
« on: March 19, 2016, 11:50:57 AM »
I've added this code to my layout

Code: [Select]
local snap = fe.add_artwork( "snap", flw*0.0775, flh*0.253, flw*0.525, flh*0.486 );
// AnimaciĆ³n sobre el eje X Aparece el logo desde la parte izquierda
local movex_cfg = {
    when = Transition.ToNewSelection,
    property = "x",
    start = -100,
    end = snap.x,
    tween = Tween.Bounce,
    [color=blue]time = 3500[/color]
}
animation.add( PropertyAnimation( snap, movex_cfg ) );

I would like add a paremeter to my layout; the time could be name snaptransitionX_ms and I add this to my layout.

Code: [Select]
class UserConfig {
   </ label="Snap Transition Time", help="Time in milliseconds for snap." /> snaptransitionX_ms="35";
   
}

local config = fe.get_config();

My problem is how can I use this paremeter? I've changed my code to this

Code: [Select]
local snap = fe.add_artwork( "snap", flw*0.0775, flh*0.253, flw*0.525, flh*0.486 );
// AnimaciĆ³n sobre el eje X Aparece el logo desde la parte izquierda
local movex_cfg = {
    when = Transition.ToNewSelection,
    property = "x",
    start = -100,
    end = snap.x,
    tween = Tween.Bounce,
    [color=blue]time = "snaptransitionX_ms"[/color]
}
animation.add( PropertyAnimation( snap, movex_cfg ) );

but it doesn't work fine.

Any help, please?

Thanks in advance.

8
Themes / Rotate a picture
« on: March 19, 2016, 05:47:16 AM »
Is it possible to rotate a picture? I wan to do a complete rotation like an animation.

I have been looking for an example but I have found nothing.

Thanks in advance.

9
Themes / Gif animated
« on: March 17, 2016, 10:47:48 AM »
Hi,

Is it possible to add an gif animated to my theme? I have added one and It doesn't work fine.

Thanks in advance.

10
Themes / Moving picture/graphic
« on: March 17, 2016, 07:20:41 AM »
Hi,

I'm going to make my first theme and I would like add a graphic. I want my graphic appears from the right until the left. Any example how can I do it.

Thanks in advance

11
Themes / Scrolling text
« on: March 15, 2016, 02:17:03 AM »
Hi,

I'm starting with AM. I'm goint to make my first theme and I would like add a scrolling text. I want the text appears from the right until the left. Any example how can I do it.

Thanks in advance.

12
General / Find a game
« on: March 14, 2016, 06:23:10 AM »
Is it possible to find a game without use the keyboard?
I'm going to use AM in a cabinet, and I would like to be able to find a game without use the PC keyboard.

Thanks in advance.

13
General / Some lists in Mame
« on: March 13, 2016, 12:22:19 PM »
Is it possible to have some lists in my mame emulator?

I would like to have: Favourites list, All games list and another Customized list.

Thanks in advance.

Note: Sorry for my bad english.

14
Themes / How can I make my own theme?
« on: March 13, 2016, 07:06:34 AM »
I would like to make my own theme. In Mala I used MalaLayout but in AM I don't know how can I make one.
Any help, please?

Thanks in advance.

15
Themes / Program to convert mala layout to AM layout?
« on: March 12, 2016, 12:12:48 PM »
I've imported a mala layout in AM and It works fine (more or less)...
My question is, it doesn't generate the layout.nut file. I would like to add some effects in the layout but I don't see this file.

Is it generate it or not?

Thanks in advance.

Pages: [1]