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

Pages: 1 ... 24 25 [26] 27 28
376
Themes / Re: Layout background design
« on: June 17, 2018, 11:40:53 AM »
Thanks, but what I'm asking is not programming, but graphic help, with attractive designs and color combinations.

377
LCD Theme Final version (08/2018)

Original Thread: http://forum.attractmode.org/index.php?topic=2271.0

Video: https://www.youtube.com/watch?v=i_Jz7i6MLok


LCD with wheel and all disabled:
[missing tinypic image removed by admin]

LCD with list and all activated:
[missing tinypic image removed by admin]

378
Themes / Re: Put a random icon on the screen.
« on: June 17, 2018, 02:14:49 AM »
Well ido not see the difference in what you tell me what I do:

Code: [Select]

local my_film = randInt(30);

my_film = my_film.tostring() + ".png";

local film = fe.add_image("posters/films/" + my_film, 0, 0, flw*0.408, flh*0.6);


Something is slipping away ... :D

(Me lo vas a tener que explicar en español, a ver si así me entero mejor) :)

379
Themes / Layout background design
« on: June 17, 2018, 02:08:33 AM »
I am preparing a layout with the following backgrounds:








I know I'm not very good at this ... But here there are very good people in it.

That's why I ask for your help, to see if you can suggest any combination of colors or alternatives to the design of mine.

What can not be modified are the measures or the margins, otherwise I would have to modify all my code and that is not desirable.

Thanks in advance for your help.

380
Themes / Re: Put a random icon on the screen. (SOLVED)
« on: June 16, 2018, 09:31:28 AM »
Another simple solution is put some "random" jpg´s into the "scrapper/[sytem]" folder.
I mean , you have a "NES" layou.nut with something like

fe_add.artwork = icon...

Then just create a folder "scrapper/nes/icon"
Inside 1.jpg , 2.jpg , 3.jpg or wathever you want  :D

Thanks, a great idea...  :D  but i do not use the scrapper for nothing at all  ::)

381
Scripting / Re: New feature: vertical text alignment
« on: June 16, 2018, 06:53:35 AM »
Your exe is not compatible with :

Code: [Select]
if (fe.load_module("Debug")) log <- Log();

Not run with my theme layout and not shows "last_run.log" file.

382
Themes / Re: Put a random icon on the screen. (SOLVED)
« on: June 15, 2018, 04:18:48 AM »
Windows 10 with Intel Core i7-4790K 4.0 Ghz.

383
Themes / Re: Put a random icon on the screen. (SOLVED)
« on: June 14, 2018, 04:36:41 PM »
The two options work, but both have a small problem: When AM start, the first image is always the same, the others are random, but the one at the beginning, always the same position: 4 in 0-12 or 10 in 0-30.


Many years ago, when ms-dos, I had to do a pseudo-random, and so that it would not happen to me, I took the random seed of the clock: current second.

Sorry for my bad english...  :-[

384
How to change the keys up and down for left and right in one theme layout and only for that?

I work in a layout with a coverflow (with "conveyor_helper" ;) ), and to go from game to game i use, as in the other layout, up and down.

IWould it be possible to set an option to change the keys in ch.CoverFlow of conveyor_helper?

Yhe best would be to use left and right, but i do not know how to define that in attrac-mode without changing it in the rest of layouts.

Sorry for my very bad english,  :-[

385
Quote
What is “data in a folder?” It would help me to better help you.

Data in the folder "Tom Odell - Long Way Down - 2013":

Quote
01 - Tom Odell - Grow Old With Me.m4a
02 - Tom Odell - Hold Me.m4a
03 - Tom Odell - Another Love.m4a
04 - Tom Odell - I Know.m4a
05 - Tom Odell - Sense.m4a
06 - Tom Odell - Can't Pretend.m4a
07 - Tom Odell - Till I Lost.m4a
08 - Tom Odell - Supposed To Be.m4a
09 - Tom Odell - Long Way Down.m4a
10 - Tom Odell - Sirens.m4a
11 - Tom Odell - I Think It's Going To Rain Today.m4a
12 - Tom Odell - Storms.m4a
13 - Tom Odell - Heal.m4a
14 - Tom Odell - Till I Lost (Demo).m4a
15 - Tom Odell - Grow Old With Me (Demo).m4a
folder.jpg


All files with full tags ID3v2.

386
I want to put the contents of an array on the screen when I press a key.
After reading the data of a folder, they are added to an array, and what I want is to put them on the screen by pressing a key, not directly. I guess you have to put the array on a surface or an object, but I'm not very expert.

387
I have tried with this

Code: [Select]
local mp = MediaPlayer();

class PlayList
{
constructor()
{
for(local i=0; i<player_list.len(); i++)
{
player_list.push(fe.add_text("", text_x, text_y+(i*30), text_wide-text_x, 0));
player_list[i].align = Align.Left;
player_list[i].font = "anaheim";
player_list[i].charsize = font_list_size;
player_list[i].set_rgb(Rp,Gp,Bp);
}
player_list.visible=false;

fe.add_signal_handler(this, "on_show")
}

function on_show(shw)
{
if (shw == "custom4")
{
player_list.visible=!player_list.visible;
return true;
}
return false;
}
}

local pl = PlayList();


And not work...

388
Just a quick glance, may or may not resolve your issue. Declare your variable, player_list.

Thanks, but if the array contains data, as I said, it is because previously it is already declared.

389
Scripting / Need help to display an array when you press a button.
« on: June 11, 2018, 08:15:11 AM »

This code works perfectly:  :D

Code: [Select]
class PlayList
{
show_text=null;

constructor()
{
show_text = fe.add_text("[Title]", flx*0.230, fly*0.001, flw*0.360, flh*0.490);
show_text.visible=false;
show_text.charsize = 20;
fe.add_signal_handler(this, "on_show")
}

function on_show(shw)
{
if (shw == "custom4")
{
show_text.visible=!show_text.visible;
return true;
}
return false;
}
}

local pl = PlayList();


My problem is that i can not get the content of an array[], which contains several data, instead of [Title].  :'(

I tried this (without it working, of course):    :-[

Code: [Select]
class PlayList
{
show_text=null;

constructor()
{
for(local i=0; i<player_list.len(); i++)
{
player_list.push(fe.add_text("", text_x/2, text_y+(i*30), text_wide-text_x, 0));
player_list[i].align = Align.Left;
player_list[i].font = "anaheim";
player_list[i].charsize = font_list_size;
player_list[i].set_rgb(Rp,Gp,Bp);
}

fe.add_signal_handler(this, "on_show")
}

function on_show(shw)
{
if (shw == "custom4")
{
show_text.visible=!show_text.visible;
return true;
}
return false;
}
}

player_list[] is the array in question...

390
Themes / Re: Conveyor_Helper Module for Themers: Updated - 11/28/2017
« on: June 08, 2018, 05:08:21 AM »
Hi,

The flicker happens when you change to next/previous game whilst the fade transition time is not sitll completed.
Is this a bug?

Well I do not know if it will be a bug or not, but it hurts the eyes.

It could not be fixed?

Pages: 1 ... 24 25 [26] 27 28