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

Pages: [1] 2 3 ... 5
1
General / Re: new BlendMode...
« on: Yesterday at 01:40:45 AM »
Yes, it would not be bad to have an example that shows the new options.  :-[

2
Themes / Re: Robospin images wheel problem
« on: July 20, 2018, 12:00:51 PM »
I have try your image and yes it's ok. Which program are you used?

I use Gimp with batch image manipulation plugin.
And i'm sorry, but it's not one of the easiest programs to use well.
There are people who use Photoshop, but i'm a fan of free software, that's why i use Gimp.

Quote
P.S But is not possible to change this values? Because I don't want to modified the images one by one  :-\

local wheel_w = [ flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.24, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, ];
local wheel_h = [  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, flh*0.168,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, ];


You should modify all these measures:

Code: [Select]
local wheel_x = [ flx*0.71, flx*0.71, flx*0.71, flx*0.71, flx*0.71, flx*0.71, flx*0.68, flx*0.71, flx*0.71, flx*0.71, flx*0.71, flx*0.71, ];
local wheel_y = [ -fly*0.22, -fly*0.105, fly*0.0, fly*0.105, fly*0.215, fly*0.325, fly*0.436, fly*0.61, fly*0.72 fly*0.83, fly*0.935, fly*0.99, ];
local wheel_w = [ flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.24, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, ];
local wheel_h = [  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, flh*0.168,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, ];

And something else... You can try, but i would not.

3
Themes / Re: Robospin images wheel problem
« on: July 20, 2018, 05:10:35 AM »
I have try to resize the images in 460x181,  but it's still oval.

Not only resize images, resize image and canvas:

1400x900:



460x181:


4
Scripting / Re: Animate a Shuffle List
« on: July 20, 2018, 05:06:47 AM »
The problem is here:

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

It's about the fade out of the listbox, not the shuffle list.

5
Most likely you forgot to add sel_alpha property to the list

I've added all options:

Code: [Select]

::OBJECTS <- {lbx = fe.add_listbox(flx*0.76, fly*0.33, flw*0.20, flh*0.64)}
OBJECTS.lbx.rows = 21;
OBJECTS.lbx.charsize = font_list_size;
OBJECTS.lbx.align = my_align;
OBJECTS.lbx.alpha = 255;
OBJECTS.lbx.bg_alpha = 0;
OBJECTS.lbx.sel_alpha = 255;
OBJECTS.lbx.selbg_alpha = 0;
OBJECTS.lbx.set_rgb(0,0,0);
OBJECTS.lbx.set_bg_rgb(255,255,255);
OBJECTS.lbx.set_sel_rgb(255,255,255);
OBJECTS.lbx.set_selbg_rgb(255,255,255);

and problem remain the same.



6
General / Re: running Am and games on extended dule monitor
« on: July 18, 2018, 09:21:58 AM »
You have tried DisplayFusion?

https://www.displayfusion.com

7
Scripting / Re: Animate a Shuffle List
« on: July 18, 2018, 04:30:07 AM »
While i wait for the solution to the bug of the listbox fade, i'll show you how the shuffle list animation looks like:

https://www.youtube.com/watch?v=j0qFbRAI1r4

8
Themes / Re: Robospin images wheel problem
« on: July 18, 2018, 03:37:00 AM »
local wheel_w = [ flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.24, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, ];
local wheel_h = [  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, flh*0.168,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, ];

These are the measurements used by robospin for the central wheels: flw * 0.24 x flh * 0.168, that is, 1920 * 0.24 = 460.8 and 1080 * 0.168 = 181.44.

Total 460x181 pixels.

The solution is the same: Adjust the canvas of yours wheels with Gimp or similar apps.

9
General / Re: How to get attract to detect game from cd tray
« on: July 18, 2018, 02:52:46 AM »
It would not be better to create isos of the cd's and use them?  8)

10
Themes / Re: Robospin images wheel problem
« on: July 18, 2018, 02:50:06 AM »
Your wheel 1200x910 pixels.

Robospin wheel 460x181 pixels --> 1200x472 --> 2288x900.

Adjust the canvas of yours wheels.

Yes, layout.nut contains the theme code.


11
Announcements / Re: Version 2.4 sneaking in!
« on: July 18, 2018, 02:31:47 AM »
Great notice!

Amazing Work!!

Thanks for all!!!

12
Themes / Re: Robospin images wheel problem
« on: July 18, 2018, 02:27:47 AM »
Robospin, Robospin Universal or Robospin HD?  8)

Screen Resolution?  :)

County sheriff's name?   :P

Give some more information, man...  8)

And better if you put the code of the wheel.  ;D

And better more if you put the wheels dimensions...  ???

13
General / Re: How to get attract to detect game from cd tray
« on: July 17, 2018, 02:47:30 PM »
Are the cd's still being used?  :o

14
Scripting / Re: Animate a Suffle List
« on: July 17, 2018, 12:51:55 PM »
I already have the issue solved.

I already know how to move and fade a Suffle List.

I have implemented it in my LCD theme.

I'm just waiting to solve a small bug that i think AM has to upload the updated version of LCD with animated Shuffle List.

I've put it in the forum, to see if someone tells me how to fix it.

In any case, many thanks to qqplayer for your help. My final code is something different from yours, but he gave me the necessary clues to do what i wanted.

15
Scripting / Attract-Mode BUG: Listbox not fade correctly.
« on: July 17, 2018, 10:33:53 AM »
I use this code to fade a listbox after 3.5 seconds:

Code: [Select]
local flx = fe.layout.width;
local fly = fe.layout.height;
local flw = fe.layout.width;
local flh = fe.layout.height;

// Listbox
if(my_config["wheel_type"] == "listbox")
{
::OBJECTS <- {lbx = fe.add_listbox(flx*0.76, fly*0.33, flw*0.20, flh*0.64)}
OBJECTS.lbx.rows = 21;
OBJECTS.lbx.charsize = 24;
OBJECTS.lbx.align = Align.Centre;
OBJECTS.lbx.selbg_alpha = 0;
OBJECTS.lbx.set_selbg_rgb(255,255,255);
OBJECTS.lbx.set_rgb(0,0,0);
OBJECTS.lbx.set_sel_rgb(255,255,255);

// Fade Listbox
local move_lbx1 = { when = Transition.ToNewSelection, property = "alpha", start = 0, end = 255, time = 1} 
local move_lbx2 = { when = When.ToNewSelection, property = "alpha", start = 255, end = 0, time = 2500, delay = 3500} 
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx1));
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx2));
}

But it does not fade correctly.

The rest of the listbox fades correctly, but the selected field in the listbox remains visible.

It seems totally an Attract-Mode bug.

Does anyone know why this happens?

Is there any solution?

Edit: The bug has been confirmed in "Bug Reports" by Oomek. As soon as there is a solution, I will communicate it here.

Pages: [1] 2 3 ... 5