Author Topic: Can't see games info and overview in AM  (Read 2333 times)

lokham

  • Newbie
  • *
  • Posts: 1
    • View Profile
Can't see games info and overview in AM
« on: June 12, 2017, 05:14:05 AM »
Hello


I think I've understand how to scrape images and text. I've all the images in the folder /scraper... and the overview in the Romlists/genesis...

But I can't figure how to read this overview in AM. for example I use the "Simulacra" layout and there is no info when I navigate through games listings.


Can you help me please ?

BOXXMAN

  • Full Member
  • ***
  • Posts: 38
    • View Profile
Re: Can't see games info and overview in AM
« Reply #1 on: June 13, 2017, 09:38:08 AM »
Your layout has to have [overview] magic token for it to work. Maybe that layout doesn't have it? Anyway, just add this to whatever layout you like to enable it.
Code: [Select]
local ov = fe.add_text( "[Overview]" , flx* 0.5, fly*0.5, flw*0.3, flh*0.5);
ov.alpha=255;
ov.align = Align.Left;
ov.word_wrap = true;
ov. charsize = 12;
Add this somewhere towards the end of your layout, after other art has been drawn, or it may be drawn over and you will not see it. You can adjust coordinates, transparency, text box and size of text also. If you want to get fancy, you can load the scrolling text module from you layout as well
Code: [Select]
fe.load_module("objects/scrollingtext");
local scroller = ScrollingText.add("[Overview]",flx*,fly*,flw*,flh*);
Read the scrolling text module in objects folder for more info on usage.