RetroFE forums

Artwork & Layouts => Help => Topic started by: bactino on September 21, 2018, 10:15:16 PM

Title: Helps please firstLetter
Post by: bactino on September 21, 2018, 10:15:16 PM
hello I have a question
nobody would have a tutorial to add the first letter
I have the last version of retrofe
I created a fixed alphabet and one with each separate letter
 it I have no knowledge in the coding in the layout
if a person would have the lines of code to add to the layout
it would really help me a lot


(https://www.zupimages.net/up/18/38/2ft5.png)
Title: Re: Helps please firstLetter
Post by: Pieter Hulshoff on September 22, 2018, 05:27:38 PM
Doing this from memory and on my phone, so there may be a few errors in here:

<reloadableImage type="firstLetter" mode="common" x="center" y="center" xOrigin="center" yOrigin="center" width="800" maxHeight="200" alpha="1" menuScrollReload="true"/>

Files are expected in collections/_common/medium_artwork/firstLetter

Sent from my SM-G950F using Tapatalk

Title: Re: Helps please firstLetter
Post by: bactino on September 22, 2018, 07:44:24 PM
Doing this from memory and on my phone, so there may be a few errors in here:

<reloadableImage type="firstLetter" mode="common" x="center" y="center" xOrigin="center" yOrigin="center" width="800" maxHeight="200" alpha="1" menuScrollReload="true"/>

Files are expected in collections/_common/medium_artwork/firstLetter

Sent from my SM-G950F using Tapatalk



I tried it does not work when you will be on your pc and you have the line of code you can send it to me when you have time please?
Title: Re: Helps please firstLetter
Post by: bactino on September 22, 2018, 08:53:05 PM
Doing this from memory and on my phone, so there may be a few errors in here:

<reloadableImage type="firstLetter" mode="common" x="center" y="center" xOrigin="center" yOrigin="center" width="800" maxHeight="200" alpha="1" menuScrollReload="true"/>

Files are expected in collections/_common/medium_artwork/firstLetter

Sent from my SM-G950F using Tapatalk



I tried it does not work when you will be on your pc and you have the line of code you can send it to me when you have time please?


<reloadableImage type="firstLetter" mode="common" x="939" y="1008" xOrigin="910" yOrigin="30" width="center" maxHeight="30" alpha="1" layer="12" menuScrollReload="true"/>

I managed thanks to you I still have a little problem when I leave the game selection menu the letter appears 2 seconds on the main menu

what should I do for not that it appears on the main menu?
Title: Re: Helps please firstLetter
Post by: Pieter Hulshoff on September 22, 2018, 11:44:59 PM
Add an animation to make it invisible when you leave the games menu. Iím rather busy this weekend, but Iíll see what I can do soon. My own theme for my arcade machine uses something similar.


Sent from my iPad using Tapatalk
Title: Re: Helps please firstLetter
Post by: bactino on September 23, 2018, 01:01:58 PM
I found the solution thank you for your help
<!---------------------------------->
<!-- firstLetter -->
<!---------------------------------->
<reloadableImage type="firstLetter" mode="common" menuScrollReload="true" x="939" y="1008" xOrigin="910" yOrigin="30" width="center" maxHeight="30" alpha="1" layer="11">
<onExit>
            <set duration=".10">
                <animate type="alpha" to="0" algorithm="easeinquadratic"/>
            </set>
        </onExit>
        <onMenuEnter menuIndex="!0">
            <set duration=".10">
                <animate type="alpha" to="1" algorithm="easeinquadratic"/>
            </set>
        </onMenuEnter>
        <onMenuExit menuIndex="!0">
            <set duration=".10">
                <animate type="alpha" to="0" algorithm="easeinquadratic"/>
            </set>
        </onMenuExit>
        <onHighlightEnter menuIndex="!0">
            <set duration=".10">
                <animate type="alpha" to="1" algorithm="easeinquadratic"/>
            </set>
        </onHighlightEnter>
        <onHighlightExit menuIndex="!0">
            <set duration=".10">
                <animate type="alpha" to="0" algorithm="easeinquadratic"/>
            </set>
        </onHighlightExit>
        <onGameEnter menuIndex="!0">
            <set duration=".15">
                <animate type="alpha" to="0" algorithm="easeinquadratic"/>
            </set>
        </oneGameEnter>
        <onGameExit menuIndex="!0">
            <set duration=".10">
                <animate type="alpha" to="1" algorithm="easeinquadratic"/>
            </set>
        </oneGameExit>
    </reloadableImage>