Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: Sebiohazard on February 08, 2022, 06:55:14 PM

Title: AM-Builder tutorial ?!
Post by: Sebiohazard on February 08, 2022, 06:55:14 PM
Hello everyone !

I discovered AM-Builder here (https://goodiesfor.me/attractmode/builder/) but I don't understand how it works... where can I find a tutorial to create a custom theme ?

Greetings !
Title: Re: AM-Builder tutorial ?!
Post by: Mark Norville on February 08, 2022, 08:00:48 PM
As you do not speak English natively, I will keep it very simple.

You will NEVER have manuals on how to do anything. You have the WIKI https://github.com/mickelson/attract/wiki but that is all.

Software does not come with manuals.

Regards

Mark (No manuals included)
Title: Re: AM-Builder tutorial ?!
Post by: Sebiohazard on February 08, 2022, 09:45:44 PM
Hello thank you for your answer !

I can't get it to work... is there any other program to create themes for Attract Mode ?

Greetings !
Title: Re: AM-Builder tutorial ?!
Post by: Mark Norville on February 08, 2022, 09:59:56 PM
If you look at the Wiki, it gives you very basic instructions on the Squirrel programming language.

You do not have software/programs to create skins.

The best way of learning, is to look at the layout.nut file and see how that works, you can adapt a lot of skins from there to create your own.

Some skins are more complex than others, but there are skins that are pretty basic, if you have a little bit of knowledge.

Regards

Mark
Title: Re: AM-Builder tutorial ?!
Post by: Sebiohazard on February 08, 2022, 10:14:19 PM
Hello !

No, I don't have any knowledge... it's a pity that it's not accessible for beginners like me... on HyperSpin there is a program on Windows called Hyper Theme which makes it easy to create (even for me loooooooool) themes.

Can-be that in the future this will be possible for Attract Mode?! Because I don't like HyperSpin 8)
Title: Re: AM-Builder tutorial ?!
Post by: Mark Norville on February 08, 2022, 10:17:47 PM
I am only a user, I am not connected to the programming staff for AM.

Yes I have used HyperTheme in the past when I used HyperSpin.

You can create skins using HyperTheme and then transfer them into Attract Mode. If you do a search of the forum, there should be some guides on how to do this.

Regards

Mark
Title: Re: AM-Builder tutorial ?!
Post by: Sebiohazard on February 09, 2022, 05:34:23 PM
Hello, I found this discussion on the subject here (http://forum.attractmode.org/index.php?topic=3526.0)...

Just a question... with which program this beautiful & large collection of themes here (http://forum.attractmode.org/index.php?topic=3289.0) was made ?!

Greetings !
Title: Re: AM-Builder tutorial ?!
Post by: squareboy on February 09, 2022, 08:15:02 PM
Hello everyone !

I discovered AM-Builder here (https://goodiesfor.me/attractmode/builder/) but I don't understand how it works... where can I find a tutorial to create a custom theme ?

Greetings !

Yes, it seems somewhat difficult to use.  However if you download this: https://github.com/liquid8d/am-builder/raw/master/extras/am-builder.zip (https://github.com/liquid8d/am-builder/raw/master/extras/am-builder.zip)

... drag it to the AM-Builder (do not decompress). It is a pre-made layout.  It may help you see how the builder works.
Then you can press the "View Code" button to see code, and try and understand the functions. 

I found it on the Attract Mode Builder github page: https://github.com/liquid8d/am-builder/blob/master/README.md (https://github.com/liquid8d/am-builder/blob/master/README.md)

I hope this helps.


Title: Re: AM-Builder tutorial ?!
Post by: jedione on February 10, 2022, 06:16:03 PM
ok here is my basic rundown an am builder  so if you do a quick bg, and add a snap,   i edidit way down, because it is virtually, adding everything not being used also to the script,   but here is am builder, 
Code: [Select]
local props = {"Standard (4x3)":{
"background":{"x":0,"y":0,
"file_name":"pixel.png""width":1920,"height":1080,}


"AMArtwork2":{
"file_name":"snap","x":240,"y":160,"width":100,"height":100,
}

}}

// Find correct aspect
function findAspect( ratio ) {
    if ( ratio == 1.77778 ) return "HD (16x9)"
    else if ( ratio == 1.6 ) return "Wide (16x10)"
    else if ( ratio == 1.33333 ) return "Standard (4x3)"
    else if ( ratio == 1.25 ) return "SXGA (5x4)"
    else if ( ratio == 0.625 ) return "Wide Vert (10x16)"
    else if ( ratio == 0.5625 ) return "HD Vert (9x16)"
    else if ( ratio == 0.75 ) return "Standard Vert (3x4)"
    //use default aspect
    print("Unrecognized or missing aspect, using default: Standard (4x3)")
    return "Standard (4x3)"
}

local aspects = ["Standard (4x3)","Standard Vert (3x4)","SXGA (5x4)","Wide (16x10)","Wide Vert (10x16)","HD (16x9)","HD Vert (9x16)"]
local aspect = findAspect( ScreenWidth / ( ScreenHeight * 1.0 ) )


// Create AM Objects
local background = fe.add_image( "resources/" + props[aspect]["background"].file_name, 1, 1, 1, 1)
 foreach( key, val in props[aspect]["background"] )   
      if ( key != "file_name" )
         try { background[key] = val } catch(e){}


local AMArtwork2 = fe.add_artwork( props[aspect]["AMArtwork2"].file_name, -1, -1, 1, 1)
   foreach( key, val in props[aspect]["AMArtwork2"] )
      if ( key != "file_name" )
         try { AMArtwork2[key] = val } catch(e) {  }
  now here is the same thing,  in am
Code: [Select]
fe.layout.width=1920;
fe.layout.height=1080;

local bg = fe.add_image( "white.png", 0, 0, 1920, 2080 );
local snap = fe.add_artwork( "snap", 200, 200, 100, 100 );
  the onley diff is his is picking your screen size to adjust all the objects,   
Title: Re: AM-Builder tutorial ?!
Post by: jedione on February 10, 2022, 06:17:43 PM
not realy a newbe thign in my opinion..but u decide..
Title: Re: AM-Builder tutorial ?!
Post by: Sebiohazard on February 25, 2022, 10:28:40 PM
Hello

I'm trying to use AM Builder online but I don't understand why I can't get a full view of my project? When I load an image from my PC it does not appear completely (see below):

(https://i.imgur.com/Qv2zM8A.png)

How to proceed thanks ?
Title: Re: AM-Builder tutorial ?!
Post by: Mark Norville on February 25, 2022, 10:46:23 PM
We are NOTHING to do with AM Builder, it is an independent piece of software.

This is the forum for attract mode, and it is NOTHING to do with AM Builder.

You have it set to 4:3 ratio so try 16:9 would be my only guess. Top left hand corner, your skin res is 1920 x 1080 and you are 4:3.

Regards

Mark

In the Attract Mode forum which has NOTHING to do with AM Builder.
Title: Re: AM-Builder tutorial ?!
Post by: Sebiohazard on February 25, 2022, 11:04:58 PM
You have it set to 4:3 ratio so try 16:9 would be my only guess. Top left hand corner, your skin res is 1920 x 1080 and you are 4:3.
In the Attract Mode forum which has NOTHING to do with AM Builder.

Hello I tried 4:3 & 16:9 it doesn't change anything the image is never full screen ?! Is there any other software to create themes ?

Greetings !
Title: Re: AM-Builder tutorial ?!
Post by: Mark Norville on February 25, 2022, 11:10:00 PM
No it is all done by hand, if that is your best option then I would stick to it and try and learn how to use it.

However, you need to realise that this has nothing to do with Attract Mode, and it is like me owning a Ford car, and then asking for help in Tesla forum on how to fix the car.

If you need help then you should be asking on their git hub page or trying to find a forum for it, but I doubt if there is one.

As I am still waking up I will give it a try and see if it works for me.

I done a quick skin from the supplied file from above, I saved it tried it and it would show in a tiny box in the top left hand corner of my screen, so that is going to be another issue for you to try and sort out.

Regards

Mark
Title: Re: AM-Builder tutorial ?!
Post by: Sebiohazard on February 25, 2022, 11:38:15 PM
But how do all these people create themes on Attract Mode ? There must be a procedure for beginners like me :) ?
Title: Re: AM-Builder tutorial ?!
Post by: Mark Norville on February 25, 2022, 11:51:34 PM
But how do all these people create themes on Attract Mode ? There must be a procedure for beginners like me :) ?

As I have already told you before

As you do not speak English natively, I will keep it very simple.

You will NEVER have manuals on how to do anything. You have the WIKI https://github.com/mickelson/attract/wiki but that is all.

Software does not come with manuals.

Regards

Mark (No manuals included)

Your best option is to create a theme on HyperSpin theme builder and then import it to AM (and no there are no manuals for that either)
Title: Re: AM-Builder tutorial ?!
Post by: Sebiohazard on February 26, 2022, 12:13:03 AM
But how do all these people create themes on Attract Mode ? There must be a procedure for beginners like me :) ?
Your best option is to create a theme on HyperSpin theme builder and then import it to AM (and no there are no manuals for that either)

Yes I think it's the best option is to create with HyperTheme but since I don't speak English I don't understand how to do the conversion for Attract Mode... really everything is very complicated...
Title: Re: AM-Builder tutorial ?!
Post by: Sebiohazard on February 27, 2022, 10:57:13 PM
Hello I found a way to create the beginning of a theme but I am limited to a resolution of 1280 x 720...

I do not understand why the application does not manage the 1920 x 1080 which is the standard ?! I went to the Github but I don't know how to leave a message to the author to report the problem ?!

Greetings !
Title: Re: AM-Builder tutorial ?!
Post by: Mark Norville on February 27, 2022, 11:54:16 PM
Once again

WE HAVE NOTHING TO DO WITH THAT PROGRAM.

Do not keep asking us about it, for help and support. We have NOTHING to do with it.

Maybe CoinOps would be a better option for you, nothing to do, all set up for you, just plug and play.

I have the patience of a Saint, but with you, you cannot even understand that we have NOTHING to do with it, we do not use it. You have been told before it is NOTHING to do with us, but you still keep asking questions and expecting support from us.

I know English is not your first language, but even I know the word NO means NO in every language on this planet.

Regards

Mark
(I might be a bit calmer after my first coffee, it is Monday after all)
Title: Re: AM-Builder tutorial ?!
Post by: Sebiohazard on February 28, 2022, 02:42:23 AM
Hello !

I understand very well that you do not support AM Builder but then tell me how the members of this forum have done to create personalized themes ?!?!

Since the THEME section exists here on this forum and there are solutions ???

Greetings !
Title: Re: AM-Builder tutorial ?!
Post by: Mark Norville on February 28, 2022, 02:46:15 AM
How many more times do you want me to post this, I have posted this THREE times now and you keep asking the SAME question.

I am not going to answer you any more as you are seriously winding me up. You keep getting told the same thing over and over again.

CoinOps is better suited for you, tell Britney Pairs that I sent you, give him my regards.

1) People have learnt the squirrel programming language which is how they create themes
2) Creating a theme is NOT for newbies such as yourself who cannot understand what they have been told time and time again. If you cannot understand plain English, even when you translate it, then you will never learn how to theme.
3) The theme forum is here so people who can create themes show off their themes, yes it is also for help from other theme creators, however you have been told time and time again that creating a theme is not for beginners
4) I have told you time and time again that the builder is not official and is unsupported by the forum, yet you still carry on, oh how do I contact the creator of it.
5) Please do not send me private messages, they are now on a filter where they get deleted straight away. I do not like having to repeat myself, it is like talking to a child, who constantly says but why cannot you do this, that and the other. I have told you that you have to do X,Y and Z but you want it to do A, B and C. It does not work like that.

