Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Request: Display text and images rotated to any angle: EmulationStation



  • Hello,

    I have an idea for an addition to EmulationStation .
    I was wondering if it would be feasible to add the ability to display graphics and text (including metadata and gamelist) rotated to an angle specified within the theme xml?

    For example, in each element you would have something like this:

    <angle>33</angle>

    And the text/image would be drawn rotated to the specified angle.

    This could allow for some very interesting layout options.



  • Good news. I actually implemented this recently as part of a bigger feature I have been working on. I think it needs ability to specify the rotation point. The current behavior is to rotate around the upper left corner of the element. Ideally, it should be configurable.



  • @jdrassa said in Request: Display text and images rotated to any angle: EmulationStation:

    Good news. I actually implemented this recently as part of a bigger feature I have been working on. I think it needs ability to specify the rotation point. The current behavior is to rotate around the upper left corner of the element. Ideally, it should be configurable.

    That's fantastic. Yes, specifying the rotation origin would definitely be beneficial.
    I'm really curious what else you're working on now....

    I had a couple of other ideas I was wondering about as well.

    The first idea kind of ties into the z-indexing and would help enhance it's uses. Would it be possible to specify a blend mode to be used? I believe you can have 'additive blending' and 'color modulate' in sdl - correct me if I'm wrong (I think they correspond to 'screen' and 'multiply' in photoshop). That would open up the possibility of lots of cool effects.

    The other thing I was wondering about is whether it's possible to add support for full color fonts? This could be either in the form of old fashioned bitmap/sprite based fonts (possibly easier for the average user to create) or the newer OpenType-SVG. I appreciate this is probably a big ask but I just thought how cool a gamelist would look with a full color artistic font.



  • @ruckage said in Request: Display text and images rotated to any angle: EmulationStation:

    The first idea kind of ties into the z-indexing and would help enhance it's uses. Would it be possible to specify a blend mode to be used? I believe you can have 'additive blending' and 'color modulate' in sdl - correct me if I'm wrong (I think they correspond to 'screen' and 'multiply' in photoshop). That would open up the possibility of lots of cool effects.

    This seems like it could be pretty straightforward to implement, but I would need to research it some to make sure I fully understood how the different functions work so I could test it.

    @ruckage said in Request: Display text and images rotated to any angle: EmulationStation:

    The other thing I was wondering about is whether it's possible to add support for full color fonts? This could be either in the form of old fashioned bitmap/sprite based fonts (possibly easier for the average user to create) or the newer OpenType-SVG. I appreciate this is probably a big ask but I just thought how cool a gamelist would look with a full color artistic font.

    This is probably a bigger task. It might be able to build off of the existing SVG support.



  • @ruckage just wanted to give you a heads up. I have finally wrapped up adding rotation support for themes. You can read about it here


Log in to reply
 

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.