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

Pages: [1] 2 3 ... 7
1
Scripting / Re: Sound on Button Push
« on: February 18, 2018, 01:29:00 AM »
Happy it worked out for you :)

2
Scripting / Re: Sound on Button Push
« on: February 17, 2018, 01:07:21 AM »
Otherwise this should work:


fe.add_signal_handler(this, "on_signalinfo");
function on_signalinfo(signal) {
   if ( signal == "custom1" ){
      local Wheelclick = fe.add_sound("selection.mp3")
           Wheelclick.playing=true
      return true;
   }
   return false;
}

3
Scripting / Re: Sound on Button Push
« on: February 17, 2018, 12:51:10 AM »
I think what you do might trigger Transition.ToNewList:

////////////////
//Sound effects
////////////
function fade_transitions( ttype, var, ttime ) {
 switch ( ttype ) {
  case Transition.ToNewSelection:
   local Wheelclick = fe.add_sound("Click.mp3")
         Wheelclick.playing=true
  break;
  case Transition.ToGame:
  case Transition.ToNewList:
   local Wheelclick = fe.add_sound("selection.mp3")
         Wheelclick.playing=true
  break;
  }
 return false;
}

4
Great! :) Is animate2 a drop in replacement or do I have to make changes in order to use it instead of the old animate module?

5
Scripting / Re: Help needed! I'm having a problem with slowdown on my theme
« on: February 07, 2018, 08:34:03 AM »
You can also use fadeart for a smooth fade

local vid = FadeArt( "video", flx*0.2, fly*0.18, flw*0.5, flh*0.65);

6
Scripting / Re: Help needed! I'm having a problem with slowdown on my theme
« on: February 07, 2018, 08:31:33 AM »
Or in your case vid.trigger = Transition.EndNavigation;

You should do the same with the rest of the art aswell:

flyer.trigger = Transition.EndNavigation;

7
Scripting / Re: Help needed! I'm having a problem with slowdown on my theme
« on: February 07, 2018, 08:29:16 AM »
Add this for your videosnap

snap.trigger = Transition.EndNavigation;

Then the video will only change when you stop scrolling.

8
Themes / Re: HyperPie2 Theme [Preview]
« on: January 30, 2018, 01:57:53 PM »
A quick demo of some box and cart art animations plus a function to swap between game description, front, and back boxart:

https://youtu.be/UDZKMsNvmm8

9
General / Re: Mac and Ubuntu builds?
« on: January 25, 2018, 01:39:43 AM »
Thanks! However that file seems to be corrupted. I can't open it with 7zip

10
General / Re: How to update Attract Mode on a PC Setup?
« on: January 23, 2018, 04:59:58 AM »
Hey guys,

I just wanted to know how to safely update Attract Mode from 2.2.1 to 2.3 on a PC? Is it as simple as copying over the main executable file and replacing the current one?

Cheers,

Dylan

Yup :)

11
General / Re: Mac and Ubuntu builds?
« on: January 22, 2018, 05:51:00 AM »
Hi, anyone got up to date Mac and Ubuntu builds that they can share?
PLease do! Themes like Silky require AM 2.3 and above :)

12
Themes / Re: SILKY Theme v0.6.9 beta
« on: January 20, 2018, 02:32:00 AM »
Hey Oomek, another coding question for you.

Is it possible to make the gamelist transparent? I noticed it's transparent briefly when it slides in or out, but then it becomes opaque when you scroll thru the list of games. I think it would look cool seeing the flyers change under the list of titles.

I tried playing with some stuff in layout.nut, but as usual I don't know what I'm doing so didn't figure it out.

You need to change the opacity value for the animations. Look for lines similar to this (there are multiple, one for each transition):

gameListBoxAnimA.from = 0
gameListBoxAnimA.to = 255

And change 255 to something lower like 200.

Or you can make it an option in layout config:

   </ label="List Box Opacity", help="Set List Box Opacity. 255 is equal to no opacity", options="100,200,255", order=16 /> ListBoxOpacity="255";   

local ListBoxAlpha = my_config["ListBoxOpacity"].tointeger();

then instead of 255 just set ListBoxAlpha:

gameListBoxAnimA.from = 0
gameListBoxAnimA.to =  ListBoxAlpha

13
General / Re: After update, black screen.
« on: January 19, 2018, 04:44:48 AM »
I guess you have a HyperPie or Motion blue based image? The update script is not part of Attract Mode and the update procedure has changed since that script was made. Follow the wiki here to update on Pi.

https://github.com/mickelson/attract/wiki/Compiling-on-the-Raspberry-Pi-%28Raspbian-Jessie%29

14
General / Mac and Ubuntu builds?
« on: January 19, 2018, 04:36:17 AM »
Hi, anyone got up to date Mac and Ubuntu builds that they can share?

15
Themes / Re: My first theme! Smooth grid :) [Preview]
« on: January 16, 2018, 07:13:28 AM »

Pages: [1] 2 3 ... 7