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

Pages: 1 2 [3] 4 5 6
31
General / Re: POLL: What system are you running Attract Mode on?
« on: August 08, 2019, 01:26:36 PM »
Hi! for me.....Raspberry forever.

https://youtu.be/6UHoO6Lha08

and https://youtu.be/-BTjUmI8SLg

This. Looks. Amazing!! You should seriously start a kickstarter campaign and get some sort of patent and sell these things! I'd spend $1,000 for one if I had the money!

32
Themes / Re: Listbox Animation in a layout (animate.nut question)
« on: August 07, 2019, 04:26:35 PM »
I have already solved it, you just had to add a new list option and change transition options for when options.  8)

I’m new to coding but this is a great idea! Could you post the full working code please? :)

33
Just FYI, I noticed a minor issue with the ad video. A random ad video will play but it will just repeat the same video for one session. At least it seems this way - the same video played 3 times in a row. Anyone else run into this?

I already checked this option when writing the code for v0.9...

The only way I am aware of switching between ad videos is to reload the layout every time you play an ad. This will also reload any background music the layout might be playing at that moment.
This means that when you navigate the wheel and a song is playing in the background, when you reach a game with no snap video the layout will reload to play a random ad and the music background will reload as well. It's like a having a large scratch on your music CD  ;)

I might be wrong - I am not a know all Attract mode developer, but these are the limitations this front end has at the moment.

Yaron2019, great observations - thank you for filling me in - it’s sort of liberating to know we’ve hit the ceiling of AM purely based on creativity haha

Thank you for giving us the first stable build! How exciting! And thank you mGalaxy for inspiring us to creating a layout better than yours, for free :)

As I have free time, I will work on versions of this for other systems!

Thank you Yaron2019 and Takoni! You all are the best!

34
Just FYI, I noticed a minor issue with the ad video. A random ad video will play but it will just repeat the same video for one session. At least it seems this way - the same video played 3 times in a row. Anyone else run into this?

35
Update v0.9:

So I looked into your idea of playing ads when snap videos are not available. It's a little tricky because of the way squirrel scripts work, so I decided to give it a go myself. I hope you don't mind!

Check out the code in the static video section and at the end of the snap video section especially - squirrel plays the videos only AFTER it finished loading the script, so we need a function that works with transitions in real-time.

If Lava doesn't find any ads to play, it will default to the "static.mp4" video.

This release also includes the bug fixes from v0.8.1

Download the full Lava v0.9 theme from here:
https://mega.nz/#!wNMzlITZ!KRlqkoevG920JUQhG3Ua0PBfnerFQIMDgbaCzC5lGI4

I do not mind at all! Nice work!! I grinned from ear to ear as soon as I looked at that code =D good choice on the ads too lol

I don't really have any other crucial additions at the moment. I did have an idea for art placement for several different emulators. For example, I've been using this layout for SNES and so the artwork doesn't come out just right so I have to manually change the x/y/h/w to get it just right. In a perfect world, it would be cool to have x/y/h/w change depending on the emulator so that the boxart is always right. And the ads could be the same way - for an N64 emulator, ads around the year 1996 could play, and so on.

However - it might be more practical to just call this, idk, Takoni-NES or Takaron-NES (Takoni+Yaron), and then I can add SNES with the right boxart coordinates (and the ads too!) at a later time. Sort of how Robospin did it. Then we can hit Takaron-N64, 2600, SegaCD, you name it. I'm stuck on any particular names, just throwing out a few examples. :)

Btw, if anyone comes across code on how to have the layout stop the AM ambient music that's playing and then play the layout music instead that would be great. Right now, if I have ambient music playing on AM, it will play at the same time the layout music is playing - which is fine, I can just switch off the ambient music. But once I leave the layout, the music stops. Not a huge deal - I'm just always looking for ways to push things over-the-top.

Thanks a million as always!

36
Okay, I'm finally digging in and wow... Just wow. This is amazing, Yaron! Those 'options' I was going to add, you already added and did it wonderfully!

I'll be honest, I wasn't sure about displaying the game info and game count - but I actually really like it! And even if I didn't, you made it an option to not show it!

There really isn't much left to do. I'll probably try and add code for those that have their art in a "flyers" folder rather than a "boxart" folder. I'll still tinker with that old news videos idea, but that's not crucial really.