As you do not speak English natively, I will keep it very simple.

You will NEVER have manuals on how to do anything. You have the WIKI https://github.com/mickelson/attract/wiki but that is all.

Software does not come with manuals.

Regards

Mark (No manuals included)

Title: Re: AM-Builder tutorial ?!
Post by: progets on March 01, 2022, 12:29:57 AM
Mark Norville, please don't berate members of the forum. If you don't have the answer to the question asked, there is no need for a reply.

Sebiohazard, i don't have the answers to your questions but I will try to help.

Liquid8d is a moderator on this forum. He is the creator of the AM Builder. Here's the post where he introduced it http://forum.attractmode.org/index.php?topic=1729.0 (http://forum.attractmode.org/index.php?topic=1729.0). This was back in 2017 and it was a great idea that worked but was never really finished. No work has been done on this project since 2017. If you wanted to report a problem you can do so on his GitHub page https://github.com/liquid8d/am-builder/issues (https://github.com/liquid8d/am-builder/issues) or send him a message on this forum but he hasn't logged in to this forum for about a year. Sometimes people's priorities change.

I should also mention that AM has had many changes since 2017, as a result this program might be out-of-date.

There are talented coders on the forum. If you post a visual idea of what you want, one of them might code it for you. Another option would be to find a layout that is close to what you like and ask how to modify it to suit your needs.