Recent Posts

Pages: [1] 2 3 ... 10
1
Themes / Re: Ambience HD theme [WIP]
« Last post by crawlingpeter on Today at 10:17:55 AM »
This looks amazing and I can't wait to check it out! Hopefully it can be released sooner than later :D
2
Scripting / Re: Request To get all text from single text file function
« Last post by kent79 on Today at 06:24:17 AM »
https://github.com/mickelson/attract/blob/master/config/modules/file.nut

class ReadTextFile
  function readline()

What is your goal?

Please help to write a sample layout code.

Below is my goal

Txt file:

abc
def
xyz

AM:

local abc =  fe.add_text( "read txt file line 1", 1, 0, 0, 1,1 );
local def =  fe.add_text( "read txt file line 2", 2, 0, 4, 1,1 );
local xyz =  fe.add_text( "read txt file line 3", 3, 0, 8, 1,1 );
3
Themes / Re: Put a random icon on the screen. (SOLVED)
« Last post by zlagos on Today at 05:33:09 AM »
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.

There is no solution for this bug?
4
https://github.com/mickelson/attract/blob/master/config/modules/file.nut

class ReadTextFile
  function readline()

What is your goal?
5
Any chance to upload a basic working image with all the stuff setup ready?
I mean not roms but all your custom additions.

Ok, I will try to best draft it  :)
Awesome , thanks!
6
Scripting / Re: Request To get all text from single text file function
« Last post by kent79 on Yesterday at 10:47:15 PM »
Hello, any one can help me. Thanks
7
Scripting / Re: ScrollingText module
« Last post by arthurvalenca on Yesterday at 07:07:09 AM »
Hello friends, I'm having trouble making the text scroll up, even changing the code it continues to move left, someone could help me with this

Code: [Select]
fe.load_module("objects/scrollingtext");
local scroller = ScrollingText.add( "[OVERVIEW]", 25, 50, fe.layout.width - 25, 75, ScrollType.VERTICAL_UP );

//there is a couple wrapper functions for color:
scroller.set_rgb( 255, 0, 0 );  //the text color
scroller.set_bg_rgb( 0, 0, 0 ); //the surface color (uses a pixel.png to color the surface)
//scroller.set_pos( 0, 0, 100, 100 ); //the surface x, y, w, h

//you can access the surface and text objects directly
//scroller.surface <- the surface
//scroller.text <- the text object

//There are also some settings:
scroller.settings.delay = 500;
scroller.settings.loop = -1;

PS: It has been changed in all ways to VERTICAL_UP, but still continue to the left, please help me.
8
Themes / Re: "P5" theme
« Last post by juliolima on Yesterday at 05:22:51 AM »
What a shame it did not continue, the theme is very good.
9
Themes / Re: "P5" theme
« Last post by juliolima on Yesterday at 05:22:11 AM »
What a shame it did not continue, the theme is very good.
10
Any chance to upload a basic working image with all the stuff setup ready?
I mean not roms but all your custom additions.

Ok, I will try to best draft it  :)
Pages: [1] 2 3 ... 10