Thank you again for EVERYTHING!!!

37
Wow - thank you so much for all of the great work!! I didn’t even think to put the system logo on the TV but it looks really good there! I have a big test in a few days that I’m cramming for - after I’ll be able to really sink my teeth back into this again :) also, the music code is really impressive!! Thank you again!!!

Yeah, the music code is pretty neat IMO as well. Anyway, you're welcome.

If you already downloaded v0.8 please download it again - I found a small bug and fixed it.

Cheers

I'm gonna try and dig into this tonight if my kids let me lol I think what I'll try to do to optimize it is to make as much optional as I can without it being overwhelming to the user. The idea is to give the user control.

On a separate note, I'm going to keep working on using the music code as a baseline to implement a video code that plays a random news video of that era (80s, 90s, 00s) when there is no snap (instead of the static video). The problem I'm currently running into is that even when I switch to a game that has a snap, the news video will still play. The game snap is placed over the news video, but the news video audio continues to play. I'm thinking I need an additional 'if' statement that mutes the news video audio when a game snap is present. I'm not a natural coder, so it'll take some playing around. Some people might not even care about this feature, but I'm all for nostalgia and bringing the layout to life as much as possible.

I'll use the latest update as a baseline!

I remember running into a few issues with the code; my art is in a folder called "flyer" not "boxart'. Also, the clock is 2 hours fast for me. If no one else has these issues, then I will just leave them alone.

38
Update #8

- Removed the option for changing the number of entries in the list wheel - it misaligned the favorite-stars
- New, less intrusive and cleaner wheel background image
- Various small visual tweaks
- Bumped to version 0.8

I am happy with the status of this version and will not be releasing additional ones unless I find bugs or have a new great idea to add.

It was fun!  8)

Download full lava version 0.8 here:
https://mega.nz/#!cJVXWI5a!bVYlh_1-5UHtmX5WunaTGZ4m4EdZ2oFFBz8inYkuOQE

For good order, if you don't have them already, you can download the random wheel sounds from here and place them at your main Attract folder in a folder named 'sounds':
https://mega.nz/#!gJs0nQ7a!q4nYNGwxIa8Mo1mPJJ5t9HGJF58vkNe13rlNoNfl708


Screenshot of current state:

Wow - thank you so much for all of the great work!! I didn’t even think to put the system logo on the TV but it looks really good there! I have a big test in a few days that I’m cramming for - after I’ll be able to really sink my teeth back into this again :) also, the music code is really impressive!! Thank you again!!!

39
Ahh excellent attention to detail! Thank you for the updates!

Update 5:
-I added the extra lava lamp options (orange, blue) in the code - the mp4 files are in this thread, just add them to the layout folder.
-I also added a small vertical wheel - I plan on adding yet another one as well that has the list further to the right.
-I changed the color of the clock to match the little VCR symbol to the left of the clock. I also omitted "Time:". Feel free to change this back, it's all under R E L O J (CLOCK). I might try to add a "Clock Color" option at some point.

I like to give the user as many options as possible without it being overbearing.

Thank you guys for all the great work! :)

Good updates.
Do we still need the code of these sections?: 'LOGOS EMULATOR', 'ESTRELLA - AÑADE ICONO DE JUEGO YA EN FAVORITOS', ' Game name text'?

I want to stabilize the code and put us all on the same page.

That's a good question and probably one that Takoni could answer with more clarity. Personally, I think we could probably do without all of that or maybe make some of it an option like the 'LOGOS EMULATOR'.

Also, I wanted to clarify on the update I posted; I changed additional code under the clock:

"hora= format("%02d", now.hour+2 );"
to
"hora= format("%02d", now.hour );"

removing the "+2" at the end because it made my clock 2 hours faster. If someone's clock is 2 hours slow than the time zone in raspi-config has mostly likely not been configured. If the clock is 2 hours slow, then Tokyo would be the time zone to select in raspi-config. That, or I'm missing something that I'm not seeing haha I doubled check on my Pi to make sure my time zone was accurate.  :)

40
Ahh excellent attention to detail! Thank you for the updates!

Update 5:
-I added the extra lava lamp options (orange, blue) in the code - the mp4 files are in this thread, just add them to the layout folder.
-I also added a small vertical wheel - I plan on adding yet another one as well that has the list further to the right.
-I changed the color of the clock to match the little VCR symbol to the left of the clock. I also omitted "Time:". Feel free to change this back, it's all under R E L O J (CLOCK). I might try to add a "Clock Color" option at some point.

