Recent Posts

Pages: [1] 2 3 ... 10
1
Just tried a compile with curl installed, and it crashes with no error.
2
Scripting / Re: shuffle-module: First official release
« Last post by keilmillerjr on Today at 07:29:01 PM »
Taken from the readme is an example with three text objects. They are passed as an array to the class constructor. The index of these objects is handled by the class. You place or style the objects however.

You could create 12 text objects with Title as a magic string. Position them in a visually stacked manner. Extend the class select function to make object bold. Now you can see which object is selected. It should operate similar to attract’s built in listbox object, but allows for much more freedom.

Best I can do on iPhone until Saturday. Feel free to hit me up on discord if you need to.

Thanks a lot Keil, I finally got both the text and images working with the new version (1.0) of shuffle :D. I will now try my luck shuffle on larger lists following your suggestions.

I think fast browsing is working in shuffle, though my list (of 5 items) seems to be too short for the fast browsing option of AM to be truly noticeable as it reaches the end too fast and (like AM) stops at the last item before looping. I've uploaded a small video of my current shuffle setup (displaymenu only) and you can check the fast browsing part near the end (around 08 secs).

Video Link: https://youtu.be/rb4ttP4QKq4

PS: A shout out to @jedione too, it was his theme which helped a lot in figuring out the image part!

Looks very nice! I noticed that your indexing seems very quick. If you hold down the next game control, does it continue to index until the end of the list?
3
rule                 Control contains joystick

I assume you could substitute „joystick“ for „trackball“. If it does not work, use mame to generate xml list and check what the spelling is on that xml tag.
4
General / How to set up a new "Trackball Games" category/screen?
« Last post by nullvalue on Today at 07:22:31 PM »
I'm very new to attract mode. I started with an image which was already set up very well. A bunch of categories are already configured for each emulator, then there are a number of categories which pull a list with ROMs from different emulators such as "Fighting Games" and "Zelda Games". I would like to add a new category for "Trackball Games" and select which ROMs are in that list - but I'm not really sure where to start. I'm running on a Raspberry Pi. Any guides for doing something like this?
5
General / Re: Daily Windows Build available.
« Last post by dabone on Today at 06:49:20 PM »
Just saw this, trying to figure it out currently.


Later,
dabone
6
General / Re: Raspberry-Pi-MAME-Setup-Guide
« Last post by AdmiralSnackbar on Today at 03:18:26 PM »
This is great, thank you! I have a good part of my MAME set up but there are things listed in that tutorial I didn't know I could do or will be doing. I'll let ya know if I think of anything else for it.
7
General / Re: Screensaver showing black screen
« Last post by AdmiralSnackbar on Today at 02:50:47 PM »
Yeah I assumed there was a safety around those variables. I can't assume that sort of thing with a system I'm not familiar with. That was completely my bad but a good learning experience. Perhaps I can go into the code and add those safeties to keep others from running into the same issue. I need to learn more of the actual code behind it.
8
Scripting / Know the width of a listbox item when using magic tokens?
« Last post by Bgoulette on Today at 02:19:38 PM »
Hey all,

I'm using magic tokens in the entries for a listbox. Mostly just so I can force them to uppercase. But it got me thinking...

I don't want to have to use the smallest common denominator when choosing char_size based on the longest title in my list. Initially, I added a block in my function that chopped off anything over x characters and appended an ellipsis character. It works, but because proportional fonts means, say, a string 50 Ms would be wider than a string of 50 Is (for example), that approach left me with a weird case where an entry with plenty of space left over might get the ellipsis treatment. Clear as mud? Sorry! I'll attach a picture to show what I'm talking about.

I know there's a "msg_width" property for fe.Text instances, but a) is it accessible from fe.Listbox instances, and b) is it accurate? I searched and found another post where the indication was that it wasn't quite up to snuff. If those properties are barking up the wrong tree, does anyone have any other suggestions on how to accurately gauge the width of a non-word-wrapped list item? Thanks!
9
Scripting / Re: shuffle-module: First official release
« Last post by jedione on Today at 09:54:29 AM »
word..that looks so clean....bro
10
Scripting / Re: shuffle-module: First official release
« Last post by rand0m on Today at 06:18:16 AM »
Taken from the readme is an example with three text objects. They are passed as an array to the class constructor. The index of these objects is handled by the class. You place or style the objects however.

You could create 12 text objects with Title as a magic string. Position them in a visually stacked manner. Extend the class select function to make object bold. Now you can see which object is selected. It should operate similar to attract’s built in listbox object, but allows for much more freedom.

Best I can do on iPhone until Saturday. Feel free to hit me up on discord if you need to.

Thanks a lot Keil, I finally got both the text and images working with the new version (1.0) of shuffle :D. I will now try my luck shuffle on larger lists following your suggestions.

I think fast browsing is working in shuffle, though my list (of 5 items) seems to be too short for the fast browsing option of AM to be truly noticeable as it reaches the end too fast and (like AM) stops at the last item before looping. I've uploaded a small video of my current shuffle setup (displaymenu only) and you can check the fast browsing part near the end (around 08 secs).

Video Link: https://youtu.be/rb4ttP4QKq4

PS: A shout out to @jedione too, it was his theme which helped a lot in figuring out the image part!
Pages: [1] 2 3 ... 10