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

Pages: [1]
1
Help / Re: Flashing Image
« on: July 03, 2021, 11:08:43 PM »
Got it! Used the code below & works like a charm. Thanks again!

<image src="images/buttons.png" x="0" y="950" height="50" alpha="1" width="stretch" layer="3">
  <onIdle>
    <set duration="2">
      <animate type="alpha" from="1" to="0.1" algorithm="easeinquadratic"/>
    </set>
    <set duration="1">
      <animate type="alpha" from="0.1" to="1" algorithm="easeinquadratic"/>
    </set>
  </onIdle>
</image>

2
Help / Re: Flashing Image
« on: July 03, 2021, 05:51:43 PM »
Ok I'll see if I can figure this out. I thought one could only use animations on reloadable images that are named the same as the rom/game. I'm a total newb to coding and xml so sorry if I'm asking a super obvious question! Thanks!

3
Help / Flashing Image
« on: July 03, 2021, 01:15:02 AM »
I would like to place an arrow that flashes on/off (to call the players attention to something) on the layout. Tried using an animated gif but that doesn’t seem to work so is there another way to mimic an animated ON//OFF image?

4
General Discussion & Help / Re: Help with Layout.xml
« on: June 26, 2021, 11:36:26 PM »
That did it! Just had to adjust the duration so it was longer and now the image stays hidden. Thanks for the help!

5
General Discussion & Help / Re: Help with Layout.xml
« on: June 26, 2021, 10:43:42 PM »
Thanks Pieter. Just to make sure I understand what you're saying/asking.... I should find the longest onGameEnter animation in the entire layout.xml and make the duration on my new onGameEnter take as long (in my case the longest onGameEnter duration is "1")? If that's what you mean I'll give it a shot!

That doesn't matter. When the onGameEnter animation is finished, it will continue with idle animations unless the game started, and does so individually for each element on screen. Just match the duration of the animations, and I think you can prevent this from happening. How long do the other onGameEnter animations last?

6
General Discussion & Help / Re: Help with Layout.xml
« on: June 23, 2021, 04:39:16 PM »
Yes there are additional instances of onGameEnter & onGameExit in the rest of the layout BUT they are handling images on different monitors so this is the only section of the layout.xml making changes to Monitor 2.

Do you have any other onGameEnter animations in the layout by chance?

Sent from my SM-G950F using Tapatalk

7
General Discussion & Help / Re: Help with Layout.xml
« on: June 21, 2021, 11:22:37 PM »
Thanks. Tried that but although it hides the image momentarily it appears back again immediately and it seems to be because the <onMenuIdle> event turns it back on.

8
General Discussion & Help / Help with Layout.xml
« on: June 21, 2021, 02:55:36 PM »
I would like to "hide" an image when a game starts (ongamestart) but I haven't been able to figure out the code to make that work. This is the section of my existing layout.xml that loads the image so could someone reply w/ what code I need to add so that the image is not visible (alpha=0) while the game is running? Thanks!


<reloadableImage type="topper" mode="Layout" monitor="2" alpha="1" y="1500" x="center" xOrigin="center" yOrigin="center" height="1800" width="1000" layer="1">
<onMenuIdle >           
<set duration="1.0">               
<animate type="alpha" to="1" algorithm="easeinquadratic"/>           
</set>       
</onMenuIdle >
<onMenuScroll >           
<set duration="0.2">               
<animate type="alpha" to="0" algorithm="easeinquadratic"/>
</set>       
</onMenuScroll > 
 </image>

Pages: [1]