I like to give the user as many options as possible without it being overbearing.

Thank you guys for all the great work! :)

41
Yaron2019, asahendrix: thank you both, thank you for insisting on finishing this work, and thanks for the work the time and know-how in code, because of you this "AM Layout´s world"  is nice to be in

Thank YOU for starting this wonderful project and for your excellent graphical work! I'm just trying to keep up haha

42
So I figured out why my dimensions weren’t working - they were configured for only 6 wheels. I’m gonna work on configuring the rest so the list can be expanded. Here is a video:

https://youtu.be/1DzQmo1LS4w

PS: you can see a preview of the Atari 2600 layout that I’m working on. 🙂

The Atari look awesome! Who's doing the 3D art?

Per Takoni, a lot of 3D art can be found at artstation.com - here is a link to the Atari art: https://www.artstation.com/artwork/lqD9k - I need to put in credit to the artists in the code.

And thank you for the updates and the boxart code! I'm so glad this project is picking up steam now! :)

43
Scripting / Video Shuffle Instead of Static
« on: July 18, 2019, 10:30:06 PM »
Greetings all,

      I’m trying to substitute the static.mp4 for old news footage. I’ve switched out the files in the layout.nut but the problem is, the news audio continues to play even when I navigate to a game that has a snap. Do any of you know code that will mute the news video once a game with a snap is highlighted? I’m guessing there is an “if” statement that belong somewhere.

Additionally, I’d like to have a video shuffle - so that if a snap is not present, a random video will play. I already have code for doing this with songs - I just need code for video.

As always, thank you all for your help! I’m working on something pretty spectacular 🙂

44
So I figured out why my dimensions weren’t working - they were configured for only 6 wheels. I’m gonna work on configuring the rest so the list can be expanded. Here is a video:

https://youtu.be/1DzQmo1LS4w

PS: you can see a preview of the Atari 2600 layout that I’m working on. 🙂

45
Well, apparently a few days have gone by  ;) and I have added the code for a wheel, vertical wheel and list. It works very well but I leave it up to you to edit it and bring it to your preference (especially the list). I did not add code to make the wheel/list bigger or smaller at this stage because I am not sure it is needed and it may require a lot of work - not sure. I left you a link to AM's listbox online help in the list section of the code - search for "Takoni" or "asahendrix" in the script. AM's listbox has a lot of options and parameters so take a look.

Also, I added a lot of options in the layout menu so check them out as well.

asahendrix - I tried using the code you posted but it kept doing weird things and I thought it will be better to just add code that I know works and not try to debug. If I am not mistaken, the wheel code you posted is from Robospin, not Ol'Room. I prefer this code as well anyway.

A visual suggestion: Maybe it will be good to move the left dinosaur to the left side of the TV and then move the boxart to where that dino was (to the right of the TV). This way, the boxart has a free place to be presented, it will not block the console and you can even enlarge it.


Download link - add the included files to your lava layout folder:
https://mega.nz/#!FINiUQ5A!eKrhuDjuomd1d33spBujJhKIJpDSMiEeJH3r0ReGWzM

Here are 4 screenshots of how it looks at this moment:

WOW THIS IS AMAZING THANK YOU!!!!! Yeah you're right, Robospin - idk what I was thinking haha! I can't wait to tinker!

I think you're right about the dino. Honestly, I'd be okay with removing the dinosaur entirely. Either way, the upright NES games next to the TV will need to graphically edited...

@Takoni, you're good with graphics - do you think you could remove the dino or put the dino to the left of the TV and touch up the background image?

On a side note - and maybe this is a reach - but I think it would be cool, at some point, to have NES in the background changed to a SNES or an Atari 2600 or whatever the emulator is. Also, the upright games I was talking about could be games that correspond to the selected emulator. Just a thought!

Thank you again Yaron2019!!!!

You are welcome!
Wait, look at the box on the TV now that it is not so bright - I darkened it via the script.. It looks natural there! idk, I like it!

I'm actually quiet pleased with this - what code did you use to do this? I can't help but notice how bright my boxart is now haha!

Pages: 1 2 [3] 4 5 6